That worked perfectly. Thanks! On Tue, Oct 14, 2014 at 1:48 PM, Noel Jones <njo...@megan.vbhcs.org> wrote:
> On 10/14/2014 3:32 PM, superstator . wrote: > > Hello! > > I have a poorly behaved voicemail system that I am trying to funnel > > through a postfix relay, and I haven't been able to get past the > > issue of the voicemail wanting to send a bare EHLO (no hostname > > supplied at all) at the beginning of every transaction. > > I started a question over at stackexchange about this > > ( > http://unix.stackexchange.com/questions/161901/disable-postfix-helo-checks-completely > ), > > and came to the conclusion that it's just not possible with postfix > > as is. > > > > Would this be worth considering as a new feature? It certainly > > wouldn't make sense as a default option, but as something one could > > deliberately enable it might be useful. What's the process if > > somebody wants to code a patch and submit it? > > > > Thanks! > > Adrian Black > > > It seems this must be some misconfiguration on the voicemail box, > but anyway... > > You can use smtpd_command_filter to hammer it into something > acceptable. Something like: > > # main.cf > smtpd_command_filter = pcre:/etc/postfix/smtpd_command_filter.pcre > > # smtpd_command_filter.pcre > # Work around brain-dead empty EHLO > /^EHLO$/ EHLO domain.invalid > > You might need to adjust the expression to match exactly what the > voicemail system sends. > > This feature is available in postfix 2.7 and newer. > > > > -- Noel Jones >