RE: [exim] Filtering external mail on per user basis

Top Page
Delete this message
Reply to this message
Author: Ian Eiloart
Date:  
To: Craig Schneider, exim-users
CC: 
Subject: RE: [exim] Filtering external mail on per user basis


--On 7 October 2005 13:24:35 +0200 Craig Schneider <craigsc@???>
wrote:

> And to reverse the polarity>?
>
> accept
> message = External email to this user is not permitted
> recipients = /path/to/file


No, that doesn't reverse the polarity, unless it's followed by a reject all
acl. The test below is fairly cheap, so if you want to do more expensive
tests like sender verification callouts, they should follow that test.

You should do sender verification callouts after getting the recipient, so
that you can accept mail to postmaster.

> -----Original Message-----
> From: Tony Finch [mailto:fanf2@hermes.cam.ac.uk] On Behalf Of Tony Finch
> Sent: 07 October 2005 12:50
> To: Craig Schneider
> Cc: exim-users@???
> Subject: Re: [exim] Filtering external mail on per user basis
>
> On Fri, 7 Oct 2005, Craig Schneider wrote:
>>
>> I was wondering if it would be possible with Exim to only allow users
>> in a flat text file to be able to receive external mail?
>
>   reject
>     message = External email to this user is not permitted
>   ! recipients = /path/to/file

>
> Tony.
> --
> <fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
> N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
> \N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}




--
Ian Eiloart
Servers Team
Sussex University ITS