Re: [Exim] smtp relay

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Dave C.
Datum:  
To: Madan Rai
CC: exim-users
Betreff: Re: [Exim] smtp relay

Domains dont send mail, hosts do. You need to specify what _hosts_ are
allowed to send mail through your server. You can specify hosts by
hostname, but it is strongly preferred to specify numeric IP
addresses/networks as this are *much* more difficult to forge.

If you have persons connecting from random hosts/IP addresses, then the
only secure way (and the only way to keep yourself from getting on every
open relay list on the net) is to use SMTP AUTH.

To repeat, if you set up to permit relay by the sender's email address,
you will be an open relay, you will be providing an insecure relay
service to any spammer that cares to find you, and you will get listed
on the open relay lists.

It is possible to do this, but I will not assist you to set up an open
relay on the Internet and contribute to the spam problem - you will have
to figure it out yourself if you wish to do this irresponsible thing. If
you need help with SMTP AUTH, or with how to specify IP addresses
allowed to relay, I (or others on the list) will be happy to help you if
we can.



On Tue, 13 Nov 2001, Madan Rai wrote:

> thanks for info.
> what i want is ..i have a list of domain names in a mysql table and we want
> these domains to be able to send mail using our smtp server.
> any ideas??
>
>
>
> ----- Original Message -----
> From: "Dave C." <djc@???>
> To: "Madan Rai" <madan.r@???>
> Cc: <exim-users@???>
> Sent: Monday, November 12, 2001 10:54 PM
> Subject: 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/ ##
> > >
> > >
> >
> > --
> >
> >
> >
> > --
> >
> > ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##
> >
> >
>
>


--