[exim] ACL woes

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Craig Schneider
Date:  
À: exim-users
Sujet: [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@???