Re: [exim] Blocking Email Addresses

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Matt
Data:  
Para: exim-users
Asunto: 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