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.

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

Reply via email to