From: "Robert J. Chassell" <bob@rattlesnake.com>
Subject: Re: multiple POP support for RMAIL
Date: Sun, 22 Feb 2004 08:43:16 -0500 (EST) [thread overview]
Message-ID: <m1Autt6-000UMrC@rattlesnake.com> (raw)
In-Reply-To: <jkwu6f2wo1.fsf@glug.org> (message from Thien-Thi Nguyen on 22 Feb 2004 06:14:38 -0500)
...there is currently no way to specify multiple passwords
non-interactively.
Please implement this feature
Thien-Thi Nguyen <ttn@glug.org> responded
actually the code posted does indeed support this usage, ...
Thank you for explaining. Unfortunately, I tried what I understood to
do and it fails.
I evaluated the following:
(setq rmail-pop-password nil)
(setq rmail-pop-password-required t)
(setq rmail-primary-inbox-list '("po:AAA:foo.edu"
"po:AAA:bar.net"
"po:BBB:bar.net"
"po:CCC:bar.net"))
(rmail-set-pop-password "XXX" "foo.edu")
(rmail-set-pop-password "YYY" "bar.net")
(rmail-set-pop-password "ZZZ" "bar.net")
(rmail-set-pop-password "ZZZ" "bar.net")
and then tried to fetch email from my four different accounts.
Instead, I received this error message:
Getting mail from post office ...
movemail: Error connecting to POP server:
-ERR [AUTH] Password supplied for "bob" is incorrect.
(No new mail has arrived)
Note that I have the same user name for two different accounts,
AAA on foo.edu and AAA on bar.net
and the same password on BBB@bar.net and on CCC@bar.net
Thinking that the overlap caused trouble, I commented out
;; (rmail-set-pop-password "YYY" "bar.net")
;; (rmail-set-pop-password "ZZZ" "bar.net")
and reevaluated the other expressions and still received the same
message. (However, I did not set any values to nil first, but that
should not have mattered.)
Before I could fetch email from the one POP account, I had to do this,
including set the various values to nil first (which I find strange):
(setq rmail-pop-password-required nil)
(setq rmail-primary-inbox-list '(nil))
(rmail-set-pop-password nil nil)
(setq rmail-primary-inbox-list '("po:AAA:foo.edu" "/var/mail/AAA"))
(setq rmail-pop-password-required t)
(setq rmail-pop-password "XXX")
(setq rmail-preserve-inbox nil)
(Normally, I set
(setq rmail-preserve-inbox nil)
but this time I wanted to make sure I would not lose it.)
(Incidentally, I think the format for rmail-primary-inbox-list should
be
[METHOD:][USER@](HOST|PATH|HOST/PATH)[:PASSWORD]
such as
(setq rmail-primary-inbox-list
'("po:AAA@foo.edu:XXX"
"po:BBB@bar.net/weird/path/to/BBB:YYY"
"/var/mail/AAA"))
where POP is the default method, the local account's USER is the
default user, localmachine is the default HOST, "/var/mail/USER" is
the default path, and the local account's PASSWORD is the default
password. Following ttn's good suggestion, this expression could go
into a separate `chmod go-rwx' file to provide at least some security,
like a .netrc file.)
--
Robert J. Chassell Rattlesnake Enterprises
http://www.rattlesnake.com GnuPG Key ID: 004B4AC8
http://www.teak.cc bob@rattlesnake.com
next prev parent reply other threads:[~2004-02-22 13:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-21 21:56 multiple POP support for RMAIL Thien-Thi Nguyen
2004-02-22 0:05 ` Robert J. Chassell
2004-02-22 11:14 ` Thien-Thi Nguyen
2004-02-22 13:43 ` Robert J. Chassell [this message]
2004-03-06 22:31 ` Thien-Thi Nguyen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1Autt6-000UMrC@rattlesnake.com \
--to=bob@rattlesnake.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).