[Exim] Converting Directors to ACL conditions

Página Inicial
Delete this message
Reply to this message
Autor: Odhiambo G. Washington
Data:  
Para: exim-users
Assunto: [Exim] Converting Directors to ACL conditions
Hello List,

This is a bit long but please bear with me. If you'd rather not read to the end,
then the question is:

How do I convert the router (exim 4) to ACLs in acl_check_recipient?? That is,
if that is acceptable.

Long time ago (sorry, I mean in the recent past), the following 'directors' used
to work (Exim-3).


bounce_spam_personal:
driver = smartuser
senders = /home/$local_part/.bouncelist
require_files = /home/$local_part/.bouncelist
new_address = :fail: "\"$local_part\" in domain \"$domain\" thinks you are a spammer"



Now things have changed and more efficient ways devised (Exim-4). I used convert4r4 and
got them converted to 'routers':


bounce_spam_personal:
driver = redirect
allow_defer
allow_fail
data = :fail: "\"$local_part\" in domain \"$domain\" thinks you are a spammer"
require_files = /home/$local_part/.bouncelist
retry_use_local_part
senders = /home/$local_part/.bouncelist


Not all user's have a .bouncelist (though I know it's possible to do in 1 minute),
and as such when exim encounters a user whose $HOME/ has no .bouncelist, it fails
at that point. I'd like it to continue and deliver if the file doesn't exist.


Thanks in advance.


-Wash

--
Odhiambo Washington  <wash@???>    "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com      Windows 95, NT, or better,'
Tel: 254 2 313985-9   Fax: 254 2 313922     so I installed FreeBSD."
GSM: 254 72 743 223   GSM: 254 733 744 121  This sig is McQ!  :-)



In English, every word can be verbed. Would that it were so in our
programming languages.