Version: 1.9.52 (using 4.00.84 (KDE 4.0.84 (KDE 4.1 >= 20080625), Debian packages) Compiler: cc OS: Linux (i686) release 2.6.23-rt1-davidb This has been going on in all kde4.* alpha, beta versions of kmail. I am sending mail smtp smarthost using exim4 so sending account is to "localhost". This is the error I get: Sending failed: Unexpected server response to EHLO command. The server responded: "Syntactically invalid EHLO argument(s)" The message will stay in the 'outbox' folder until you either fix the problem (e.g. a broken address) or remove the message from the 'outbox' folder. The following transport was used: 012 Smarthost using exim4
Could you attach a copy of the used EHLO string? You can get this by taking a trace of the ip traffic when trying to send the message, or if you hav access to the server it might have it its log.
You could also activate kio_smtp in kdebugdialog, then you'll get the traffic on the console. We have problems determining the correct hostname for localhost, that is not easily possible with Qt. FYI, for me it sends: C: >> EHLO pc1.localnet << Try setting a fake hostname (either 127.0.0.1 or your real IP, or hostname if you have one) in the SMTP configuration, maybe that'll help (I can't think of another reason why the mail would be rejected).
BTW, if this turns out to be the fault of the hostname, this would be a duplicate of bug 34421.
On Wednesday 09 July 2008 15:17:53 Thomas McGuire wrote: [bugs.kde.org quoted mail] I entered a valid host name (the system-wide default is not) and succeeded in sending mail. So go ahead and mark as duplicate 34421
*** This bug has been marked as a duplicate of 34421 ***