RE: [Exim] Exim as front door to Exchange

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Dickenson, Steven
Datum:  
To: 'Matt B'
CC: exim-users
Betreff: RE: [Exim] Exim as front door to Exchange
Matt B wrote:
> I run the same setup (But haven't managed to get the manualroute
> going as of yet)..
> Internal exchange server is 192.168.1.11 domain name theoffice.net..
> Email is routed to the externally accessible box on port 25 running
> exim with mailscanner. It works perfect for the domains setup on the
> box itself, but I can't fathom sending to the exchange after
> mailscanner has a shot at the mail. Any ideas?


As I understand it, MailScanner requires you to run Exim as two daemons,
running different queues. Assuming you can get the mail from MailScanner to
the second queue, where it should then be delivered to your Exchange Server,
a manualroute router like so should do it...

manualroute_relay_to_domains:
driver = manualroute
domains = ! +local_domains : +relay_to_domains
transport = remote_smtp
same_domain_copy_routing = yes
route_list = * 192.168.1.11
no_more

This assumes you have a domain list of local_domains setup (which is
probably empty, or maybe '@') and relay_to_domains, containing
'theoffice.net'. This also assumes you only relay for THIS domain. If you
have multiple domains in your relay_to_domains domainlist, you'll want to
tweak the route_list directive. Check the spec file for details on that.

Mailscanner adds another layer of complexity to your setup that I don't have
any experience with. Any reason you choose Mailscanner over Exiscan? They
provide the same basic features.

Steven
---
Steven Dickenson <sdickenson@???>
Network Administrator
The Key School, Annapolis Maryland