Package: bsd-mailx
Version: 8.1.2-0.20220412cvs-1
Severity: normal
X-Debbugs-Cc: [email protected]

Hi Robert,

your bsd-mailx package hardcodes sendmail to be at /usr/sbin/sendmail
by default (see 02-Base-fixes-1.patch). I found myself needing to
override sendmail systemwide due to an esoteric setup ask for details
at your own peril ;)

I found mailx will keep using /usr/sbin/sendmal despite me overriding
it at /usr/local/sbin/sendmail (which comes first in $PATH).

I wonder do we need to use absolute paths here? Wouldn't 

    #define _PATH_SENDMAIL "sendmail

work just as well?

Thanks,
--Daniel


-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-13-amd64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bsd-mailx depends on:
ii  exim4-daemon-heavy [mail-transport-agent]  4.96-15+deb12u4
ii  libbsd0                                    0.11.7-2
ii  libc6                                      2.36-9+deb12u4
ii  liblockfile1                               1.17-1+b1

bsd-mailx recommends no packages.

bsd-mailx suggests no packages.

-- no debconf information

Reply via email to