Re: Most users local, some users (same domain) rerouted via transport

2012-12-21 Thread Ignacio Vazquez
Just for the record I found a workaround that makes not mandatory specifying the remote users. It's a kind of a mixture local/virtual: mydomain = example.com mydestination = $myhostname localhost.$mydomain localhost $mydomain transport_maps = hash:/etc/postfix/transport local_recipient_maps = $tran

Re: Most users local, some users (same domain) rerouted via transport

2012-12-21 Thread Ignacio Vazquez
2012/12/20 Viktor Dukhovni : > Instead of resolving an unmodified rfc822 address to a different > transport:nexthop, rewrite the rfc822 address (via virtual_alias_maps) > to a domain which is routed (via MX records or per-nexthop transport > table entries) to that transport:nexthop. I've test this

Re: Most users local, some users (same domain) rerouted via transport

2012-12-20 Thread Ignacio Vazquez
Thank you for your interest, Viktor. 2012/12/20 Viktor Dukhovni : > Instead of resolving an unmodified rfc822 address to a different > transport:nexthop, rewrite the rfc822 address (via virtual_alias_maps) > to a domain which is routed (via MX records or per-nexthop transport > table entries) to t

Most users local, some users (same domain) rerouted via transport

2012-12-20 Thread Ignacio Vazquez
I have a mailhost with most of the domain users delivered locally and some users (same domain) residing in other machines. The relevant configuration: mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain local_recipient_maps = proxy:unix:passwd.byname, $alias_maps, ldap:/etc/postf

Re: transport between servers with the same domain

2009-07-02 Thread Ignacio Vazquez
2009/6/29, Ignacio Vazquez : > Hi there, > > We have a mail relay in the DMZ (SRV1) which receives all mail sent to > example dot com, but we also have an additional server on the internal > network (SRV2) wich receives some mails from the same domain. To do > this in SRV1, the t

Re: transport between servers with the same domain

2009-07-01 Thread Ignacio Vazquez Alvarez
Ralf Hildebrandt escribió: > * Ignacio Vazquez : > > >> 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 (th

Re: transport between servers with the same domain

2009-06-30 Thread Ignacio Vazquez
It seems like postfix doesn't like two transports (regexp and hash) in the transport_maps... ¿could anyone help me? 2009/6/29 Ignacio Vazquez > Hi there, > > We have a mail relay in the DMZ (SRV1) which receives all mail sent to > example dot com, but we also have an additio

transport between servers with the same domain

2009-06-29 Thread Ignacio Vazquez
Hi there, We have a mail relay in the DMZ (SRV1) which receives all mail sent to example dot com, but we also have an additional server on the internal network (SRV2) wich receives some mails from the same domain. To do this in SRV1, the transport has: us...@example.com smtp:ip_SRV2 us...@example.