Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #209552
| From | Dan Ritter <dsr@randomstring.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: use mailx instead of sendmail in apt-listchanges |
| Date | 2019-06-03 12:50 +0200 |
| Message-ID | <y4SHo-1Iy-5@gated-at.bofh.it> (permalink) |
| References | <y4EEp-1oa-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 ""; > 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? 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). Modifying apt_listchanges.py would require you to keep maintaining the changes forever. -dsr-
Back to linux.debian.user | Previous | Next — Previous in thread | 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