OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Invalid address and bounce from Exchange

From: Eray Aslan (eray.aslancaf.com.tr)
Date: Thu Feb 01 2007 - 04:44:56 CST


Eray Aslan wrote:
> As far as I can tell, RFCs allow empty local part as quoted null string.
> Even if it is technically correct, should we allow empty local parts in
> email address in the form of example.com? Certainly, it not
> deliverable. Or is Exchange at fault here and I should solve this by a
> regexp in check_sender_access?

For the record, I added the following to the main.cf:

smtpd_recipient_restrictions =
...
check_sender_access regexp:/etc/postfix/empty_local
...

/etc/postfix/empty_local:
        /^.+/ REJECT No empty local part in email addresses please

Any caveats I should be aware of?

--
Eray