Re: [exim] eximconfig .

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Dave Evans
日付:  
To: exim-users
題目: Re: [exim] eximconfig .
First off, in acl_check_rcpt, change

acl_check_rcpt: *

# Accept if the source is local SMTP (i.e. not over TCP/IP). We do this by
# testing for an empty sending host field.

accept hosts = *

back to

acl_check_rcpt:

# Accept if the source is local SMTP (i.e. not over TCP/IP). We do this by
# testing for an empty sending host field.

accept hosts = :

(which is what the default config file would have said). You really don't want
to be an open spam relay. Honest.

On Sat, Aug 09, 2008 at 02:45:40AM -0700, 91change wrote:
> I am looking for a simple relay exim configuration file . Which does a relay
> to MX for all users . No need for any checking .


Define "all users". Are your users all on certain IP ranges (e.g.
10.0.0.0/8), or do you have roaming users, which would therefore mean that
you'd need to support SMTP AUTH of some kind?

If you don't need SMTP AUTH, that makes things a lot simpler. Your access
control (which you definitely need) would simply be relay_from_hosts, which it
looks like you've already configured.

For your needs, relay_to_domains should probably be empty:

relay_to_domains =

You say "relay to MX", but your config as it stands looks like it's trying to
send mail on to a smarthost, 10.232.18.211. Which do you want?

If you want to send all mail to MX, you should delete the smarthost router,
change "domains = *" to "domains = !+local_domains" on the dnslookup router,
and maybe add "no_verify" to the dnslookup router.

You'll also need to either set the SYSTEM_ALIASES_FILE macro (e.g. exim
-DSYSTEM_ALIASES_FILE=/etc/aliases) or replace SYSTEM_ALIASES_FILE in your
config with the path to the file.

That should be sufficient. Let us know how you get on.

Regards,

--
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey