Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mail send from Kmail goes to twilight zone, receives fine.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1623
Location: U.S.A.

PostPosted: Tue Mar 16, 2004 3:38 am    Post subject: Mail send from Kmail goes to twilight zone, receives fine. Reply with quote

Pretty much like the title says.
Kmail receives email fine. Sending appears to work, the letter goes to outbox and then sentbox, but never appears at it's destination. Sending via Mozilla mail or Windows works fine. No problems. Nothing I do seems to fix it or lead to a reason (note: this isn't my computer. Working on it over ssh)

Code:
 
dean@PAVILION dean\ $ kmail --composer
libkdenetwork: creating new pgp object
libkdenetwork: Kpgp: gpg found
kmail: No Qt-native utf-7 codec found; registering QUtf7Codec from libkdenetwork
kmail: instantating IdentityManager
kmail: KMIdentity::readConfig(): UOID = 823028130 for identity named "dojo"
kmail: pPopFilter set
kmail: KMKernel::openComposer called
kmail: KMMessage::setDrafts drafts
kmail: KMComposeWin::readConfig. dojo
kmail: KMComposeWin::readConfig: identity.fcc()='sent-mail'
kmail: KMComposeWin::readConfig: previousFcc=sent-mail
kmail: KMComposeWin::rethinkFields
kmail: KMComposeWin::rethinkFields
kmail: KMAIL_DEBUG_COMPOSER_CRYPTO = FALSE
dean@PAVILION dean $ kmail:

KMComposeWin::applyChanges: sent-mail==sent-mail?
kmail: KMMessage::setDrafts drafts
Total: 1; NUL: 0; CTL: 0;
CR: 0; LF: 1; CRLF: 0;
lineMin: 0; lineMax: 0;
printable: 0; eightBit: 0;
trailing whitespace: no;
leading 'From ': no;

Total: 1; NUL: 0; CTL: 0;
CR: 0; LF: 1; CRLF: 0;
lineMin: 0; lineMax: 0;
printable: 0; eightBit: 0;
trailing whitespace: no;
leading 'From ': no;

kmail: CharFreq returned 4/0 and I chose 7bit
kmail: KMComposeWin::encryptMessage() : set top level Content-Type from typeStr()/subtypeStr()
kmail: KMComposeWin::encryptMessage() : top level headers and body adjusted
kmail:

kmail:
kmail: KMComposeWin::applyChanges(void)  -  Send encrypted=false  Store encrypted=true
appending message to ~/dead.letter.tmp
kmail: KMKernel::~KMKernel



Encryption isn't enabled either. Not sure what is going on. Nothing seems to work. Worked fine before switching over to KDE 3.2.0. Also, note: kmail is not segfaulting.

Any help??
1) Have tried recompiling kmail (kdepim) numerous times. Also kdelibs.
2) Deleting ~/Mail, and kmailrc.
3) Have tried different authenication methods and it gets appropriate errors when password is wrong,....
4) Have check the settings against Mozilla mail and Windows and they both work. Kmail doesn't.
5) Found out he didn't have ~/.kde3.2/share/config/profilerc when running with strace. Copied mine. No help.

Really just want to say use another mailer. But then again, hate it when can't fix something. This seems to be one of those things.


Using:
Qt: 3.3.0
KDE: 3.2.0
KMail: 1.6
_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Back to top
View user's profile Send private message
georwell
Guru
Guru


Joined: 25 Jun 2003
Posts: 430
Location: Uppsala, Sweden

PostPosted: Tue Mar 16, 2004 10:07 am    Post subject: Reply with quote

What does the mail server say? Have you run tcpdump to see what kmail is doing when connecting to the mail server?
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1623
Location: U.S.A.

PostPosted: Tue Mar 16, 2004 12:04 pm    Post subject: Reply with quote

Not yet, but I did tell him that he probably needs to run ethereal or tcpdump next. That does seem like the next thing to do doesn't it.
_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Back to top
View user's profile Send private message
shiftless
Tux's lil' helper
Tux's lil' helper


Joined: 08 Oct 2003
Posts: 128

PostPosted: Tue Mar 16, 2004 1:45 pm    Post subject: Reply with quote

Try upgrading KDE to 3.2.1. It fixed alot of small bugs.
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1623
Location: U.S.A.

PostPosted: Tue Mar 16, 2004 3:11 pm    Post subject: Reply with quote

Going to try the tcpdump first. Looked thru the kmail change log and didn't see anything that might help. I never had a problem like this when running 3.2.0, but sometimes everyones mileage differs. So that will be next.
_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1623
Location: U.S.A.

PostPosted: Wed Mar 17, 2004 4:28 am    Post subject: Reply with quote

Okay, had him to this with mozilla mail and kmail. To compare the results.
Looks like kmail is resetting the connection rather than quiting when done sending email. So the email is canceled. Now why the heck would it do that and mozilla not? Kdepim, kdelibs and qt have been remerge numerous times trying to solve this.

With this command:
tcpdump -x -X -v -s 0 port 25 and host ipaddress

Mozilla
Code:
21:47:28.040144 12-233-147-2.client.insightBB.com.32815 > mail.insightbb.com.smtp: P [tcp sum ok] 520:526(6) ack 331 win 6432 <nop,nop,timestamp 431523 114828477> (DF) (ttl 64, id 18502, len 58)
0x0000   4500 003a 4846 4000 4006 c706 0cdd 920d        E..:HF@.@.......
0x0010   3ff0 4c97 802f 0019 80ad dfe3 a05f d5dd        ?.L../......._..
0x0020   8018 1920 71ba 0000 0101 080a 0006 9607        ....q...........
0x0030   06d8 24b3 5155 4954 0d0a                       ..$.QUIT..


Kmail
Code:
21:51:38.224657 12-233-147-2.client.insightBB.com.32821 > mail.insightbb.com.smtp: P [tcp sum ok] 473:479(6) ack 300 win 6432 <nop,nop,timestamp 456543 114853475> (DF) (ttl 64, id 14460, len 58)
0x0000    4500 003a 387c 4000 4006 d6d0 0cdd 920d   E..:8|@.@.......
0x0010    3ff0 4c97 8035 0019 9021 d1d7 a137 5000   ?.L..5...!...7P.
0x0020    8018 1920 34dd 0000 0101 080a 0006 f7c3   ....4...........
0x0030    06d8 866d 5253 4554 0d0a                  ...mRSET..



**Later: Think might be getting somewhere. Looks like in the message contents, that kmail may not be enclosing the reciptient address properly. In the mozilla one it is enclosed (ie <name@emailaddress> )
In kmail it isn't being enclosed (ie name@emailaddress )

Then mozilla gets a 250 ok from isp then quits. Where as kmail after message sent, isp sends something, kmail response then isp sends 250 ok and resets. Need to test this out when get home.

***Later: RCPT.TO test from above. Tested mine with an email address that didn't have in address book. Checked and it send without the bracket and worked. So that may not be it, or maybe my isp is friendlier.

I did notice something else though. His mozilla and my kmail that work. Are both sending message SIZE in the MAIL.FROM . Noticed that his isn't so that is my next to look into. Guess going to have to file a bug report soon.

****Now: At the end of my rope. Filed bug report.


Any email protocol experts out there?
_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum