This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] KMail won't send - 'transport invalid'

Tags: None
(comma "," separated)
jtgd
Registered Member
Posts
13
Karma
0
Under Intrepid I had no problems with KMail. Now I have a fresh install of kubuntu Jaunty on x64 and KMail won't send mail. I get an error box open:

"Transport 'Knode mail transport' is invalid"

Under Settings > Configure KMail > Sending I have the same settings I've always had. I use 1and1 and POP is ok but SMTP is not. The very same settings in Thunderbird work fine and I can send with that.

Any idea what could be wrong? Thanks for your help.

Last edited by jtgd on Tue May 19, 2009 6:42 am, edited 1 time in total.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The configuration entries for your SMTP server appear to be damaged, can you try recreating it?
Also make sure your identity does not have a particular Sending transport forced.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
jtgd
Registered Member
Posts
13
Karma
0
Thanks for your reply.

bcooksley wrote:The configuration entries for your SMTP server appear to be damaged, can you try recreating it?
Also make sure your identity does not have a particular Sending transport forced.


I tried adding a new 'Outgoing account' and then deleting the first. No change. Did you mean something more dramatic, like deleting a file? Do I have to restart KMail? (I did that)

The identity did not have that set. I tried setting it, testing, and resetting. No change.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
It could also be possible that your KDE installation has been damaged, preventing KMail from loading the SMTP plugin which sends the mail. Also, do you have KNode installed? It seems to be making references to it.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
jtgd
Registered Member
Posts
13
Karma
0
bcooksley wrote:It could also be possible that your KDE installation has been damaged, preventing KMail from loading the SMTP plugin which sends the mail.


This is a fresh installation of Jaunty from CD, though not to a formatted disk (so there may be remnants of Intrepid around, but this all worked under Intrepid, at least with KDE 3.5.10). So how could I check to see if it's damaged, or how could I repair it? And is the SMTP plugin different from what Thunderbird uses? (which works)

bcooksley wrote:Also, do you have KNode installed? It seems to be making references to it.


That's an interesting thought. I didn't realize that there was a whole other package called KNode, but it is a newsreader and it's hard to believe that is involved, but I installed it anyway and it made no difference.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The SMTP plugin is different to the one used by Thunderbird.
You will be looking for something like a "SMTP KIOSlave" which may need reinstalling.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
jtgd
Registered Member
Posts
13
Karma
0
Thanks again for your help.
bcooksley wrote:The SMTP plugin is different to the one used by Thunderbird.
You will be looking for something like a "SMTP KIOSlave" which may need reinstalling.


ps shows nothing running like that.

I do see a file /usr/lib/kde4/kio_smtp.so but I don't know if it's running.

I don't see anything under the packages with a name like that.

i tried uninstalling kmail and reinstalling. No change.

Can you give me a clue what I might have to do to repair/reinstall this?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If you try creating a new user, and configuring it there does it work?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
jtgd
Registered Member
Posts
13
Karma
0
bcooksley wrote:If you try creating a new user, and configuring it there does it work?


Thank you so much for all your help. It is fixed. I did not exactly do what you said, but it led me to the answer.

I had previously uninstalled and reinstalled kmail, but this time I deleted the related files in ~/.kde/share/apps and ~/.kde/config before reinstalling (saving my email of course). After the setup wizard I was able to send mail again. I guess the files left over from Intrepid were incompatible or something.

On an unrelated note, in the interim I have given up on KDE4. It has some nice features and all, but it's buggy beta software. Too many lockups and crashes. I'll be running in Xfce for now and try KDE again after each release to see if it gets better cuz I do like the features... but this belongs in another thread.
daxtell
Registered Member
Posts
2
Karma
0
I had previously uninstalled and reinstalled kmail, but this time I deleted the related files in ~/.kde/share/apps and ~/.kde/config before reinstalling (saving my email of course). After the setup wizard I was able to send mail again. I guess the files left over from Intrepid were incompatible or something.


What files did you delete? I'm having the same problem, and I've tried deleting .kde4/share/config/kmail and emaildefaults. After creating the smtp account, I still get the transport error.

This is kmail 1.11.90, but I had the same problem with an earlier version, which was why I upgraded.
jtgd
Registered Member
Posts
13
Karma
0
daxtell wrote:I had previously uninstalled and reinstalled kmail, but this time I deleted the related files in ~/.kde/share/apps and ~/.kde/config before reinstalling (saving my email of course). After the setup wizard I was able to send mail again. I guess the files left over from Intrepid were incompatible or something.


What files did you delete? I'm having the same problem, and I've tried deleting .kde4/share/config/kmail and emaildefaults. After creating the smtp account, I still get the transport error.

This is kmail 1.11.90, but I had the same problem with an earlier version, which was why I upgraded.


For me I deleted these:

~/.kde/share/config/kmail.eventsrc
~/.kde/share/config/kmailrc
~/.kde/share/config/kmailsnippetrc
~/.kde/share/apps/kmail/ (directory)

Copy away that kmail directory if you have mail in there that you want to save!

You might also copy the kmailrc file. I wish I did as I am still reconstructing all my mail filters. :-( I would not however simply move the file back, as that might reintroduce the problem. I would have edited the file and cut and pasted just the filter sections from the old file.
daxtell
Registered Member
Posts
2
Karma
0
[/quote]

For me I deleted these:

~/.kde/share/config/kmail.eventsrc
~/.kde/share/config/kmailrc
~/.kde/share/config/kmailsnippetrc
~/.kde/share/apps/kmail/ (directory)

[/quote]

Thanks. That seemed to do the trick.
linux_seeker
Registered Member
Posts
1
Karma
0
OS
I fixed it simply by changing the encryption from SSL to TLS...worked for me. Hope this helps!
tamalatamala
Registered Member
Posts
1
Karma
0
OS
When I first set up my outgoing server, I made a typo. Sending email then of course failed and I got the 'transport invalid' message. I found my mistake and corrected it, but still got the 'transport invalid' messages.

I read this post and first tried deleting just some of the files mentioned above, I wanted to keep my mail folder. Didn't work, so I removed all.
I set up the incoming and outgoing servers again and sending worked.

Then I imported my emails and moved those 4 emails I couldn't send before to my outbox. Tried sending them and I got the 'transport invalid' message again. I removed these emails from my outbox and wrote a new mail, which was sent without a problem.

I assume the settings on sending an email are actually somehow stored in the emails we failed to send. No matter how we change the settings, those emails won't be sent and the same 'transport invalid' message will pop up.

I would advise the next person with this 'transport invalid' issue to check and correct the settings of outgoing emails, remove all emails that are already in the outbox and try sending another freshly written email. Hopefully this works and there is no need to copy the /kmail/ directory and delete all suggested files and /kmail/ directory.
User avatar
annew
Manager
Posts
1155
Karma
11
OS
I assume the settings on sending an email are actually somehow stored in the emails we failed to send


I presume you had the originals in your sent-mail folder. What I would do is to configure my composer page to show the transport method - in fact I do this on my system. If you then go to one of those 'sent' messages you can 'Send again', changing the transport setting. This definitely works.

However, if it never got as far as the sent-mail, due to the failure, I would have thought that the same method would work on the message in the outbox - possibly by moving it to Draft?. Anyway, some ideas to consider :-)


annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar