0
I'm trying to solve the problem of Gnus asking you to type a username which it then prepends to the IMAP domain, i.e. preventing Gnus from making username typed at prompt foo@bar.com
into foo@bar.com@mail.bar.com
.
All the guides I've read online specify something like this for setting up login credentials:
Place a line like the following in ~/.authinfo
machine imap.gmail.com login your-name@gmail.com password your-password port 993
Following that, I added a string that looks like this:
machine mail.foo.com login me@foo.com port 993
This gets me good behavior (prompt for password only), but still prepends the whole username to the machine address. Worse, when I try to change something and repeat the login, I get an error Wrong type argument: wholenump, nil
.
My gnus.el
file has the following for IMAP:
; IMAP
(setq gnus-select-method
'(nnimap "mymail"
(nnimap-address "mail.bar.com")
(nnimap-server-port 993)
(nnimap-stream ssl)))
1In my numerous attempts at setting up Wanderlust, I came across something similar with a separate authorization file -- I ended up using something like this directly in my configuration file without needing a separate authorization file -- perhaps the regular gnu email is similar:
(setq smtpmail-auth-credentials '(("mail.msn.com" 587 "user-name" "password")))
– lawlist – 2014-03-25T05:17:59.727