Unexplained mutt error

Kevin J. McCarthy kevin at 8t8.us
Mon Feb 21 22:40:06 UTC 2022


On Mon, Feb 21, 2022 at 02:46:11PM -0600, Ion wrote:
>set smtp_url ="smtp://smtp.fastmail.com:465"

>But the response was...
>
>"SMTP session failed: read error"

The prefix 'smtps://' should be used with port 465:
   set smtp_url ="smtps://smtp.fastmail.com:465"

Alternatively you can use 'smtp://' with port 587 to use STARTTLS:
   set smtp_url ="smtp://smtp.fastmail.com:587"

>set timeout=15
>set mail_check=1

You didn't ask, but as an aside, $mail_check of 1 is a bit too 
aggressive for IMAP.  <http://www.mutt.org/doc/manual/#imap> suggests
   set mail_check=90
   set timeout=15
which I think is a fairly balanced approach.

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20220221/bc7d19cd/attachment.asc>


More information about the Mutt-users mailing list