On Wed, 2009-10-21 at 09:07 -0400, Wietse Venema wrote: > ram: > > A lotus notes server of our clients in hugely misconfigured to send just > > a empty HELO. And we are supposed to relay mails for this client. > > > > I know getting the lotus admin to set his MTA is the right thing , but > > we for now I want to accept the null HELO > > > > how do I do this ? I already have smtpd_helo_required = no > > This requires one of the following: > > 1) A baseball bat, and a strong WHACK over the idiot's head. > Got the message. We sent one of our guys over ( not with a baseball bat though .. we rather play cricket here in India ).
Finally we convinced the client to let us configure their Lotus and set a proper hostname. Talk of wasting human resources .. Thanks Ram > 2) Changes to Postfix source code so that it accepts bad command > syntax. I would be willing to consider a change that runs every > inbound SMTP command through a regexp table so that you can specify > a PCRE expression like this: > > /^HELO\s*$/ HELO helo.invalid > > The replacement HELO command still contains useful information. > > This mapping would also solve problems that some people have with > clients that send incorrect MAIL FROM or RCPT TO addresses syntax. > > Similar mappings may solve problems with REMOTE SMTP server responses, > or with SMTP client or server outputs by Postfix itself. > > Wietse