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]
On Tue, Dec 02, 2008 at 01:16:39PM -0600, John Goerzen wrote:
> >> Actually, perhaps what we need is a configuration directive stating what
> >> netrc file to use?
> > That would give more flexibility, but it would be idiosyncratic
> > behavior. The pattern of "use ~/.CONFIG if it's available, else use
> > /etc/CONFIG if it's available, else used compiled-in defaults" is much
> > more familiar and widespread.
> OK. Applied and pushed both. I'm OK with your approach; the reason I
> had suggested that was that netrc(5) doesn't document a file in /etc on
> my machine.
I don't know whether any other packages yet are using /etc/netrc. But
I've submitted patches to implement this same functionality in getmail and
msmtp, as well.