Re: [Exim] How-to

Top Page
Delete this message
Reply to this message
Author: Dave C.
Date:  
To: Joe Gofton
CC: exim-users
Subject: Re: [Exim] How-to

Assuming exim v3.x, you want

host_accept_relay = 127.0.0.1

This will not permit hosts other than your own to relay through your
host. Note that this is NOT the same thing as "people who have an
account" - the only way to have any chance to tell _who_ is trying to
relay (as opposed to what IP address they are connecting from, or what
email address they are claiming to be) is to implement SMTP AUTH. THis
is of course only as secure as the passwords that are used. (You could
base it on the envelope sender, but then what is allowed is "anyone who
has an account, and also anyone that forges valid accounts (eg
postmaster) at my domain to try to relay spam (which is quite common)"


On Wed, 11 Jul 2001, Joe Gofton wrote:

> How do I...or is there a line in the config that will "only allow users on
> my specific host" to send AND recieve mail.
> I don't want my server to be able to be used as a spam relay or or anything
> else for that matter. I just did a test
> and right now anyone can relay mail whether they have an account or not.
> They just can't recieve.
>
>
> Joe
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>


--