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
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?)
Ä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
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
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
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
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.
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
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
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
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 =
11 matches
Mail list logo