Re: [exim] strange spam

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Lena
Fecha:  
A: exim-users
Asunto: Re: [exim] strange spam
> From: Renaud Allard

> > what is right condition to test local_part of the
> > sender address ?
>
>         deny
>         local_parts     = ^.*[@%!|] : ^\\.

>
> That's about it


There are valid addresses with ! and %
(though only in relayed mail, not for local mailboxes). So:

  deny    message       = Restricted characters in address
          domains       = +local_domains
          local_parts   = ^[.] : ^.*[@%!/|]
  deny    message       = Restricted characters in address
          domains       = !+local_domains
          local_parts   = ^[./|] : ^.*[@] : ^.*/\\.\\./


But "local_parts" is for testing recipient address (in rcpt ACL).
I don't test localpart of sender address at all.