Re: [exim] Blocking Email Addresses

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: John Hall
Fecha:  
A: exim-users
Asunto: Re: [exim] Blocking Email Addresses
On 31/10/2007, Matt <lm7812@???> wrote:

> > deny local_parts = /some/file


> 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.


Try a stanza like this:

  deny recipients = lsearch;/etc/virtual/blocked_email
       message = Email account suspended due to inactivity


Cheers,
John