Viktor Dukhovni:
> > pickup unix n - n 60
> > 1 pickup
> > pickup unix n - n 60
> > 1 pickup
> > -o content_filter=
>
> The "pickup" service is defined twice in master.c, the second
> instance (last one wins) disables content filtering for mail submitted
> locally via sendmail(1).
That was easy enough to fix:
Feb 8 13:42:53 spike postfix/master[53597]: warning: duplicate master.cf entry
for service "pickup" (public/pickup)-- using the last entry
--- ./src/master/master_conf.c- 2019-02-08 13:39:50.000000000 -0500
+++ ./src/master/master_conf.c 2019-02-08 13:36:28.000000000 -0500
@@ -117,6 +117,14 @@
}
/*
+ * Warn about duplicate entry.
+ */
+ else if ((serv->flags & MASTER_FLAG_MARK) == 0) {
+ msg_warn("duplicate master.cf entry for service \"%s\" (%s)"
+ "-- using the last entry", serv->ext_name, serv->name);
+ }
+
+ /*
* Update an existing service entry. Make the current generation of
* child processes commit suicide whenever it is convenient. The next
* generation of child processes will run with the new configuration