Re: [exim] Blocking Email Addresses

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Matt
Dátum:  
Címzett: exim-users
Tárgy: 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