Re: [exim] Blocking Email Addresses

Top Page
Delete this message
Reply to this message
Author: Exim Mailing List
Date:  
To: exim-users
Subject: Re: [exim] Blocking Email Addresses
On Fri, Nov 02, 2007 at 12:42:27PM +0000, Drav Sloan wrote:
> John Hall wrote:
> > Try a stanza like this:
> >
> >   deny recipients = lsearch;/etc/virtual/blocked_email
> >        message = Email account suspended due to inactivity

>
> This will also bounce emails to valid accounts, if the email has
> multiple recipients one of which is in your list.
>
> Just FYI.


No it wont, if the above stanza is placed in the RCPT ACL.

The recipients condition only triggers on the recipient being
processed in that particular RCPT TO command.

We use the above equivalent stanza at rcpt time and it works fine.

--
Dean Brooks
dean@???