Skip Menu |

This queue is for tickets about the Mail-Sendmail CPAN distribution.

Report information
The Basics
Id: 14292
Status: open
Priority: 0/
Queue: Mail-Sendmail

People
Owner: Nobody in particular
Requestors: selsky [...] columbia.edu
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.79
Fixed in: (no value)



Subject: localhost:587 is better default sendmail host/port
Mail-Sendmail currently uses localhost:25 as the default port to try to send mail. This probably should be changed to localhost:587 since Sendmail on modern systems listens on localhost:587 for locally generated email. Thanks!
--- Sendmail.pm~ 2000-09-25 04:26:58.000000000 -0400 +++ Sendmail.pm 2005-08-22 14:57:25.768321000 -0400 @@ -28,7 +28,7 @@ 'delay' => 1, # delay in seconds between retries 'tz' => '', # only to override automatic detection - 'port' => 25, # change it if you always use a non-standard port + 'port' => 587, # change it if you always use a non-standard port 'debug' => 0 # prints stuff to STDERR );
Sorry, but I just rejected this. The default SMTP port is 25, not 587. It doesn't matter what other port(s) some specific SMTP servers happen to also listen to.
Subject: Re: [rt.cpan.org #14292] localhost:587 is better default sendmail host/port
Date: Tue, 3 Oct 2006 13:04:50 -0400
To: bug-Mail-Sendmail [...] rt.cpan.org
From: Matt Selsky <selsky [...] columbia.edu>
Show quoted text
> The default SMTP port is 25, not 587. It doesn't matter what other > port(s) some specific SMTP servers happen to also listen to.
True, but this module is doing mail submission, not mail transfer. Mail transfer is done on 25, but mail submission is now commonly done on 587. See RFC 2476. Sendmail has had this available since 8.12.x