You are not logged in.

#1 2019-12-14 13:39:36

MS1
Member
Registered: 2018-02-02
Posts: 95

Need some help getting s-nail to work with comcast [solved]

I am trying to get s-nail to work with my ISP which is comcast but when I try to send a test message from the shell, I get

% mailx -s test myname@comcast.net < /dev/null
mail: Variable is read-only: #
mail: Variable is read-only: #
mail: SMTP: Resource temporarily unavailable
mail: Unexpected EOF on SMTP connection
/home/mike/mail/dead.mbox 9/209
mail: ... message not sent

Following the wiki example, I made this as ~/.mailrc where the first bit comes from the package /etc/ version and the last part I took from the wiki.  My actual password is hidden with xxxx below.

set autocollapse
set append
set ask
set crt
set editheaders
set emptystart
set fullnames
set history-gabby history-gabby-persist
set hold
set indentprefix="> "
set markanswered
set mime-counter-evidence=0b1111
set keep
set keepsave
set quote
set recipients-in-cc
set sendcharsets=utf-8,iso-8859-1
set showto
retain from_ date from to cc subject message-id mail-followup-to reply-to


set v15-compat
set ssl-protocol=-ALL,+TLSv1.2
set ssl-verify=strict
set reply-in-same-charset
set fullnames
set sendwait
set mimetypes-load-control
set folder=mail
set MBOX=+mbox.mbox record=+sent.mbox DEAD=+dead.mbox
set inbox=+system.mbox
shortcut mymbo %:+mbox.mbox \
         myrec +sent.mbox
set from="myname@comcast.net"
set mta=smtp://myname%40comcast.net:xxxx@smtp.comcast.net:465 \
    smtp-use-starttls

Last edited by MS1 (2019-12-16 15:48:16)

Offline

#2 2019-12-14 16:18:21

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,456

Re: Need some help getting s-nail to work with comcast [solved]

It looks like you're not reaching the server at all, or it's rejecting your connection. Are you sure smtp.comcast.net:465 is the right server & port combination you're supposed to use? Is that host accepting smtps request for TLSv1.2 only? Check your ISP documentation and make sure you are using the protocol they support.

Offline

#3 2019-12-14 17:00:19

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,079

Re: Need some help getting s-nail to work with comcast [solved]

465 is smtps, but also try smtp and port 587 (it's open and the interwebz™ says it's the preferred protocol for comcast)

Offline

#4 2019-12-16 15:47:54

MS1
Member
Registered: 2018-02-02
Posts: 95

Re: Need some help getting s-nail to work with comcast [solved]

seth wrote:

465 is smtps, but also try smtp and port 587 (it's open and the interwebz™ says it's the preferred protocol for comcast)

Thanks go to you seth. It is working now using port 587.

Offline

#5 2020-01-04 12:57:36

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: Need some help getting s-nail to work with comcast [solved]

MS1 wrote:

set ssl-protocol=-ALL,+TLSv1.2
set ssl-verify=strict

I believe that s-nail 14.9.16 deprecated these options.  See the man page of mailx for some examples, but this should work for you:

set tls-config-pairs'\
 CipherString=TLSv1.2:!aNULL:!eNULL:@STRENGTH,\
 Curves=P-521:P-384:P-256,\
 Protocol=-ALL\,+TLSv1.1 \, +TLSv1.2\, +TLSv1.3'

Offline

#6 2020-01-11 22:39:48

sdaoden
Member
Registered: 2014-06-13
Posts: 30

Re: Need some help getting s-nail to work with comcast [solved]

It seems smtp.comcast.net supports SMTPS at port 465.  It does not seem to support TLSv1.3 yet, but the following should work (and smtp-use-starttls can be removed at :465, not at :587):

  set tls-config-pairs=MinProtocol=TLSv1.2
  set mta=smtps://myname%40comcast.net:xxxx@smtp.comcast.net:465

No 1.3 yet (xv is a function which locally sets verbose, as shown under COMMANDS in the manual):

ERROR# #?1!0/NONE#1|:+[/home/steffen/sec.arena/mail/]nail? set tls-config-pairs=MinProtocol=TLSv1.3
#?0!0/NONE#1|:+[/home/steffen/sec.arena/mail/]nail? xv tls certificate smtp.comcast.net:465
s-nail: Resolving host smtp.comcast.net:465 ... done
s-nail: Connecting to 96.114.157.81:465 ... connected.
s-nail: TLS: applying config: MinProtocol = TLSv1.3
s-nail: could not initiate TLS connection: error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure

ERROR# #?1!0/NONE#1|:+[/home/steffen/sec.arena/mail/]nail? set tls-config-pairs=MinProtocol=TLSv1.2
#?0!0/NONE#1|:+[/home/steffen/sec.arena/mail/]nail? xv tls certificate smtp.comcast.net:465
s-nail: Resolving host smtp.comcast.net:465 ... done
s-nail: Connecting to 96.114.157.81:465 ... connected.
s-nail: TLS: applying config: MinProtocol = TLSv1.2
s-nail:  Certificate depth 2
..etc..

Offline

Board footer

Powered by FluxBB