Re: git: b7104f19147f - main - sendmail: document that sendmail_enable can be set to NONE

From: Matteo Riondato <matteo_at_freebsd.org>
Date: Tue, 08 Nov 2022 19:50:33 UTC
On 2022-11-08 at 14:17 EST, Baptiste Daroussin <bapt@FreeBSD.org> wrote:
>>
>>Indeed the issue that I intended to raise was that, AFAIK, there is no 
>>documentation, for NONE, except if one reads and understands 
>>/etc/rc.d/sendmail. It is something that is known by people "in the 
>>know", and probably mentioned by a some online tutorials, but I don't 
>>think there is anything "official".
>>
>>Even the handbook, in the section about changing MTA 
>>(https://docs.freebsd.org/en/books/handbook/mail/#mail-changingmta) 
>>does not mention NONE, but explicitly sets the four variables to NO.

>It is documented as deprecated in rc.sendmail(8)

Sorry for missing this: this man page is not linked from sendmail(8), 
nor from rc(8), nor mentioned in the script that it describes, although 
it is linked from rc.conf(5) (and from no other manpage, as far as I can 
tell).

If NONE is deprecated, then perhaps it would have been better to set the 
four variables to NO in the modifcation.

Also, I wonder whether the value of "mta_start_script" in rc.conf should 
be changed to reflect that the default MTA is no longer sendmail, and 
also what the role of /etc/rc.d/othermta should be (and whether it 
should be updated as well).

Thanks,
Matteo