"Yuan MEI" <[EMAIL PROTECTED]> 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.
_______________________________________________
Info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to