Re: [Exim] Re: Blocking based on MAIL From:

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: John Horne
Fecha:  
A: exim-users
Asunto: Re: [Exim] Re: Blocking based on MAIL From:
On Wed, 2002-08-14 at 19:59, Derrick 'dman' Hudson wrote:
> On Wed, Aug 14, 2002 at 10:46:38AM +0300, sharun@??? wrote:
> | I want to block all mail with (offer|offers)@.* coming in MAIL From:
> | How ?
>
> Using exim4, put this in your rcpt acl.
>
>     deny    senders = offers?@.*
>             message = I don't want mail from "offer".

>

Three points I would add:

1) I would replace the regexp by '^offers?@' - this avoids rejects for
(e.g.) 'coffers', 'toffers', or whatever :-) Unless you want to block
just anything ending with 'offers?'.
2) To be recognised as a regexp it has to start with '^' - as far as I
remember.
3) I see little point in the '.*' on the end of the regexp.

John.

--
John Horne, University of Plymouth, UK       Tel: +44 (0)1752 233914
E-mail: jhorne@???
PGP key available from public key servers