[exim] Exim as local Proxy

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Knaupp, Thomas
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] Exim as local Proxy
Hi all,

I want to use exim as local proxy for
another MTA (to scan for viri, etc.).

Other MTA: port 10025
Exim:      port 25


Exim should route all incoming messages
for two domains to the local MTA on port 25.

So I used:

domainlist local_domains = mail.servername.tld
domainlist relay_to_domains = 1stdomain.tld : 2nddomain.tld
.....
Routers:
private_route:
  driver = manualroute
  transport = local_proxy
  route_list = 1stdomain.tld localhost; \
               2nddomain.tld localhost; \
.....
Transports:
local_proxy:
  driver = smtp
  port = 10025



If I try to send mail it ends up with:

LOG: MAIN
remote host address is the local host: 1stdomain.tld
LOG: MAIN
== user@??? R=private_route defer (-1): remote host address
is the local host
LOG: MAIN
Frozen



I know, that it's the local host : ) And that's how it should
be ... Any suggestions ? Did I use the wrong driver or anything else ?


Regards,
Tom