Re: [exim] strange spam

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Lena
Date:  
À: exim-users
Sujet: 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.