Re: [Exim] Relay

Góra strony
Delete this message
Reply to this message
Autor: Rahul
Data:  
Dla: Tor Slettnes
CC: exim-users
Temat: Re: [Exim] Relay
HI,

Basically I wanted to use one server as pop/smtp and i tried many options
but i was unable to send(outgoing) mail through that server.

Again my question is that i want only those domains to send mail through
mx.rahul.com who have the MX records as mx.rahul.com no one else..

Rahul


----- Original Message -----
From: "Tor Slettnes" <tor@???>
To: "Rahul" <rahul.b@???>
Cc: <exim-users@???>
Sent: Thursday, April 08, 2004 4:19 PM
Subject: Re: [Exim] Relay


>
> On Apr 8, 2004, at 03:06, Rahul wrote:
>
> > Is it possible to have domain based relay on exim 4.20.
>
> Yes, it is possible. Depending on what you mean, it is stupid, but
> possible.
>
> So what DO you mean by a "domain based relay"? I see two possibilities:
>
> - Hopefully, you are asking whether it is possible to relay _incoming_
> mail to a domain, then the default configuration should work fine.
> Simply add the domain(s) in question to the "+relay_to_domains" domain
> list. For instance, the following line (+ create the corresponding
> file) in the main section:
>
>     domainlist relay_to_domains = /etc/exim4/relay-to-domains

>
>
> - If you are asking whether it is possible to relay _outgoing_ mail
> from a particular domain, you'll have to do a little bit of legwork by
> way of writing custom ACL conditions. Also: BE VERY CAREFUL TO NOT MAKE
> YOUR SERVER AN OPEN RELAY! For instance, you should never allow the
> use of the calling party's HELO greeting ($sender_helo_name) or the
> MAIL FROM: address as keys, unless you can verify these. At MINIMUM,
> you should lookup the sender's IP address yourself; and you need to be
> able to do a two-way DNS lookup (e.g. sender IP address -> host name;
> host name -> IP address). Otherwise, a would-be-proxy-hijacker with
> control of a rDNS zone could easily point an IP address to an
> "authorized" domain name.
>
> Since your question is really vague, there is not really any way to
> help you further, until you state a little bit more clearly what you
> want to do.
>
> -tor
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim

details at http://www.exim.org/ ##
>
>