Christophe Denuzi?re - Sutunam: > 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.
export MAIL_CONFIG=/etc/postfix2 /usr/sbin/sendmail -f sender recipient... But, it would be much easier to make the other instance the primary. > 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 That is too late. Wietse