Unexplained mutt error

Kevin J. McCarthy kevin at 8t8.us
Tue Feb 22 22:15:12 UTC 2022


On Tue, Feb 22, 2022 at 02:34:05PM -0600, Ranjan Maitra wrote:
>On Tue Feb22'22 02:06:57PM, Ion wrote:
>> As instructed I changed it to...
>>
>> set smtp_url ="smtp://ionmich@eml.cc@smtp.fastmail.com:587"
>>
>> and also tried
>>
>> set smtp_url ="smtp://ionmich@eml.cc@smtp.fastmail.com:465"
>>
>
>set smtp_url ="smtps://ionmich@eml.cc@smtp.fastmail.com:465"

Thanks Ranjan - that's right.  Remember port 465 uses smtps://

>> both produced "Invalid SMTP URL: smtp.fastmail.com:465"

Check your muttrc to make sure you don't have the value specified twice 
or something.  That error message prints out the full value of 
$smtp_url, so somehow Mutt has the value minus the 
'smtps://ionmich@eml.cc@' prefix stored in $smtp_url.

You can also check the value at runtime by typing ':set ?smtp_url' and 
hitting return.

-- 
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/20220222/830becdc/attachment.asc>


More information about the Mutt-users mailing list