From: Lyndon Nerenberg Date: Thu, 3 Jul 2014 23:25:13 +0000 (-0700) Subject: Note that post uses the submission port now. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/b12eee6bb00de96ff2fe781117bdbee6d5ef23e8?ds=sidebyside;hp=-c Note that post uses the submission port now. --- b12eee6bb00de96ff2fe781117bdbee6d5ef23e8 diff --git a/docs/pending-release-notes b/docs/pending-release-notes index d5337f47..8e85c346 100644 --- a/docs/pending-release-notes +++ b/docs/pending-release-notes @@ -7,6 +7,7 @@ NEW FEATURES OBSOLETE FEATURES ----------------- +- post now defaults to port 587 on 'smtp' message submission. - The undocumented -queue switch to post was deprecated in nmh 1.6, and was removed in this release. - conflict(8) was deprecated in nmh 1.6, and was removed in this release. diff --git a/uip/post.c b/uip/post.c index b940ac3a..ef9c8803 100644 --- a/uip/post.c +++ b/uip/post.c @@ -81,7 +81,7 @@ X("saslmaxssf", SASLminc(-10), SASLMXSSFSW) \ X("saslmech", SASLminc(-5), SASLMECHSW) \ X("user", SASLminc(-4), USERSW) \ - X("port server port name/number", 4, PORTSW) \ + X("port server submission port name/number", 4, PORTSW) \ X("tls", TLSminc(-3), TLSSW) \ X("initialtls", TLSminc(-10), INITTLSSW) \ X("notls", TLSminc(-5), NTLSSW) \ @@ -200,7 +200,7 @@ static int sasl=0; /* Use SASL auth for SMTP */ static int saslssf=-1; /* Our maximum SSF for SASL */ static char *saslmech=NULL; /* Force use of particular SASL mech */ static char *user=NULL; /* Authenticate as this user */ -static char *port="smtp"; /* Name of server port for SMTP */ +static char *port="submission"; /* Name of server port for SMTP submission */ static int tls=0; /* Use TLS for encryption */ static int fromcount=0; /* Count of addresses on From: header */ static int seensender=0; /* Have we seen a Sender: header? */