Ralf Hildebrandt escribió:
> * Ignacio Vazquez <ivai...@gmail.com>:
>
>   
>> 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
/^bol...@example.com$/           local:
/....@cert.inteco.es/              smtp:ip_SRV1

cat /etc/mail/mailman
bol_test:                       "|/usr/lib/mailman/mail/mailman"
...

cat /etc/postfix/transport
us...@example.com    local:
example.com          smtp:ip_SRV1

cat /etc/mail/sympa_aliases
user1:  "| /home/sympa/bin/queue"


If i send a mail to bol_t...@example.com postfix knows that it's local
and looks aliases (/etc/mail/mailman) and the command is executed.
However, if i send a mail to us...@example.com, 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:
/....@cert.inteco.es/ smtp:ip_SRV1
I added this line to specify "all directions other than
/^bol...@example.com$/, send it to srv1"

Does this line is needed?
What is the best way to do what I explained?

Reply via email to