Summary: | SMTP EHLO ignores "send custom hostname to server" | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | timbacon |
Component: | sending | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hagemann1, thiago |
Priority: | NOR | ||
Version: | 1.7.1 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
timbacon
2004-11-19 00:34:21 UTC
I can reproduce this exactly, and it's terribly annoying cause I can't send any email. I'm sitting behind a BSD based gateway with SPI/NAT, the public IP of the gateway also having a reverse DNS entry with hyphens in it. I get the same error message and am able to reproduce the same telnet output using our ISP's smtp server. Setting a custom hostname in the mail transport properties does also not help as it doesn't seem to make a difference (I guess this name is never sent but I didn't verify this). Forgot to mention my system: Kmail 1.7.2 / KDE 3.3.2 on gentoo linux 2.6.11-gentoo-r4 using gcc-3.3.5. What is the hostname (with hypens) that you are trying to use? Our ISP assigns our gateway the hostname "wbs-aaa-bb-cc-ddd.wbs.co.za" where aaa.bb.cc.ddd is its public ip address. As far as I understand it does not matter what my client machine is set to due to NATing. However, I've just tried to telnet our ISP's smtp server again: telnet smtp.wirelessza.co.za smtp Trying 196.15.251.88... Connected to smtp.wirelessza.co.za. Escape character is '^]'. 220 +OK smtp.wirelessza.co.za Ready (http://www.wirelessza.co.za/) ehlo 501 Syntactically invalid EHLO argument(s) ehlo wbs-aaa-bb-cc-ddd.wbs.co.za 250-smtp.wirelessza.co.za Hello wbs-aaa-bb-cc-ddd.wbs.co.za [196.46.70.241] 250-SIZE 8388608 250-PIPELINING 250 HELP So the ISP assigned hostname seems fine with telnet, but not fine with kmail as I have used many different networks and only on this one did kmail sending bomb out with the above error. Unfortunately I can don't have a solid grasp of what the problem might be as I don't even understand what EHLO does. Can I try any other diagnostics? SVN commit 753500 by tmcguire: Some (attempted) fixes for hostnames: - When the hostname of the client doesn't include a dot, add a fake ".localnet" extension, so the server thinks it is a valid hostname - Don't actually do anything in openConnection(). The connection will be opened in put(), where the fake hostname is known. This probably fixes BUG: 93544 M +12 -10 smtp.cpp M +1 -1 smtp.h WebSVN link: http://websvn.kde.org/?view=rev&revision=753500 |