Re: [exim] Whitelist?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Jakob Hirsch
Fecha:  
A: 'Exim-users'
Asunto: 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}}