Bug 146516 - Kmail doesn't mail via sendmail or remote server
Summary: Kmail doesn't mail via sendmail or remote server
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: sending (show other bugs)
Version: 1.9.6
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-07 22:04 UTC by Thomas Wennekers
Modified: 2008-01-30 23:54 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wennekers 2007-06-07 22:04:23 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    Ubuntu Packages
Compiler:          gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4) Kmail binary is used, not a custom compilation
OS:                Linux

Hi 

"which" finds sendmail in /usr/sbin; sending mail from the command line works via "mail" from mailutils1 (and postfix)

I have two sending accounts set up in kmail: Sendmail (with correct full path of sendmail) and "pion", a mail-server I am responsible for. Kmail finds the correct security settings for sasl on request (CRAM-MD5 or DIGEST-MD5 only). SSL/TLS are correctly disabled.

Whatever I put in the Advanced->special transfer box: Empty, pion, Sendmail, /usr/sbin/sendmail (box on the left ticked), kmail does not even try to send, when I submitt a single email directly or the piled up mails via "Send queued messages" in the GUI. There are no error messages popping up, and no entries in either /var/log/messages or /var/log/mail.xxx . The mail logs of the pion-server don't show anything either.

I have a second laptop connected through the same hub, which has no problems (but KDE 3.5.2 Kubuntu dapper instead of a fresh recent KDE 3.5.6 feisty installation on the machine that shows the problem).

Just in case that could matter: Postfix I installed after Kmail, because of the problem; didn't help, though

Any ideas what I could try?

Best wishes 
thowe
Comment 1 Thomas McGuire 2007-06-07 23:30:11 UTC
The Identities->Advanced->Special Transport setting should be the name of your sending account configured under Accounts->Sending. Use the dropdown box to select it. This should be "Sendmail" in your case.

Now, if sending from commandline with /usr/sbin/sendmail works, sending in KMail should work as well.

Also try to disable/exit networkmanager.
Comment 2 Thomas Wennekers 2007-06-08 12:46:08 UTC
I have two accounts which both work on that other Laptop. None works on the target machine, whatever I select or put into the special transport entry, and/or whatever I choose as the default.

The network settings are fine. There is only a single wired connection anyway. Exiting the network manager doesn't change things.

I reinstalled kmail -- no change
Comment 3 Thomas Wennekers 2007-06-08 13:41:31 UTC
making networks address static -- no change ("mail" from commandline still works)

setting up completely new identity -- no change 

Comment 4 Thomas Wennekers 2007-06-08 16:52:18 UTC
Ouch! Deleting the mail in the outbox was it, instead of trying to resent it...
Best 
-thowe-
Comment 5 René Krell 2008-01-30 23:54:18 UTC
Yes I confirm the last comment - old failing messages block the send queue totally, even recently created messages are not sent. You have to clear old messages that failed earlier if you want to sent new ones.
Tried with Version 1.9.6 (enterprise 0.20070907.709405) using KDE 3.5.8 on Kubuntu Gutsy.