Re: [exim] Exim Restrict outgoing relay by ip address

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Daniel Tiefnig
Dátum:  
Címzett: 'exim users'
Tárgy: Re: [exim] Exim Restrict outgoing relay by ip address
jwexler@??? wrote:
> Question 1: Does anyone know if this is always the case (i.e., that a
> space is present for receipt of outbound relay email but not present
> for inbound regular email for local delivery)? I am hoping that the
> difference of a space is always the case so that they can be
> distinguished in this way.


Jeff,

just a note: You seem to make things more complicated as they need to
be. Again have a look at Bill's e-mail, he outlines two important
principles in exim, or maybe SMTP in general:

1) Allowing relay based on IPs
2) Allowing relay based on authentication

So, the first thing one usually tries to achieve (because it's the
easiest one) is to maintain a list of IPs that are allowed to send
e-mail to non-local recipients. The default configuration for example
contains a hostlist "relay_from_hosts" which is used in the recipient
ACL (acl_check_rcpt in the default config) to allow recipients
independently of whether they are local or remote, if the sending host
is in the "relay_from_hosts" list.

> By the way, in past weeks, I had also tried to restrict
> authorizations via the auth_advertise_hosts variable (and other
> methods) as well but had not been able to get it working that way.


You're not exactly saying what you were trying to achieve, and what then
did actually happen.

> [...] it is because I am using Ubuntu.


When I hear that, I always have to think about this:
http://xkcd.com/424/
SCNR!

lg,
daniel