Complete.Org: Mailing Lists: Archives: offlineimap: December 2008:
Re: Patch: enable offlineimap to get password from /etc/netrc
Home

Re: Patch: enable offlineimap to get password from /etc/netrc

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: offlineimap@xxxxxxxxxxxx
Subject: Re: Patch: enable offlineimap to get password from /etc/netrc
From: John Goerzen <jgoerzen@xxxxxxxxxxxx>
Date: Mon, 01 Dec 2008 16:17:47 -0600

Jim Pryor wrote:
> Attached is a patch that enables offlineimap to get its password from a
> system-wide /etc/netrc file if there's no user-specific ~/.netrc.
> I wanted to use a system-wide /etc/netrc file because I have some
> system daemons sometimes sending me email. I use msmtp, which doesn't do
> local mail. It will only send mail through external smtp servers. I've
> also patched msmtp to be capable or retrieving passwords from
> /etc/netrc. So now I can just put my email address in that one file, and
> all my daemons and cronjobs and everything can get the email credentials
> they need from that one place.
> 

I would be happy to apply this, if you would be willing to add a
corresponding patch to offlineimap.conf documenting the new
functionality, especially since this is a nonstandard behavior.

Actually, perhaps what we need is a configuration directive stating what
netrc file to use?



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