Re: use mailx instead of sendmail in apt-listchanges

2019-06-05 Thread Martin T
Dan, > You could do the wrapper, or you could install nullmailer, which > is an extremely simple MTA that always hands off mail to a > relayhost (i.e. somebody else's problem). I ended up with a following wrapper: $ cat /usr/sbin/sendmail #!/usr/bin/env bash # As header fields are at the top

Re: use mailx instead of sendmail in apt-listchanges

2019-06-03 Thread Andrew McGlashan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, On 3/6/19 5:40 am, Martin T wrote: > What could be the most elegant workaround in this situation? Create > a /usr/sbin/sendmail wrapper script which processes the > "/usr/sbin/sendmail -oi -t" command called by apt_listchanges.py > and sends

Re: use mailx instead of sendmail in apt-listchanges

2019-06-03 Thread Dan Ritter
Martin T wrote: > Hi, > > I have apt-listchanges installed and registered in apt system: > > # apt-config dump | grep apt-listchanges > DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -lt 10"; > DPkg::Tools::Options::/usr/bin/apt-listchanges ""; >

use mailx instead of sendmail in apt-listchanges

2019-06-02 Thread Martin T
Hi, I have apt-listchanges installed and registered in apt system: # apt-config dump | grep apt-listchanges DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -lt 10"; DPkg::Tools::Options::/usr/bin/apt-listchanges ""; DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";