Thomas Strike:
> On 5/14/20 3:08 PM, Wietse Venema wrote:
> > Wietse Venema:
> >> Thomas Strike:
> >>> Thought: I am assuming that Postfix is only reading from the main.cf and
> >>> master.cf files. Could it be possible that Postfix is trying to use
> >>> main.cf* and master.cf*?
> >> On 5/14/20 12:28 PM, Wietse Venema wrote:
> >>> Type "postfix reload" and report the main.cf filename in the logs.
> >> Thomas Strike:
> >>> Which logs are you talking about. After setting up Postfix and Dovcot,
> >>> everything reports to var/log/maillog. Postfix doesn't report it's conf
> >>> files that it loaded from there, only that it reloaded. Is there other
> > It reports the main.cf file in that line.
> >
> > May 14 16:07:50 spike postfix/master[1225]: reload -- version 3.6-20200316, 
> > configuration /etc/postfix
> 
> May 15 09:46:46 sleepyvalley postfix/master[20463]: reload -- version 
> 3.3.1, configuration /etc/postfix

Postfix uses

- /etc/postfix/main.cf with parameter settings, documented in
  postconf(5), also at http://www.postfix.org/postconf.5.html .

- /etc/postfix/master.cf with service definitions and per-service
  parameter overrides, documented in master(5), also at
  http://www.postfix.org/master.5.html .

To find all my alias_maps settings:

In main.cf:
$ postconf alias_maps
alias_maps = hash:/etc/aliases

In master.cf:
$ postconf -P '*/*/alias_maps'
postconf: warning: unmatched request: "*/*/alias_maps"

So I don't have alias_maps settings in master.cf.

        Wietse

Reply via email to