bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34540: 26.1; can't change location of .authinfo


From: Robert Pluim
Subject: bug#34540: 26.1; can't change location of .authinfo
Date: Tue, 19 Feb 2019 10:29:32 +0100

Hanno Jung <hanno.jung@googlemail.com> writes:

> If I change the location of .authinfo to a custom location, the username
> and password is not recognized correctly by smtpmail.
> Location is changed via (setq auth-sources
> '("/custom_folder/.authinfo")).

This custom_folder is in the root of your filesystem? Or in your home
directory?

> When using C-c to send the mail I'm asked for the username and the
> password. Although the .authinfo content is
> machine smtp.gmail.com login myusername port 587 password mypassword
>
> This issue is adressed here as well
> https://emacs.stackexchange.com/questions/47805/cant-change-location-of-authinfo
>

What does

(auth-source-search :max 1 :host "smtp.gmail.com" :user "myusername" :port 587)

return?

What's the value of smtpmail-smtp-service (it should be 587, otherwise
the auth-source lookup done by smtpmail will fail).

Robert





reply via email to

[Prev in Thread] Current Thread [Next in Thread]