Ralf Hildebrandt escribió: > * Ignacio Vazquez <[email protected]>: > > >> It seems like postfix doesn't like two transports (regexp and hash) in the >> transport_maps... >> > > No, that works like a charm > > I think I found where is the problem... In SRV2 (the internal server) i have:
cat /etc/postfix/transport_mailman /^[email protected]$/ local: /[email protected]/ smtp:ip_SRV1 cat /etc/mail/mailman bol_test: "|/usr/lib/mailman/mail/mailman" ... cat /etc/postfix/transport [email protected] local: example.com smtp:ip_SRV1 cat /etc/mail/sympa_aliases user1: "| /home/sympa/bin/queue" If i send a mail to [email protected] postfix knows that it's local and looks aliases (/etc/mail/mailman) and the command is executed. However, if i send a mail to [email protected], it is relayed to SRV1 although in /etc/postfix/transport i say user1 is local. Well, i think the problem is in the line of etc/postfix/transport_mailman: /[email protected]/ smtp:ip_SRV1 I added this line to specify "all directions other than /^[email protected]$/, send it to srv1" Does this line is needed? What is the best way to do what I explained?
