nmh-workers
[Top] [All Lists]

Re: [nmh-workers] mts.conf relative sendmail option

2018-05-29 17:59:53
Yes.  sendmail had to be run as /usr/lib/sendmail IIRC, so not in PATH
normally, and Arch's exim and esmtp package both still provide a
/usr/lib/sendmail, for compatibility, I assume.

Right, buuuttttt .... the OTHER (more common, at least in terms of nmh)
use of sendmail, running it using -bs and talking to it via SMTP, it
DOES use execvp().  And execvp() acts just like execv() if the first
argument contains a '/'.  So I really can't justify (or coherently explain)
why one invocation of sendmail uses execvp() and the other does not.
I suspect the likely answer is they were written by two different people
who had different ideas on exactly what "best practices" meant.

-- 
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>