Prev: Configuring Two Postfix mail servers behind HA Proxy loadbalancer.
Next: problem with virtual user mysql on deban lenny
From: Shredr on 2 Dec 2009 21:53 I have these in my main.cf smtp_always_send_ehlo = yes smtp_never_send_ehlo = no But when I send a test email, I get this in maillog: Dec 2 18:22:51 genre1 postfix/smtp[32265]: > exchange.x.net[x.x. 120.200]:25: HELO x.x.localdomain Dec 2 18:22:51 genre1 postfix/smtp[32265]: < exchange.x.net [165.212.120.200]:25: 250 exchange.x.net Hello [x.x.x.226] Dec 2 18:22:51 genre1 postfix/smtp[32265]: server features: 0x31000 size 0 Dec 2 18:22:51 genre1 postfix/smtp[32265]: > exchange.x.net[x.x. 120.200]:25: MAIL FROM:<x(a)x.localhost.localdomain> Dec 2 18:22:56 genre1 postfix/smtp[32265]: < exchange.x.net[x.x. 120.200]:25: 530 5.7.1 Client was not authenticated I know that if I use EHLO instead of HELO, the "AUTH LOGIN" is used and the email goes through. (I used smtp-cli to prove this). Is there a workaround so that postfix/smtp client ALWAYS uses EHLO instead of HELO? TIA.
From: Shredr on 3 Dec 2009 13:36
On Dec 2, 6:53 pm, Shredr <eduardo...(a)gmail.com> wrote: > I have these in my main.cf > smtp_always_send_ehlo = yes > smtp_never_send_ehlo = no > > But when I send a test email, I get this in maillog: > > Dec 2 18:22:51 genre1postfix/smtp[32265]: > exchange.x.net[x.x. > 120.200]:25: HELO x.x.localdomain > Dec 2 18:22:51 genre1postfix/smtp[32265]: < exchange.x.net > [165.212.120.200]:25: 250 exchange.x.net Hello [x.x.x.226] > Dec 2 18:22:51 genre1postfix/smtp[32265]: server features: 0x31000 > size 0 > Dec 2 18:22:51 genre1postfix/smtp[32265]: > exchange.x.net[x.x. > 120.200]:25: MAIL FROM:<x...(a)x.localhost.localdomain> > Dec 2 18:22:56 genre1postfix/smtp[32265]: < exchange.x.net[x.x. > 120.200]:25: 530 5.7.1 Client was not authenticated > > I know that if I use EHLO instead of HELO, the "AUTH LOGIN" is used > and the email goes through. (I used smtp-cli to prove this). > > Is there a workaround so thatpostfix/smtp client ALWAYS uses EHLO > instead of HELO? > > TIA. I figured it out. I had to add "smtp_pix_workarounds = " to main.cf to prevent postfix from using the PIX workaround which disables esmtp on the smtp relay server. |