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

Re: [msmtp-users] Patch: retrieve password from /etc/netrc?



On Sat, 29. Nov 2008, 05:09:03 -0500, Jim Pryor wrote:
> msmtp already has the capacity to read passwords from a ~/.netrc file.
> However, I'd prefer to keep the password in /etc/netrc, because I have a number
> of system-level daemons and cron jobs emailing me. They won't know what
> user to get the password from.

So they are using /etc/msmtprc? Why not store the password there?

> I propose the following patch against msmtp 1.4.16, which tells msmtp
> to check for a /etc/netrc file if it can't find one at ~/.netrc.

As far as I know, other program only support ~/.netrc and not
/etc/netrc, so this step would introduce a new system-level
configuration file that only msmtp uses.

Martin