Hello,
Im administrating a bunch of development and staging debian servers
with exim4.
The current setup looks like this:
-There is and will be no WAN connection on those servers
-All outgoing mails are send via an internal smarthost
What I want to achive is:
1.All outgoing mails, that contain our domain example.com as recipient,
should be allowed to be send to our smarthot
2.All outgoing mails, that do not contain our domain example.com as
recipient, should be redirected
The following router snippet works for the redirection task.
After 5 days of research, try and error, Im still not able to add a
dedicated router for the example.com domain or to
write an exception rule for the catch all redirect below:
catch_all_outgoing:
driver = redirect
data = collector@???
Any help is really welcome.
Greetings
Matthias Mueller