Re: [Exim] relay question

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Dave C.
Dátum:  
Címzett: Gary Ferrer
CC: exim-users
Tárgy: Re: [Exim] relay question
On Thu, 18 Apr 2002, Gary Ferrer wrote:

> Hello again,
> I've finally got relaying to work with exim 4!! I have a suspicious
> feeling that I may not have done it correctly so here's the relevant
> sections I'm wondering about:
> ---------------------------------------
> domainlist local_domains = ferrer.yi.org : antis.ch : antis.biz
> domainlist relay_to_domains = *
> hostlist relay_from_hosts = 127.0.0.1 : 192.168.0.0/24 : *.hispeed.ch
>
> acl_smtp_rcpt = acl_check_rcpt
>
> acl_check_rcpt:
>
>         accept domains = +local_domains : +relay_to_domains
>         accept hosts = +relay_from_hosts

>
> ---------------------------------------
>
> So what I needed to do was to allow a remote client (on the hispeed.ch
> network) use the SMTP server to relay it's outgoing mail. Is this setup
> correclty?


Its correct if you want to allow yourself to be an open relay.

What if I set my PTR (for any IP address I might get assigned from an
ISP) to "blah.hispeed.ch".. There, now I can relay thru your server.

'hispeed.ch' is not a network - it is a DNS domain name. There is no
one-to-one relationship between networks and domains.

For clients connection from IP networks not under your control, the use
of SMTP AUTH is the right way to go. The sender has to supply a
username/password pair whih you validate, and permit relay on success.

>
> Thanks.
>
>
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>



--