Re: [Evolution] SMTP, EHLO, and 502 response



tir, 23.12.2003 kl. 08.40 skrev Chad Brigance:

Evolution will not send mail.
I have 1.4.5 and 1.4.4 and have the same issues.
I tried using pre-compiled packages and compiling on my own.
Just because I'm paranoid, I re-loaded slackware 9.1.

The issue is this:

--- snip ---
220 smtp011.mail.yahoo.com ESMTP
EHLO sts.

250-myhappysmtp.server.com

--- snip ---

notice the extra line between 'EHLO' and the server's response.  
Evolution is putting the carriage return on the line BELOW the EHLO line. 

I can confirm that this also happens with Evo 1.4.5 on RedHat RHEL 3,
using localhost as mailserver. However, I've removed RH's standard
Sendmail and use self-compiled Postfix 2.0.16 snapshot. All clients on
the server relay through localhost:26 / billy.demon.nl:25 and may not
use external mailservers from inside $mynetworks.

I noticed what you report from the first day and was vaguely puzzled - I
keep a tail -f on Postfix's log. The actual Postfix log snippet from an
initial Evo transaction is below. Postfix doesn't throw out Evo, Evo
goes on to issue a normal EHLO and the rest of the conversation (smtp
DIGEST-MD5 AUTH and a normal rfc2822 transaction) happens without any
further "mistakes".

This does not happen when Mozilla 1.4.1 is used as client,  using
CRAM-MD5 AUTH, nor does it happen using SquirrelMail 1.4.2 with smtp and
DIGEST-MD5 AUTH.

Non-related. If anyone wonders why AUTH is being used on localhost, it's
because any user logged in with UID and password may relay to anywhere
from anywhere on the Internet - no-one else may. Also, Postfix 2.0.16
snapshot prevents them from changing their e-mail address once logged
in, and thus prevents e-mail forgery (don't want spammers or pranksters
relaying from my mailserver).

--Tonni


Dec 23 00:30:05 billy postfix/smtpd[4470]: connect from
localhost[127.0.0.1]
Dec 23 00:30:05 billy postfix/smtpd[4470]: match_hostname: localhost ~?
hash:/etc/postfix/maps/mynetworks(0,100)
Dec 23 00:30:05 billy postfix/smtpd[4470]: match_hostaddr: 127.0.0.1 ~?
hash:/etc/postfix/maps/mynetworks(0,100)
Dec 23 00:30:05 billy postfix/smtpd[4470]: >>> START Client host
RESTRICTIONS <<<
Dec 23 00:30:05 billy postfix/smtpd[4470]: generic_checks:
name=reject_non_fqdn_hostname
Dec 23 00:30:05 billy postfix/smtpd[4470]: generic_checks:
name=reject_non_fqdn_hostname status=0
Dec 23 00:30:05 billy postfix/smtpd[4470]: generic_checks:
name=permit_mynetworks
Dec 23 00:30:05 billy postfix/smtpd[4470]: permit_mynetworks: localhost
127.0.0.1
Dec 23 00:30:05 billy postfix/smtpd[4470]: match_hostname: localhost ~?
hash:/etc/postfix/maps/mynetworks(0,100)
Dec 23 00:30:05 billy postfix/smtpd[4470]: match_hostaddr: 127.0.0.1 ~?
hash:/etc/postfix/maps/mynetworks(0,100)
Dec 23 00:30:05 billy postfix/smtpd[4470]: generic_checks:
name=permit_mynetworks status=1
Dec 23 00:30:05 billy postfix/smtpd[4470]: > localhost[127.0.0.1]: 220
billy.demon.nl ESMTP Postfix
Dec 23 00:30:05 billy postfix/smtpd[4470]: watchdog_pat: 0x80d5b50
Dec 23 00:30:05 billy postfix/smtpd[4470]: < localhost[127.0.0.1]: ?????
Dec 23 00:30:05 billy postfix/smtpd[4470]: > localhost[127.0.0.1]: 502
Error: command not implemented
Dec 23 00:30:05 billy postfix/smtpd[4472]: connect from
localhost[127.0.0.1]
Dec 23 00:30:05 billy postfix/smtpd[4472]: match_hostname: localhost ~?
hash:/etc/postfix/maps/mynetworks(0,100)
Dec 23 00:30:05 billy postfix/smtpd[4472]: match_hostaddr: 127.0.0.1 ~?
hash:/etc/postfix/maps/mynetworks(0,100)
Dec 23 00:30:05 billy postfix/smtpd[4472]: >>> START Client host
RESTRICTIONS <<<
Dec 23 00:30:05 billy postfix/smtpd[4472]: generic_checks:
name=reject_non_fqdn_hostname
Dec 23 00:30:05 billy postfix/smtpd[4472]: generic_checks:
name=reject_non_fqdn_hostname status=0
Dec 23 00:30:05 billy postfix/smtpd[4472]: generic_checks:
name=permit_mynetworks
Dec 23 00:30:05 billy postfix/smtpd[4472]: permit_mynetworks: localhost
127.0.0.1
Dec 23 00:30:05 billy postfix/smtpd[4472]: match_hostname: localhost ~?
hash:/etc/postfix/maps/mynetworks(0,100)
Dec 23 00:30:05 billy postfix/smtpd[4472]: match_hostaddr: 127.0.0.1 ~?
hash:/etc/postfix/maps/mynetworks(0,100)
Dec 23 00:30:05 billy postfix/smtpd[4472]: generic_checks:
name=permit_mynetworks status=1
Dec 23 00:30:05 billy postfix/smtpd[4472]: > localhost[127.0.0.1]: 220
billy.demon.nl ESMTP Postfix
Dec 23 00:30:05 billy postfix/smtpd[4472]: watchdog_pat: 0x80d5b50
Dec 23 00:30:05 billy postfix/smtpd[4472]: < localhost[127.0.0.1]: EHLO
localhost
D













-- 
mail: billy - at - billy.demon.nl
http://billy.demon.nl




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]