SZ??KELYI Szabolcs:
> Ralf Hildebrandt wrote:
> > * SZ?KELYI Szabolcs <[email protected]>:
> >> Hi,
> >>
> >> I can't figure out why but to me it looks like smtpd instances started
> >> from master.cf don't pick up all the parameter assignments. I have an
> >> smtpd transport defined as:
> >>
> >> 10.121.8.1:smtp inet n - n - - smtpd
> >> -o local_transport=vpn-procmail
> >
> > smtpd knows no "local_transport"
> >
> > see man smtpd
>
> Thanks, I see now that my problem is somewhere around trivial-rewrite.
You should probably set up a second Postfix instance with its own
IP address, and with its own local_transport setting.
# Create instance with /etc/postfix-foo, /var/spool/postfix-foo, etc.
postmulti -e init
postmulti -I postfix-foo -e create
# Configure IP address, local_transport and myhostname.
postmulti -i postfix-foo -x postconf -e local_transport=vpn-procmail \
inet_interfaces=10.121.8.1 myhostname=foo.example.com
# Turn on the new instance.
postmulti -i postfix-foo -e enable
postmulti -i postfix-foo -p start
# List the status of all Postfix instances.
postfix status
Wietse