[pfx] Re: 2 Default postfix instances

Christophe Kalt via Postfix-users <[email protected]> Mon, 27 Jul 2026 19:06:00 -0400
Newsgroups gmane.mail.postfix.user
Message-ID <CAMGkZhpp0KeJC-97YFivm7p-aLaU-gYD9bsRgjfESDNuCgcC9Q@mail.gmail.com>
--===============8901532102917355948==
Content-Type: multipart/alternative; boundary="00000000000035036a06579fc6fc"

--00000000000035036a06579fc6fc
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

1-  /etc/postfix/main.cf: multi_instance_directories =3D /etc/postfix-dmz
2- remove multi_instance_wrapper & multi_instance_directories from
/etc/postfix-dmz/main.cf
3- (optional) set multi_instance_name in both, to different names

All this is described/explained at
https://www.postfix.org/MULTI_INSTANCE_README.html#params

On Mon, Jul 27, 2026 at 6:31=E2=80=AFPM Michael via Postfix-users <
[email protected]> wrote:

> Hi,
>
> In /etc/postfix/main.cf
>
> multi_instance_wrapper =3D ${command_directory}/postmulti -p --
> multi_instance_enable =3D yes
> multi_instance_directories =3D /etc/postfix /etc/postfix-dmz
> multi_instance_name =3D
>
> and in /etc/postfix-dmz/main.cf
>
> multi_instance_wrapper =3D ${command_directory}/postmulti -p --
> multi_instance_enable =3D yes
> multi_instance_directories =3D /etc/postfix-dmz
>
> July 27, 2026 at 11:50 PM, "Viktor Dukhovni via Postfix-users" <
> [email protected]
> <[email protected]?to=3D%22Viktor%20Dukhovni%20via%20Postfix-user=
s%22%20%3Cpostfix-users%40postfix.org%3E>>
> wrote:
>
> On Mon, Jul 27, 2026 at 12:50:04PM +0000, Michael via Postfix-users wrote=
:
>
> Hi,
>
> When I do the the command postmulti -l I get the following
> -               -               y         /etc/postfix
> -               -               y         /etc/postfix
> postfix-dmz     -       y         /etc/postfix-dmz
>
> Also postmulti -p status gives
> postfix/postfix-script: the Postfix mail system is running: PID: 53437
> postfix/postfix-script: the Postfix mail system is running: PID: 53437
> postfix-dmz/postfix-script: the Postfix mail system is running: PID: 5351=
2
>
>
> You don't have a second instance, but your configuration lists the
> single default instance twice.
>
> What is the setting of "multi_instance_directories" in
> /etc/postfix/main.cf?
>
> --
> Viktor. =F0=9F=87=BA=F0=9F=87=A6 =D0=A1=D0=BB=D0=B0=D0=B2=D0=B0 =D0=A3=D0=
=BA=D1=80=D0=B0=D1=97=D0=BD=D1=96!
> _______________________________________________
> Postfix-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
>
>
> Regards
> Michael Orgill
> Sebis
> Phone: (07) 3892 4170
> Mobile: 0439 735 329
>
> _______________________________________________
> Postfix-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>

--00000000000035036a06579fc6fc
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">1-=C2=A0=C2=A0/etc/postfix/<a href=3D"http://main.cf">main=
.cf</a>:=C2=A0multi_instance_directories =3D /etc/postfix-dmz<br><div>2- re=
move=C2=A0<span style=3D"background-color:transparent">multi_instance_wrapp=
er &amp;=C2=A0</span><span style=3D"background-color:transparent">multi_ins=
tance_directories from=C2=A0</span><span style=3D"background-color:transpar=
ent">/etc/postfix-dmz/</span><a href=3D"http://main.cf/" target=3D"_blank" =
style=3D"background-color:transparent">main.cf</a></div><div>3- (optional) =
set=C2=A0<span style=3D"background-color:transparent">multi_instance_name i=
n both, to different names</span></div><div><span style=3D"background-color=
:transparent"><br></span></div><div><span style=3D"background-color:transpa=
rent">All this is described/explained at=C2=A0</span><span style=3D"backgro=
und-color:transparent"><a href=3D"https://www.postfix.org/MULTI_INSTANCE_RE=
ADME.html#params">https://www.postfix.org/MULTI_INSTANCE_README.html#params=
</a></span></div></div><br><div class=3D"gmail_quote gmail_quote_container"=
><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Jul 27, 2026 at 6:31=E2=80=
=AFPM Michael via Postfix-users &lt;<a href=3D"mailto:postfix-users@postfix=
.org">[email protected]</a>&gt; wrote:<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex"><u></u><div><div>Hi,<br><br>In /etc/postfi=
x/<a href=3D"http://main.cf" target=3D"_blank">main.cf</a><br></div><div><b=
r></div><div>multi_instance_wrapper =3D ${command_directory}/postmulti -p -=
-</div><div>multi_instance_enable =3D yes</div><div>multi_instance_director=
ies =3D /etc/postfix /etc/postfix-dmz</div><div>multi_instance_name =3D</di=
v><div><br>and in /etc/postfix-dmz/<a href=3D"http://main.cf" target=3D"_bl=
ank">main.cf</a><br></div><div><br></div><div>multi_instance_wrapper =3D ${=
command_directory}/postmulti -p --</div><div>multi_instance_enable =3D yes<=
/div><div>multi_instance_directories =3D /etc/postfix-dmz</div><div><br></d=
iv><p>July 27, 2026 at 11:50 PM, &quot;Viktor Dukhovni via Postfix-users&qu=
ot; &lt;<a href=3D"mailto:[email protected]?to=3D%22Viktor%20Dukhov=
ni%20via%20Postfix-users%22%20%3Cpostfix-users%40postfix.org%3E" target=3D"=
_blank">[email protected]</a>&gt; wrote:</p><blockquote>On Mon, Jul=
 27, 2026 at 12:50:04PM +0000, Michael via Postfix-users wrote:<br><blockqu=
ote>Hi,<br> <br> When I do the the command=C2=A0postmulti -l I get the foll=
owing<br> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 y=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0 /etc/postfix<br> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 y=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 /etc/postfix<br> postfix-dmz=C2=A0=C2=A0=C2=A0=
=C2=A0 -=C2=A0 =C2=A0 =C2=A0 =C2=A0y=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0 /etc/postfix-dmz<br> <br> Also=C2=A0postmulti -p status gives<br>=
 postfix/postfix-script: the Postfix mail system is running: PID: 53437<br>=
 postfix/postfix-script: the Postfix mail system is running: PID: 53437<br>=
 postfix-dmz/postfix-script: the Postfix mail system is running: PID: 53512=
</blockquote><br>You don&#39;t have a second instance, but your configurati=
on lists the<br>single default instance twice.<br><br>What is the setting o=
f &quot;multi_instance_directories&quot; in<br>/etc/postfix/<a href=3D"http=
://main.cf" target=3D"_blank">main.cf</a>?<br><br>-- <br>    Viktor.  =F0=
=9F=87=BA=F0=9F=87=A6 =D0=A1=D0=BB=D0=B0=D0=B2=D0=B0 =D0=A3=D0=BA=D1=80=D0=
=B0=D1=97=D0=BD=D1=96!<br>_______________________________________________<b=
r>Postfix-users mailing list -- <a href=3D"mailto:[email protected]=
" target=3D"_blank">[email protected]</a><br>To unsubscribe send an=
 email to <a href=3D"mailto:[email protected]" target=3D"_bla=
nk">[email protected]</a></blockquote><div><br><br></div><div=
>Regards<br>Michael Orgill<br>Sebis<br>Phone: (07) 3892 4170<br>Mobile: 043=
9 735 329</div><div><br></div></div>_______________________________________=
________<br>
Postfix-users mailing list -- <a href=3D"mailto:[email protected]" =
target=3D"_blank">[email protected]</a><br>
To unsubscribe send an email to <a href=3D"mailto:postfix-users-leave@postf=
ix.org" target=3D"_blank">[email protected]</a><br>
</blockquote></div>

--00000000000035036a06579fc6fc--

--===============8901532102917355948==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

--===============8901532102917355948==--