Re: [exim] strange spam

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Renaud Allard
Ημερομηνία:  
Προς: v.tolstov, exim users
Αντικείμενο: Re: [exim] strange spam


Vasiliy G Tolstov wrote:
> В Срд, 19/08/2009 в 11:52 +0200, Renaud Allard пишет:
>
>> Because RFC5321 (and 2821, 821) says so:
>>
>> Here is what RFC says (I removed useless parts):
>>
>> Reverse-path = Path / "<>"
>>
>> Path           = "<" [ A-d-l ":" ] Mailbox ">"

>>
>> A-d-l          = At-domain *( "," At-domain )
>>                ; Note that this form, the so-called "source
>>                ; route", MUST BE accepted, SHOULD NOT be
>>                ; generated, and SHOULD be ignored.

>>
>> At-domain      = "@" Domain

>>
>> Mailbox        = Local-part "@" ( Domain / address-literal )

>>
>> Local-part     = Dot-string / Quoted-string
>>                ; MAY be case-sensitive

>>
>>
>> Dot-string     = Atom *("."  Atom)

>>
>> Atom           = 1*atext

>>
>>
>> atext           =       ALPHA / DIGIT / ; Any character except controls,
>>                         "!" / "#" /     ;  SP, and specials.
>>                         "$" / "%" /     ;  Used for atoms
>>                         "&" / "'" /
>>                         "*" / "+" /
>>                         "-" / "/" /
>>                         "=" / "?" /
>>                         "^" / "_" /
>>                         "`" / "{" /
>>                         "|" / "}" /
>>                         "~"

>>
>> So, basically, you can have a valid mailbox like this (without quotes)
>> "/dev/null.{tricky}@???"
>>
>
>
> Thank You! Hm... But what is right condition to test local_part of the
> sender address ?
>


        deny
        local_parts     = ^.*[@%!|] : ^\\.



That's about it