Hi,

I would like to have all mail sent via pickup (php, command line, ...) to
be send throught another postfix instance.
This instance act as a relay to the first instance. The idea is to apply
policies on these mails.

I've setuped multipostfix instance and both work like a charm.
Now I try without success to configure pickup for use the second postfix
instance.

So in /etc/postfix/master.cf i've this line:
pickup    fifo  n       -       -       60      1       pickup -o
config_directory=/etc/postfix2 -o syslog_name=postfix/postfixpickup

The syslog parameter work well but not the config directory one.
Mail are still directly sent by first postfix instance.

If I modify my php.ini to
sendmail_path = sendmail -C /etc/postfix2 -t -i
Mails sent via php use the good way (pickup > smtp on postfix2)

####
Do I mistake my conf ?
Is there another way to have all mails sent via pickup to use the second
postfix instance ?

Best,
Chris

Reply via email to