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
> deny local_parts = /some/file
>
> should do, I would think.


That did not work but this did.

# deny email addresses listed in file
deny recipients = lsearch;/etc/virtual/blocked_email

But it gives a bounce error like so:

Technical details of permanent failure:
PERM_FAILURE: SMTP Error (state 13): 550 Administrative prohibition

I would rather have an error that said something like "email account
suspended due to inactivity". Or something that implies it was
shutdown because it has not been used in say 6 months.

Anyway to do that?

Matt