Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Exim seems to be very flexible and configurable. What would be the best approach for me to forward an incoming email to exim to another mail server running on a different port like lamson? I am running exim and lamson on the same ubuntu machine.

Thanks heaps.

share|improve this question
up vote 1 down vote accepted

You need a manualroute router to point to the appropriate transport, where you override the standard port. Something like (untested):

begin routers

    driver = manualroute
    route_list = * byname
    transport = lamson_smtp

begin transports

    driver = smtp
    port = 666
share|improve this answer
it does not work. But maybe it's lamson – Joshua Partogi Apr 15 '10 at 14:45
What do exim logs say? – Dan Andreatta Apr 15 '10 at 15:13
temporarily rejected RCPT ... remote host address is the local host – Joshua Partogi Apr 16 '10 at 0:03
Aaah. It's because lamson and exim is on the same server =( – Joshua Partogi Apr 16 '10 at 1:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.