|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: mouss (mouss
netoyen.net)
Date: Mon Mar 10 2008 - 04:12:35 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Alain Spineux wrote:
> Hello
>
> When I try to send email to a%b
example.com or a!b
example.com
> I get a Relay access denied
>
> Mar 10 04:00:26 eg01 <info> postfix/smtpd[13466]: NOQUEUE: reject:
> RCPT from localhost.localdomain[127.0.0.1]: 554 5.7.1
> <a%b
mydomain.loc>: Relay access denied; from=<asx
mydomain.loc>
> to=<a%b
mydomain.loc> proto=SMTP helo=<my>
>
> The virtual_map is working
>
> # postmap -q a%b
mydomain.loc ldap:/kolab/etc/postfix/ldapvirtual.cf
> asx
mydomain.loc
>
> and sending to any a?b
mydomain.loc where ? is another valid RFC 2822
> character works !
>
> On the other end, my postfix relay server accept to relay these
> addresses, but get an error when
> trying to forward them to the "destination" one
>
> My analysis is that maybe the ldap part in postfix refuse to manage
> addresses including these characters,
> probably to prevent abuse or exploit.
>
> Any comment on how to handle these addresses correctly ?
>
>
you may want to read
http://www.postfix.org/postconf.5.html#allow_untrusted_routing
http://www.postfix.org/postconf.5.html#allow_percent_hack
http://www.postfix.org/postconf.5.html#swap_bangpath
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]