info-gnus-english
[Top][All Lists]
Advanced

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

Re: How to use `~/.authfile' for POP account


From: Frank Schmitt
Subject: Re: How to use `~/.authfile' for POP account
Date: Wed, 10 Aug 2005 09:01:26 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

"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.


reply via email to

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