Re: [exim] Whitelist?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jakob Hirsch
Ημερομηνία:  
Προς: 'Exim-users'
Αντικείμενο: Re: [exim] Whitelist?
j2 wrote:

> I am trying to put together a white-list for a few users, basically do an
> accept of the mail based on sender-email and recipient email via an
> sequential search in a flat file. But I can't get it to fly on my 4.41
> installation.


put together a file with "from@domain1: rcpt@domain2" lines and add
something like this in an early stage of your acl_check_rcpt ACL:

accept condition = ${if eq \
{${lookup {$sender_address} lsearch {/the/file} {$value}fail}} \
{$local_part@$domain}}