[exim] ACL woes

Top Page
Delete this message
Reply to this message
Author: Craig Schneider
Date:  
To: exim-users
Subject: [exim] ACL woes
Hi Guys

I'm having some problems with my ACL's.

I'm trying to have user not in a flat text file to have the following
errors returned. Not sure if there is something wrong with my logic.

Any help would be appreciated.

c

Exim4.conf extract:
----------------------

acl_check_content:

#  deny message   = External email to this user is prohibited
#       condition =
${lookup{$recipients}lsearch{/etc/mail/no_external}{0}{1}}
#       !senders  = *@internal-domain1.com : *@internal-domain2.com


#  deny message     = You are prohibited to send external mail
#       condition   =
${lookup{$sender_address}lsearch{/etc/mail/no_external}{0}{1}}
#       !recipients = *@internal-domain1.com : *@internal-domain2.com


/etc/mail/no_external extract:
----------------------------------

priveledgeuser@???