On Thu, Dec 3, 2015 at 9:18 AM, Noel Jones <njo...@megan.vbhcs.org> wrote:
> On 12/3/2015 11:07 AM, Steve Jenkins wrote: > > On Thu, Dec 3, 2015 at 9:01 AM, Robert Chalmers > > <rob...@chalmers.com.au <mailto:rob...@chalmers.com.au>> wrote: > > > > To enlarge on that, I have in main.cf <http://main.cf> and > > master.cf <http://master.cf> the following > > > > main.cf <http://main.cf> > > /////////////////////////////////////////////////////// > > # dkim > > smtpd_milters = inet:127.0.0.1:8891 <http://127.0.0.1:8891> > > non_smtpd_milters = inet:127.0.0.1:8891 <http://127.0.0.1:8891> > > milter_default_action = accept > > /////////////////////////////////////////////////////// > > > > master.cf <http://master.cf> > > > > /////////////////////////////////////////////////////// > > submission inet n - n - - smtpd > > -o syslog_name=postfix/submission > > -o smtpd_tls_security_level=encrypt > > -o smtpd_milters=inet:127.0.0.1:8891 <http://127.0.0.1:8891> > > /////////////////////////////////////////////////////// > > > > > > Then I believe you can remove it from main.cf <http://main.cf> and > > it will still work as before in your setup. Based on what Noel > > confirmed, I think the only reason to have it specifically mentioned > > in main.cf <http://main.cf> is if you're looking to restrict it to > > just submission. I have OpenDKIM and OpenDMARC milters listed only > > in main.cf <http://main.cf>, and both are running fine. > > > I think you mean remove it from master.cf. If you remove it from > main.cf it won't verify incoming mail. > > It doesn't hurt anything to have it in both places. > > main.cf settings apply to all services, master.cf settings apply to > the service they are listed in and override main.cf settings. Noel is correct. I meant to say you can safely remove it from master.cf. :)