From: Frank Schmitt <usereplyto2005@frank-schmitt.net>
Subject: Re: How to use `~/.authfile' for POP account
Date: Wed, 10 Aug 2005 09:01:26 +0200 [thread overview]
Message-ID: <m3ek92uvg9.fsf@mid.gehheimdienst.de> (raw)
In-Reply-To: <m23bpj3txm.fsf@may.fudan.edu.cn>
"Yuan MEI" <yuan.mei@gmail.com> writes:
> My solution is
> (defun passwd-from-authinfo (machine)
> (let* ((x (gnus-parse-netrc "~/.authinfo"))
> (y (gnus-netrc-machine x machine))
> (z (gnus-netrc-get y "password")))
> z))
> and
> (pop :server "foo.com" :user "bar"
> :password (passwd-from-authinfo "foo.com"))
>
> Is there any ``Official'' solution to this? Since smtp and imap could
> utilize `.authfile' directly.
You should use ~/.authinfo (for all protocols).
Write something like this in it:
machine pop.isp.com login ymei password f.h637Fj
--
Did you ever realize how much text fits in eighty columns? If you now consider
that a signature usually consists of up to four lines, this gives you enough
space to spread a tremendous amount of information with your messages. So seize
this opportunity and don't waste your signature with bullshit nobody will read.
next prev parent reply other threads:[~2005-08-10 7:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-09 17:24 Yuan MEI
2005-08-10 7:01 ` Frank Schmitt [this message]
2005-08-15 14:52 ` Yuan MEI
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3ek92uvg9.fsf@mid.gehheimdienst.de \
--to=usereplyto2005@frank-schmitt.net \
--cc=replies@frank-schmitt.net \
/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.
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 NNTP newsgroup(s).