Re: [exim] Blocking Email Addresses

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Matt
Date:  
À: exim-users
Sujet: 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