Thanks for the quick reply.

> Maybe you missed that msmtp is able to use a system wide configuration
> file: /etc/msmtprc

I'm aware of this.  Perhaps my bug should have been "per-user
configuration is incompatible with vixie cron".  Personally, I'm
unwilling to put sensitive information in a world-readable file.
Furthermore, people shouldn't be prohibited from using per-user
configuration files simply because they're running msmtp from cron.

That being said, the more I look into this, the more I feel this is
really a cron bug.  msmtp's logic is to use the value of HOME, if set,
and to fall back on the password database otherwise.  This seems
utterly reasonable.  On the other hand, cron's setting of HOME
violates convention and expectation, suggesting that cron is the poor
player here.

It would be nice if this incompatibility, its cause, and the potential
workaround you mentioned were at least documented.  There's abundant
evidence that I'm not the only one who has sunk hours of their life
into figuring out why cron and msmtp don't play nicely.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to