On 2018/01/16 01:52, Clint Pachl wrote: > Because smtpd was made the default years ago and the fact that > mailwrapper(8) will invoke smtpd(8) if its configuration file > (/etc/mailer.conf) is missing, perhaps /etc/mailer.conf can be moved to > /etc/examples?
If you're changing this, you'll also need to check and maybe adjust how MTAs in ports handle the situation. I don't think it's worth it. > Should it be removed from /etc/changelist? No - even if moved to examples it should remain there. If this file is present, changes should be noted in the security mails. > The "optional" keyword should be added for it in /etc/mtree/special: > > --- /etc/mtree/special Sat Apr 1 12:38:28 2017 > +++ /etc/mtree/special-new Tue Jan 16 01:23:22 2018 > @@ -47,7 +47,7 @@ > ldpd.conf type=file mode=0600 uname=root gname=wheel optional > login.conf type=file mode=0644 uname=root gname=wheel > mail.rc type=file mode=0644 uname=root gname=wheel > -mailer.conf type=file mode=0644 uname=root gname=wheel > +mailer.conf type=file mode=0644 uname=root gname=wheel optional > master.passwd type=file mode=0600 uname=root gname=wheel > monthly type=file mode=0644 uname=root gname=wheel > monthly.local type=file mode=0644 uname=root gname=wheel optional optional makes sense. > The BUGS section for mailwrapper/mailer.conf states that the existence of > such a system is a "crock". I think we should sweep it into the closet and > slam the door. It's ugly but reasonably simple...
