OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: "%" character in MAIL FROM??

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Wed Jan 18 2006 - 07:47:36 CST


On Wed, Jan 18, 2006 at 02:33:51PM +0100, Ralf Hildebrandt wrote:

> * lst_hoe01kwsoft.de <lst_hoe01kwsoft.de>:
>
> > Jan 18 13:15:43 web postfix/qmgr[26578]: 004CF51DC2:
> > from=<SRS0=PVEe=3O=k.st=jasonvor3%TEXT1%srs.kundenserver.de>,
> > size=2968, nrcpt=1 (queue active)
>
> Admittedly, the address LOOKS odd.

However odd it may look, it is fully RFC compliant. In fact
user%hostdomain, is legacy Sendmail source route syntax, and is even
supported by Postfix. This interpretation of the local-part is a local
matter, neither sanctioned, nor endorsed by the RFC.

This said, addresses of the form '%foodomain' or 'foo%domain' are
not recommended, because Sendmail compatible systems may experience
indigestion. They are never the less quite legal.

> > If they are correct how can Postfix (Version 2.2.8) be configured to
> > reject and if not where do i find the reference in the RFC.
>
> Use a regexp/pcre check_sender_access map:
>
> /%/ 554 Huh? Percent?
>

No. This is way too strict, and *will* block legitimate email.

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.