Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Re: Bracket in email adres

2006-10-29 by AIDA Shinra

At Sat, 28 Oct 2006 22:18:22 +0200,
manu@... wrote:
> 
> AIDA Shinra <shinra@...> wrote:
> 
> > http://www.j10n.org/files/milter-greylist-3.0rc6-dosfix.patch
> -email          {mailbox}"\@"{domainname}
> +domainliteral  "["([0-9.]+|IPv6:[0-9.:]+)"]"
> +email          {mailbox}"\@"({domainname}|{domainliteral})
> 
> That's a big change. I used the email definition from RFC822. There is
> no way to fix that without changing the email definition?

A possible workaround is to replace '[', ']' and ':' into '_'.

> > If we reject rare addresses like <(comment) "Quoted" @[1.2.3.4]>, it
> > can be fixed in simpler manner.
> 
> Is <(comment) "Quoted" @[1.2.3.4]> a valid address? 

Valid but RFC2822 reads:

  then the dot-atom form SHOULD be used and the
  quoted-string form SHOULD NOT be used. Comments and folding white
  space SHOULD NOT be used around the "@" in the addr-spec.

Therefore, we may assume that when a client includes comment or
quoted-string in MAIL FROM: or RCPT TO: the client will be a spammer.
In contrast, I can't find such a claim against domain-literal either
RFC2821 or RFC2822.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.