Thanks for the response. But is it possible to get cron to use this without custom-compiling it? I understand that it's not your responsibility to compensate for the shortcomings of other programs, but I was hoping to find a solution that Just Works, since I admin multiple boxes. But I need to be able to override the sending address, so ssmtp won't work for me either.
-- Joshua Pettett Web and Internet Technician HomeLink Computer Services http://www.homelinkcs.com Jabber: [email protected] On Friday, February 17, 2012, Martin Lambers wrote: > On Thu, 16 Feb 2012 19:23:33 -0500, Joshua Pettett wrote: > > vixie-cron and mailx seem to expect the local MTA/MSA to add the > > Date: header to outgoing mail, as sendmail and ssmtp do. Is there a > > way to get msmtp to do so, or a best practice I am missing here? > > Currently msmtp does not do this; it assumes that either the user agent > or the MTA at the SMTP server does it (or that it is ok to not have > a Date header). > > A wrapper script should work: > ---------- > #!/bin/sh > formail -b -f -a "Date: `date -R`" | msmtp "$@" > ---------- > > Martin ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ msmtp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/msmtp-users
