[exim] error configuring exim

Top Page
Delete this message
Reply to this message
Author: enediel gonzalez
Date:  
To: exim-users
Subject: [exim] error configuring exim
Hello
I have debian with exim4, this server is the relay for a domain, on it we
have antispam and antivirus tools.

I know all the available accounts for the domain, and I need to filter all
the spams received with an invalid destination in this domain, it's not
necessary for the internal server to receive these emails.

on /etc/exim4/exim4.conf.template I have
#***************************************
.ifndef MAIN_ACL_CHECK_RCPT
MAIN_ACL_CHECK_RCPT = acl_check_rcpt
.endif
acl_smtp_rcpt = MAIN_ACL_CHECK_RCPT
#***************************************

I found
#****************************************
acl_check_rcpt:

   deny
    !acl = acl_whitelist_local_deny
    recipients = ${if exists{CONFDIR/local_rcpt_callout}\
                            {CONFDIR/local_rcpt_callout}\
                      {}}
    !verify = recipient/callout


#***************************************************

I created the file /etc/exim4/local_rcpt_callout with one line

account1 : account2 : account3


where accountx are valid account on the domain in this form
accountx@domain

I restarted the exim but still it forwards the invalid emails to the
internal server.
I'd appreciate any help to help me find out my mistake.

Greeting
Enediel

Linux user 300141
Debian GNU/Linux