Hello,

On Fri, Apr 04, 2025 at 11:25:41AM +0200, Matus UHLAR - fantomas via 
Postfix-users wrote:
> Perhaps you could use "-C config_dir" option to specify config path of
> another postfix instance, but I'm not sure it's a good idea.

On this topic, I was trying to make so sendmail uses a different
config file.  I configured the appropriate alternate_config_directories
in main.cf, then symlinked all configs, excepts main.cf from the
new directory to the old, then modified main.cf.

Even when specifying -C parameter or MAIL_CONFIG environnement variable,
I was not able to change non_smtpd_milters between the normal config
and the new one.

Is is supposed to work, or will sendmail simply use my new config but
then contact the daemons that will do the milter calls themselves,
ignoring the new config?

In short, what I try to do:

- local mail submission through sendmail should use

     non_smtpd_milters = inet:localhost:17789

- except for a single case where I want to bypass milters

Any idea except running a completely different Postfix daemons set
on different spool directories?

Thank you.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to