[Exim] exim setup as smarthost, sort-of question

Top Page
Delete this message
Reply to this message
Author: Paingod X
Date:  
To: exim-users
Subject: [Exim] exim setup as smarthost, sort-of question
Hello everyone...

I have a server running Debian woody, with Exim 4.20 installed.

I wish to have this server forward mail for several domains from the
internet to an internal exchange server. The only check that needs to
occur here is whether the mail is addressed to someone in one of
those domains. If it is, it should be passed directly to the exchange
server. If it is not, it should be discarded.

For mail coming from inside it should deliver it directly to the
internet site it is addressed to using standard MX forwarding. That
is to say, mail coming from the exchange server inside should be
forwarded directly to its recipients MX server, but only mail coming
from the exchange server (or on the inside interface) should be
forwarded this way.

The server has two interfaces, call them 66.66.66.66 (the internet
side) and 11.22.33.44 (the inside). The exchange server would be
11.22.33.45. We are accepting mail for example.com, example1.com,
example2.com, and example3.com. There could be other domains we
accept in the future.

My question is this: Is there an existing example config similar to
this? Is there simple documentation on how to accomplish this? The
config files for 4.20 are spread out over serveral directories
under /etc/exim4/conf.d/* and I am new to exim. I have done sendmail
configs before, but wish to move to exim.

I am sure this question has been answered before, and if there is a
thread on this list, a pointer to it would be most helpful. I do not
wish to waste anyones time writing my config for me (although if you
have this working already, I'd love to see it) and I am not averse to
reading docs, but the exim docs I have are a little light on this sort
of config.

Thanks!


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com