Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #209536
| From | Martin T <m4rtntns@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | use mailx instead of sendmail in apt-listchanges |
| Date | 2019-06-02 21:50 +0200 |
| Message-ID | <y4EEp-1oa-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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"; DPkg::Tools::Options::/usr/bin/apt-listchanges::InfoFD "20"; # "frontend" in /etc/apt/listchanges.conf is set to "mail" and valid e-mail address is set with "email_address" configuration option. Now when I upgrade a package which has NEWS/changelog present, then I get the "apt-listchanges: The mail frontend needs an installed 'sendmail', using pager" error message. This is because I don't have /usr/sbin/sendmail binary installed. I prefer to use mail/mailx and an external MTA. 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 the mail using mailx? Modify the apt_listchanges.py? Something else? thanks, Martin
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
use mailx instead of sendmail in apt-listchanges Martin T <m4rtntns@gmail.com> - 2019-06-02 21:50 +0200
Re: use mailx instead of sendmail in apt-listchanges Dan Ritter <dsr@randomstring.org> - 2019-06-03 12:50 +0200
Re: use mailx instead of sendmail in apt-listchanges Andrew McGlashan <andrew.mcglashan@affinityvision.com.au> - 2019-06-03 20:40 +0200
Re: use mailx instead of sendmail in apt-listchanges Martin T <m4rtntns@gmail.com> - 2019-06-05 10:30 +0200
csiph-web