(*** This bug was imported into bugs.kde.org ***) Package: kmail Version: KDE 3.0.2 Severity: normal Installed from: Debian testing/unstable Packages Compiler: GCC 2.95.4 OS: Linux OS/Compiler notes: Debian "woody" KDE packages from kde3.geniussystems.net If a mail composition window is open and you change a mail transport in KMail's settings the 'Mail Transport' pull-down in the compose window gets duplicate entries. Steps to reproduce: 1. Launch KMail 2. Compose a new message (Ctrl+N) 3. Settings->Configure KMail (in main KMail window) 4. Click 'Network' icon 5. Click 'Sending' tab 6. Change one of the transports click OK. 7. Click OK (on Configure window) 8. Switch back to Compose window 9. Click the 'Mail Transports' pull-down. (Submitted via bugs.kde.org)
*** Bug 46097 has been marked as a duplicate of this bug. ***
I am having this problem as well, and can't fix it with the advice givenin the duplicate bug report. I have 2 identities set up now, with mail transports:file:///usr/sbin/sendmailsmtp://postoffice101.utcc.utoronto.ca:25Both of these give me the same "Unrecognized transport protocol, could not send message" error.I initially had a file:///file:///usr/sbin/sendmail problem, but I no longer see thisin the mail transport box.I have daily backups of my entire system, and am pretty comfortable with sysadmin on my machine. I'd be glad to try to help find the problem if you could give me some advice on what to do next.I would REALLY like to get kmail working again soon.I've already tried restoring kmailrc and exim.conf from backups made when kmail was working, but this didn't help.I'm using Debian 3.0kde and kmail version 2.2.2-14
I've figured out how to solve my problem. The unsent mails went into the outbox folder. The file ~/Mail/outbox had a setting at the top X-KMail-Transport, with the incorrect heading /usr/bin/sendmail in it. The outbox seemed to keep all other sendmail attempts giving the same error. When I changed the X-KMail-Transport heading in ~/Mail/outbox to file:///usr/sbin/sendmail and restarted kmail, everything worked again. I then removed all incorrect listings in the transport-history= section of ~/.kde/share/config/kmailrc to make sure I never used an incorrect transport again.
If you close the new mail and create a new one, the mail transports are ok and not duplicate anymore. It looks like the combo box is not cleared before reloading the mail transport when a new mail is open. I'm using kde-3.1 and the bug still valid.
Appears fixed as of 3.1.4