Skip Menu |

This queue is for tickets about the libnet CPAN distribution.

Report information
The Basics
Id: 29947
Status: resolved
Priority: 0/
Queue: libnet

People
Owner: Nobody in particular
Requestors: cyborgii [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.22
Fixed in: (no value)



Subject: hello defaults to localhost.localdomain
Hello, I've checked the latest version of NET::SMTP and verified that the problem still exists. The sub hello runs the line: my $domain = shift || "localhost.localdomain"; which might get the server listed on DNSBL e.g http://cbl.abuseat.org. This happend to me several times with diffrent servers. Please see the description yourself on: http://cbl.abuseat.org/linuxnonserver.html search for 'Net::SMTP'. I've patched the line myself, so it defaults now to the hostname. I thought it might save others form searching hours and hours what causes their server to get listed on CBL. Kind Regards, Gregor Streng SMTP: 2.29 perl: 5.8.5 OS: RH 4 Enterprise Server
It used to be that way, but accurately guessing the hostname to send is not easy and so it opens a security issue of possible sending out a hostname that should not be sent. Which is why it was changed to localhost.localdomain. If the user needs it set to something specific, then the user is in a better position to determine what the correct hostname is.