Version: 1.6 (using KDE KDE 3.2.0) Installed from: Gentoo Packages Compiler: gcc version 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7) OS: Linux Kmail will not send mail via smtp (not sendmail protocol). It worked previous to installing KDE 3.2.0. It recieves fine. No Errors are produced, it looks like it sent the email, goes to outbox, then sentbox. But never goes to destination. Mozilla mail works fine, sending & receiving. Used: tcpdump -x -X -v -s 0 port 25 and host 12.222.148.04 to produce output of smtp connection and including. Looking at the output of the tcpdump and comparing it to the mozilla mail output find these things: 1) a smtp RSET is being sent when using kmail. So mail gets canceled. 2) you will see a smtp response of 354 in both. So it server is ack that ready to receive the email. 3) a smtp QUIT is being send when using mozilla mail. So it terminates correctly. 4) in kmail smtp MAIL.FROM does not include the SIZE= . It does in mozilla mail and another kmail that I have checked. 5) #4 above looks like it might be the problem. Not sure though, cause why would it not send the size and and also send a RSET if that was the problem. You would think a RSET would have been sent earlier or an error produced. 6) checked the kmail tcpdump for all smtp codes. No error codes (except for RSET) are being produced, so as far as kmail is concerned it sent the mail. Using: Qt: 3.3.0 KDE: 3.2.0 KMail: 1.6
Created attachment 5256 [details] tcpdump of kmail smtp output This is the kmail output of smtp which fails.
Created attachment 5257 [details] tcpdump of smtp mozilla mail This works and email is sent to destination.
Oh, forgot. Have recompiled: kdelibs, kdepim, qt several times and hasn't helped.
Knew I forgot to mention something. :( Sorry. Have done so much forgot some of the details. Let's see: 1) Deleted kmailrc and restarted kmail, creating identities,... again. 2) Deleted .kde3.2 folder and did same again. 3) Replaced kmailrc with one that worked and recreated the identities,... 4) Compared basic setting in Configure Kmail to another kmail setup and to the Mozilla that worked to make sure had setup correctly. Retested: 1) Just to make sure. Removed any old kmailrc files found in ~/ . They were: ~/.kde3.1.old/share/config/kmailrc ~/.kde3.2/share/config/kmailrc~ ~/Desktop/Trash/kmailrc ~/.kde3.old/share/config/kmailrc ~/.kde.olddave/share/config/kmailr So removed them. Restarted kmail. Did notice one change: A) This time while watching the tcpdump it still sent a RSET, but this time isp answered with 250.ok, then kmail sent a QUIT. That didn't happen before on the previous test. So does seem like something new. 2) To further the above test. Moved all the old .kde folders that had already renamed to a temp folder and deleted them from ~/ . They had already been renamed as: .kde.backup .kde.olddave .kde2.old .kde3.1.old .kde3.old Then deleted the send information from Kmail. Restarted and same thing: ie (RSET, 250.ok, then QUIT) 3) Then to finalize this test. Deleted kmailrc left in ~/.kde3.2/share/config and recreated the account. Same thing again. :(
After doing a little research. Thinking might need to look into kio_smtp.so . Remerging kdebase 3.2.0 doesn't appear to have helped either. One additional thing noticed on the output. The tcpdump of kmail shows that just before the RSET that the server didn't respond with a 'id' (think is message recipt). Mozilla does and another kmail does (slightly different than the mozilla one though). Maybe because kmail isn't getting a recipt it resets the connection?
Trying to figure this out while waiting for help. From what I have seen should be able to use kdebugdialog and turn 7112 on to check debug of kio_smtp. Saw another bug with them talking about it. But not able to get any output from kio_smtp, can with kio_pop3 (7105) but there is no listing for 7112, if manually enter it, still doesn't work. I am trying this on a system that kmail works on also.
On the kmail that isn't working. Using the 2.4 kernel. Don't think that should matter though, but worth a mention.
Okay FIXED! Problem ended up being kde-3.1.4 . KDE-3.2.0 doesn't seem to want to play nice with previous version. Uninstalled (unmerged) all previous versions of KDE. Which ended up being 3.1.4 only. Works fine after that.