OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
about the use of characters "%" and "!" in email address

From: Alain Spineux (aspineuxgmail.com)
Date: Sun Mar 09 2008 - 22:43:19 CDT


Hello

When I try to send email to a%bexample.com or a!bexample.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%bmydomain.loc>: Relay access denied; from=<asxmydomain.loc>
to=<a%bmydomain.loc> proto=SMTP helo=<my>

The virtual_map is working

# postmap -q a%bmydomain.loc ldap:/kolab/etc/postfix/ldapvirtual.cf
asxmydomain.loc

and sending to any a?bmydomain.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 ?

Regards

--
Alain Spineux
aspineux gmail com
May the sources be with you