OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
How to suppress or fill in AUTH=<> on MAIL TO: in authenticated SMTP?

From: Frans Maas (fransdatapolish.com)
Date: Mon Sep 03 2007 - 11:55:13 CDT


At this moment I am stuck in getting a Postfix -> Exchange relay config to
work.

Have switched on debugging in Postfix:
In master.cf added -v as in: smtp unix - - n - - smtp -v

Postfix does proper authentication:
< 235 2.7.0 Authentication successful.

Then I get this sequence:
> MAIL FROM:<fransdatapolish.com> SIZE=1270 BODY=8BITMIME AUTH=<>
< 250 2.1.0 fransdatapolish.com....Sender OK
> RCPT TO:<newbie.datapolishgmail.com> ORCPT=rfc822;newbie.datapolishgmail.com
< 250 2.1.5 newbie.datapolishgmail.com
> DATA
< 354 Start mail input; end with <CRLF>.<CRLF>
> Hello world!
> .
> QUIT
< 454 5.7.3 Client does not have permission to Send As this sender.

I have been replaying this with telnet to find the offending item.
It appears to be the AUTH=<> at the end of the MAIL FROM command.
When I leave this out, or replace it with AUTH=<fransdatapolish.com>,
everything works fine.

My problem now is to configure Postfix do the same!
Do you have any suggestion?
I have looked around quite a bit on the Internet, but alas!

With kind regards,
--
Frans Maas
Data Polish ­ a clear view at the business
fransdatapolish.com - www.datapolish.com
tel: +31 (0)6 49872719 - fax: +31 (0)20 7543453
skype: fransmaas - gmail: franslmmaasgmail.com