Re: [exim] Blocking Email Addresses

Inizio della pagina
Delete this message
Reply to this message
Autore: Matt
Data:  
To: exim-users
Oggetto: Re: [exim] Blocking Email Addresses
> > 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 tested it. Works perfectly. Sent message with multiple
recipients at same domain and the ones not in blocked_email went
through but blocked one did not and bounced with the desired error
message in bounce.

Matt