Re: [exim] strange spam

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Lena
Data:  
Para: 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.