Re: smtpctl, mailer.conf: drop send-mail (was: mail(1): use "sendmail" as argv[0] for sendmail)

2019-03-22 Thread Lauri Tirkkonen
On Tue, Mar 19 2019 15:28:48 -0600, Todd C. Miller wrote: > On Tue, 19 Mar 2019 23:24:24 +0200, Lauri Tirkkonen wrote: > > > I might be blind, but 'grep -r send-mail /usr/ports/pobj/nmh-1.7.1' > > comes up empty for me after 'make extract' in /usr/ports/mail/nmh? > > It looks like spost.c is hist

Re: smtpctl, mailer.conf: drop send-mail (was: mail(1): use "sendmail" as argv[0] for sendmail)

2019-03-19 Thread Todd C . Miller
On Tue, 19 Mar 2019 23:24:24 +0200, Lauri Tirkkonen wrote: > I might be blind, but 'grep -r send-mail /usr/ports/pobj/nmh-1.7.1' > comes up empty for me after 'make extract' in /usr/ports/mail/nmh? It looks like spost.c is historical code that is not actually packaged in the distribution (though

Re: smtpctl, mailer.conf: drop send-mail (was: mail(1): use "sendmail" as argv[0] for sendmail)

2019-03-19 Thread Lauri Tirkkonen
On Tue, Mar 19 2019 15:16:10 -0600, Todd C. Miller wrote: > On Tue, 19 Mar 2019 22:15:17 +0200, Lauri Tirkkonen wrote: > > > thanks. that means no need for smtpctl and mailer.conf to check for it > > any more. > > Not so fast. There are still things in ports that use send-mail. > I haven't grepp

Re: smtpctl, mailer.conf: drop send-mail (was: mail(1): use "sendmail" as argv[0] for sendmail)

2019-03-19 Thread Todd C . Miller
On Tue, 19 Mar 2019 22:15:17 +0200, Lauri Tirkkonen wrote: > thanks. that means no need for smtpctl and mailer.conf to check for it > any more. Not so fast. There are still things in ports that use send-mail. I haven't grepped the ports tree but the nmh port at least uses "send-mail" for argv[0]

Re: smtpctl, mailer.conf: drop send-mail (was: mail(1): use "sendmail" as argv[0] for sendmail)

2019-03-19 Thread Lauri Tirkkonen
On Tue, Mar 19 2019 14:18:06 -0600, Theo de Raadt wrote: > Have you verified there are *no other programs* in the entire greater > ecosystem > using that name? I have not. But eg. FreeBSD and NetBSD don't support these names in mailer.conf either: https://github.com/freebsd/freebsd/blob/master/e

Re: smtpctl, mailer.conf: drop send-mail (was: mail(1): use "sendmail" as argv[0] for sendmail)

2019-03-19 Thread Theo de Raadt
Have you verified there are *no other programs* in the entire greater ecosystem using that name? > On Tue, Mar 19 2019 07:26:41 -0600, Todd C. Miller wrote: > > On Tue, 19 Mar 2019 10:33:07 +0200, Lauri Tirkkonen wrote: > > > > > ping - doesn't look removed yet :) > > > > Committed. > > thanks.

smtpctl, mailer.conf: drop send-mail (was: mail(1): use "sendmail" as argv[0] for sendmail)

2019-03-19 Thread Lauri Tirkkonen
On Tue, Mar 19 2019 07:26:41 -0600, Todd C. Miller wrote: > On Tue, 19 Mar 2019 10:33:07 +0200, Lauri Tirkkonen wrote: > > > ping - doesn't look removed yet :) > > Committed. thanks. that means no need for smtpctl and mailer.conf to check for it any more. diff --git a/etc/mailer.conf b/etc/mail