Bug 199243

Summary: Invalid local hostname rejected on HELO
Product: [Applications] kdepimlibs Reporter: David Rundle <dwr001>
Component: mailtransportAssignee: Tom Albers <toma>
Status: RESOLVED FIXED    
Severity: normal CC: kdepim-bugs, thiago
Priority: NOR    
Version: 4.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description David Rundle 2009-07-07 08:36:14 UTC
Version:           1.11.4 (using 4.2.4 (KDE 4.2.4), 4.2.4-2.fc11 Fedora)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.29.5-191.fc11.x86_64

Able to receive e-mail unable to send have checked with my isp and am able to receive e-mail via their e-mail software when i try to send it via Kmail i get the following

Sending failed:
The server did not accept the sender address "dwr001@tpg.com.au".
The server responded: "5.7.1 <dwr001@tpg.com.au>... HELO localhost.localdomain from RFC 2606 reserved domains blocked"
The message will stay in the 'outbox' folder until you either fix the problem (e.g. a broken address) or remove the message from the 'outbox' folder.
The following transport was used:
 david

   AS far as i can tell everything is set up correctly

  Thanks
  David
Comment 1 Thomas McGuire 2009-07-07 12:03:04 UTC
The problem is that the local hostname is not detected correctly, it should not be "localhost.localdomain". That is broken in the SMTP slave I think.

As a workaround, you can go to the settings of the sending and send a custom hostname to the server. Just choose something else there.
Comment 2 Thiago Macieira 2009-07-07 12:26:40 UTC
You need to configure your machine correctly. If your machine thinks its name is localhost.localdomain, there's not really much we can do.
Comment 3 Thomas McGuire 2009-07-07 12:53:29 UTC
Isn't there a way to find out your hostname, even if that is not configured correctly locally?
Sort of a reverse DNS lookup of your own IP.
Comment 4 Jaime Torres 2009-07-07 16:10:32 UTC
Yes, in Linux you have to use the following commands:
dig 127.0.0.1 (or the ip you want to know about) (the new command)
host 127.0.0.1 (the old command)

Normally the local hostname is set also in /etc/hosts
127.0.0.1    localhost