[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 6216c7a: Allow specifying that SMTP auth should always be use
Re: master 6216c7a: Allow specifying that SMTP auth should always be used
Fri, 26 Jul 2019 14:47:38 +0200
>>>>> On Fri, 26 Jul 2019 14:07:18 +0200, Lars Ingebrigtsen <address@hidden>
Larsi> Robert Pluim <address@hidden> writes:
>> If the user can customize smtpmail-servers-requiring-authorization,
>> then they can also add an appropriate entry to .authinfo to make
>> smtpmail do authentication, so why is such a variable needed?
Larsi> smtpmail always tries first without auth, and then starts looking
Larsi> for credentials if the SMTP servers says "give me credentials".
I was convinced thatʼs not how it worked, but the code disagrees with
Larsi> We could make it start sending credentials immediately if there's an
Larsi> .authinfo entry, but that'd be a behaviour change, and the user may
Larsi> specified just "machine my.mail.host" for (for instance) IMAP usage,
Larsi> there's no auth on SMTP, in which case the SMTP server may deny the
And again I was convinced we did port matching, but again thatʼs not
how auth-source works when the machine entry doesnʼt have a port.
Larsi> And besides, the user may be typing in the credentials and not using
I appear to be 0 for 3 here. Oh well.