SV: SV: SV: Redirecting all, but two, domains.

2011-03-25 Thread Jan Johansson
The * entry is not required, that's what default_transport is for. If you want non-default nexthops for the relay_domains, just use the default setting of relay_transport = relay without an explicit nexthop. Hello! Your original suggestion has now been tested, but there is some issue with the

SV: SV: Redirecting all, but two, domains.

2011-03-22 Thread Jan Johansson
This is easy. How does Postfix decide the nexthop for a given domain? What controls do you have? I suppose a transport map in the ways of .domain-a.se : .domain-b.se : * smtp:[127.0.0.1]:10035 In addition to your recepie should work? (Domain-a and domain-b being the normal domains?)

SV: SV: Redirecting all, but two, domains.

2011-03-22 Thread Jan Johansson
Ämne: SV: SV: Redirecting all, but two, domains. This is easy. How does Postfix decide the nexthop for a given domain? What controls do you have? I suppose a transport map in the ways of .domain-a.se : .domain-b.se : * smtp:[127.0.0.1]:10035 In addition to your recepie should work? (Domain

Re: SV: SV: Redirecting all, but two, domains.

2011-03-22 Thread Victor Duchovni
On Tue, Mar 22, 2011 at 07:27:27AM +, Jan Johansson wrote: A bit of a goof there... domain-a.se : domain-b.se : * smtp:[127.0.0.1]:10035 The * entry is not required, that's what default_transport is for. If you want non-default nexthops for the relay_domains, just use the default

SV: SV: SV: Redirecting all, but two, domains.

2011-03-22 Thread Jan Johansson
The * entry is not required, that's what default_transport is for. If you want non-default nexthops for the relay_domains, just use the default setting of relay_transport = relay without an explicit nexthop. So in other words I should say Thanks for the rewrite-recepie, that one I would not have

Re: Redirecting all, but two, domains.

2011-03-22 Thread Victor Duchovni
On Tue, Mar 22, 2011 at 02:03:12PM +, Jan Johansson wrote: The * entry is not required, that's what default_transport is for. If you want non-default nexthops for the relay_domains, just use the default setting of relay_transport = relay without an explicit nexthop. So in other words I

SV: Redirecting all, but two, domains.

2011-03-22 Thread Jan Johansson
Everything I suggested is standard transport behaviour. Well, granted. Maybe i should have said The rest is trivial. Your suggestion about the pcre/pot 10035 was definitely over _my_ Postfix horizon.

Re: SV: Redirecting all, but two, domains.

2011-03-22 Thread Victor Duchovni
On Tue, Mar 22, 2011 at 02:29:18PM +, Jan Johansson wrote: Everything I suggested is standard transport behaviour. Well, granted. Maybe i should have said The rest is trivial. Your suggestion about the pcre/pot 10035 was definitely over _my_ Postfix horizon. The REDIRECT feature is

Redirecting all, but two, domains.

2011-03-21 Thread Jan Johansson
I've been playing around with this for a bit, but I cannot find a smooth'n'easy way to do it... Basically we have a server that is primarily a testing environment for a couple of web based applications. These applications send mail. (Big surprise) These applications have a config switch

SV: Redirecting all, but two, domains.

2011-03-21 Thread Jan Johansson
main.cf: relay_domains = example.com relay_transport = relay:[mail.example.com] default_transport = smtp:[127.0.0.1]:10035 smtpd_restriction_classes = redirect_all retable = pcre:${config_directory}/ redirect_all = check_client_access

Re: SV: Redirecting all, but two, domains.

2011-03-21 Thread Victor Duchovni
On Tue, Mar 22, 2011 at 04:48:03AM +, Jan Johansson wrote: main.cf: relay_domains = example.com relay_transport = relay:[mail.example.com] default_transport = smtp:[127.0.0.1]:10035 smtpd_restriction_classes = redirect_all retable =