Re: Symbolic link to mhmail

Ralph Corderoy <[email protected]>
Newsgroups gmane.mail.nmh.devel
Message-ID <[email protected]>
Hello Thomas,

kre has given a good answer and I'd do what he suggested, but...

> This issue comes from the fact that I wanted to use the
> unattended-upgrades package on Debian which uses mailx to send
> reports.  Since only nmh is detected as providing a compatible mailx
> program, mailx redirects to /usr/bin/mh/mhmail.

Are you saying that Debian puts in the symlink from /usr/bin/mhmail to
/usr/bin/mh/mhmail when selecting nmh as one of the alternative packages
to provide a virtual package which unattended-upgrades depends upon?

That sounds flawed for the reason you gave.  Does Debian have a central
place to manipulate PATH to append /usr/bin/mh for unattended-upgrades?
apt-file(1) here suggests there's
a /lib/systemd/system/unattended-upgrades.service so perhaps a local
file to override its PATH?

Which version of Debian is this?  ‘lsb_release -a’ shows this.

-- 
Cheers, Ralph.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.