Re: [Exim] smtp relay

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Dave C.
Dátum:  
Címzett: Madan Rai
CC: exim-users
Tárgy: Re: [Exim] smtp relay
relay_domains is the setting that specifies what domains you will accept
mail FOR (eg, recpients), not where you will accept mail from.

To specify where you want to receive mail from, list
the IP addresses in host_accept_relay that are authorized to relay
through your server. If you have customers on random IP addresses all
over the world, then you need to use SMTP AUTH to verify who they are so
that they can relay..

On Sat, 10 Nov 2001, Madan Rai wrote:

> hi
> we are having problem with smtp relay allow for users who have service with
> us.we have dial up users as well as hosted domain names with us. we have all
> these hosted domain names in a mysql table. and in exim we want to allow
> relaying for these domain names thru lookup in mysql.. even if the user is
> using other ISP for accessing internet.
>
> what we want is:
>
> If domain is in mysql table then relay ( i.e emails which are created on
> these domain names should be able to use our smtp to send email on any host
> on the internet, even when the user is accessing internet thru another ISP )
> If our dial up IP address and not in table still relay
>
> we have made following changes in config but it seems to be not giving me
> expected output.
>
> #relay_domains = mysql;SELECT LOCAL FROM LOCALDOMAINS WHERE LOCAL LIKE
> SUBSTRING_INDEX('$key', '.',-2);
>
> #relay_domains = mysql;select LOCAL from LOCALDOMAINS where LOCAL = '$key';
>
> host_accept_relay = 203.73.133.0/19
>
> both of the above mysql queries in relay_domains are not helping me out.
>
> thx
> madan
>
>
>
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>


--