Re: [exim] Re: How can I tell if my server is getting bombar…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Tommy Butler
CC: exim-users
Tárgy: Re: [exim] Re: How can I tell if my server is getting bombarded with spam?
On Thu, 16 Dec 2004, Tommy Butler wrote:

> > I think[*] the fundamental problem here is that you are unclear about
> > INCOMING relaying and OUTGOING relaying.
>
> You are correct.


Good!

> What if the employees need to be able to send email out from home? Or hotels
> when traveling? How do I alow that?


SMTP authentication, possibly also with encryption (TLS). I think
various people have written How-to's about that.

> What should I put here for domainlist relay_from_hosts ??


Nothing. Get such people to configure their machines to use
authentication and set up suitable authentication on your Exim host.


> > The comments in the default configuration that comes with Exim do, I hope,
> > explain this fairly clearly.
>
> Nope. Here are the comments:
>
> # The next three settings create two lists of domains and one list of hosts.
> # These lists are referred to later in this configuration using the syntax
> # +local_domains, +relay_to_domains, and +relay_from_hosts, respectively. They
> # are all colon-separated lists:


If you continue to read down the file, the next set of comments is this:

# The first setting specifies your local domains, for example:
#
# domainlist local_domains = my.first.domain : my.second.domain
#
# You can use "@" to mean "the name of the local host", as in the default
# setting above. This is the name that is specified by primary_hostname,
# as specified above (or defaulted). If you do not want to do any local
# deliveries, remove the "@" from the setting above. If you want to accept mail
# addressed to your host's literal IP address, for example, mail addressed to
# "user@???", you can add "@[]" as an item in the local domains
# list. You also need to uncomment "allow_domain_literals" below. This is not
# recommended for today's Internet.

# The second setting specifies domains for which your host is an incoming relay.
# If you are not doing any relaying, you should leave the list empty. However,
# if your host is an MX backup or gateway of some kind for some domains, you
# must set relay_to_domains to match those domains. For example:
#
# domainlist relay_to_domains = *.myco.com : my.friend.org
#
# This will allow any host to relay through your host to those domains.
# See the section of the manual entitled "Control of relaying" for more
# information.

# The third setting specifies hosts that can use your host as an outgoing relay
# to any other host on the Internet. Such a setting commonly refers to a
# complete local network as well as the localhost. For example:
#
# hostlist relay_from_hosts = 127.0.0.1 : 192.168.0.0/16
#
# The "/16" is a bit mask (CIDR notation), not a number of hosts. Note that you
# have to include 127.0.0.1 if you want to allow processes on your host to send
# SMTP mail by using the loopback address. A number of MUAs use this method of
# sending mail.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book