Hi Austin,

> vixie-cron runs /usr/sbin/sendmail with the HOME environment variable
> set to /.  Because msmtp looks for per-user configuration in
> $HOME/.msmtp, it will fail to find the configuration file of the user
> cron is sending mail on behalf of.  On a system that depends on
> per-user configuration files, this makes cron incapable of sending
> mail as any user (including root).

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

You can generate it with: dpkg-reconfigure -plow msmtp

For me msmtp-mta (with a correct setup in /etc/msmtprc) works perfectly
with cron.


Unless you disagree, i will close this bug.


Regards,

-- 
Emmanuel Bouthenot
  mail: kol...@{openics,debian}.org    gpg: 1024D/0x414EC36E
  xmpp: kol...@im.openics.org          irc: kol...@{freenode,oftc}




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