Re: [exim] strange spam

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Lena
Datum:  
To: exim-users
Betreff: 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.