Bug 45845 - Changing mail transports while editing a message screws up transport list
Summary: Changing mail transports while editing a message screws up transport list
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: composer (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 46097 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-07-27 21:18 UTC by ieure
Modified: 2007-09-14 12:17 UTC (History)
1 user (show)

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 ieure 2002-07-27 21:12:55 UTC
(*** 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)
Comment 1 Daniel Naber 2002-09-19 02:54:25 UTC
*** Bug 46097 has been marked as a duplicate of this bug. ***
Comment 2 Levi Waldron 2002-11-12 23:23:08 UTC
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
Comment 3 Levi Waldron 2002-11-13 01:54:55 UTC
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.  
Comment 4 Jean-Christophe Fargette 2003-03-13 11:29:22 UTC
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. 
Comment 5 ieure 2003-11-04 03:19:58 UTC
Appears fixed as of 3.1.4