[Exim] relaying

トップ ページ
このメッセージを削除
このメッセージに返信
著者: omphile
日付:  
To: exim-users
題目: [Exim] relaying
Somebody please help ASAP. I'm in charge of a small network. I have a
sun box to handle our mail. the domain name is cs.ub.bw. at the momemt
users can send mail outside but have problem recieving from outside. our
sun box (dumela.cs.ub.bw has to relay through another machine
(savuti.ub.bw:168.167.8.3) which also runs the dns. what i have noticed
is that savuti doesn't relay to dumela as it should . instead it freezes
some messages and queues the others. other mailboxes like mopipi.ub.bw
have no problems. below are the config files of both machines.
ps: i tried the exim bv , bh and the rest and i still couldn't figure
out the problem.

=================================== savuti conf
==================================


#primary_hostname = savuti


# Specify the domain you want to be added to all unqualified addresses #
here. An unqualified address is one that does not contain an "@"
character # followed by a domain. For example, "caesar@???" is a
fully qualified # address, but the string "caesar" (i.e. just a login
name) is an unqualified # email
address. Unqualified addresses are accepted only from local callers by
# default. See the
receiver_unqualified_{hosts,nets} options if you want # to permit
unqualified addresses from remote
sources. If this option is # not set, the primary_hostname value is
used for qualification.


## If you want unqualified recipient addresses to be qualified with a
different # domain to unqualified sender
addresses, specify the recipient domain here. # If this option is not
set, the qualify_domain
value is used.

qualify_recipient = noka.ub.bw


# Specify your local domains as a colon-separated list here. If this
option # is not set (i.e. not mentioned in
he configuration file), the # qualify_recipient value is used as the
only local domain. If you do
not want # to do any local deliveries, uncomment the following line, but
do not supply # any data
for it. This sets local_domains to an empty string, which is not # the
same as not mentioning it
at all. An empty string specifies that there # are no local domains;
not setting it at all causes
the default value (the # setting of qualify_recipient) to be used.

local_domains = savuti:noka:mopipi:molopo:cs:168.167.12.252:tati


# local_domains_include_host_literals


# No local deliveries will ever be run under the uids of these users (a
colon- # separated list). An attempt to do
so gets changed so that it runs under the # uid of "nobody" instead.
This is a paranoic safety
catch. Note the default # setting means you cannot deliver mail
addressed to root as if it
were a # normal user. This isn't usually a problem, as most sites have
an alias for # root
that redirects such mail to a human administrator.

never_users = root


# The use of your host as a mail relay by any host, including the local
host # calling its own SMTP port, is locked
out by default. If you want to permit # relaying from the local host,
you should set #
#host_accept_relay = localhost # # If you want to permit relaying
through your host from certain hosts
or IP # networks, you need to set the option appropriately, for example
# networks, you need to set the
option appropriately, for example # # host_accept_relay =
my.friends.host : 131.111.0.0/16

host_accept_relay
=noka.ub.bw:mopipi.ub.bw:molopo.ub.bw:dumela.cs.ub.bw:localhost:tati.ub.bw

#
# If you are an MX backup or gateway of some kind for some domains, you
must # set relay_domains to match those domains. 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.

relay_domains
=mopipi.ub.bw:noka.ub.bw:dumela.cs.ub.bw:molopo.ub.bw:savuti.ub.bw:tati.ub.bw:ub.bw

# The setting below causes Exim to do a reverse DNS lookup on all
incoming # IP calls, in order to get the true host
name. If you feel this is too # expensive, you can specify the networks
for which a lookup is
done, or # remove the setting entirely.

# host_lookup = 0.0.0.0/0


# By default, Exim expects all envelope addresses to be fully qualified,
that # is, they must contain both a local
part and a domain. If you want to accept # unqualified addresses (just
a local part) from
certain hosts, you can specify # these hosts by setting one or both of #

#receiver_unqualified_hosts = noka.ub.bw : mopipi.ub.bw : savuti.ub.bw

#receiver_unqualified_nets = 168.167.0.0/255.255.0.0 #
sender_unqualified_hosts = # # to control

sender and receiver addresses, respectively. When this is done, #
unqualified addresses are
qualified using the settings of qualify_domain # and/or
qualify_recipient (see above).


# By default, Exim does not make any checks, other than syntactic ones,
on # incoming addresses during the SMTP dialogue. This reduces delays
in SMTP # transactions, but it does mean that you might accept
messages with unknown # recipients, and/or bad senders.

# Uncomment this line if you want incoming recipient addresses to be
verified # during the SMTP dialogue. Unknown recipients are then
rejected at this stage, - and the generation of a failure message is the
job
of the sending host. # receiver_verify

# Uncomment this line if you want incoming sender addresses
(return-paths) to # be verified during the SMTP dialogue. Verification
can normally only check # that the domain exists.

# sender_verify


# Exim contains support for the Realtime Blocking List (RBL) that is
being # maintained as part of the DNS. See
http://maps.vix.com/rbl/ for background. # Uncommenting the first line
below will make Exim reject
mail from any # host whose IP address is blacklisted in the RBL at
maps.vix.com. Some # others
have followed the RBL lead and have produced other lists: DUL is # a
list of dial-up addresses,
and ORBS is a list of open relay systems. The # second line below
checks all three lists.

# rbl_domains = rbl.maps.vix.com # rbl_domains =
rbl.maps.vix.com:dul.maps.vix.com:relays.orbs.org



# If you want Exim to support the "percent hack" for all your local
domains, # uncomment the following line. This
is the feature by which mail addressed # to x%y@z (where z is one of
your local domains) is
locally rerouted to # x@y and sent on. Otherwise x%y is treated as an
ordinary local part.

# percent_hack_domains = *


end


============================= Dumela configuration
==============================

# Specify your host's canonical name here. This should normally be the
fully # qualified "official" name of your host. If this option is not
set, the # uname() function is called to obtain the name.

primary_hostname = dumela.cs.ub.bw


# Specify the domain you want to be added to all unqualified addresses #
here. An unqualified address is one that
does not contain an "@" character # followed by a domain. For example,
"caesar@???" is a fully
qualified # address, but the string "caesar" (i.e. just a login name)
is an unqualified # email
address. Unqualified addresses are accepted only from local callers by
# default. See the
receiver_unqualified_{hosts,nets} options if you want # to permit
unqualified addresses from remote
sources. If this option is # not set, the primary_hostname value is
used for qualification.

#qualify_domain =cs.ub.bw

If you want unqualified recipient addresses to be qualified with a
different #
domain to unqualified sender addresses, specify the recipient domain
here. # If this option is not set, the
qualify_domain value is used.

qualify_recipient = dumela.cs.ub.bw


# Specify your local domains as a colon-separated list here. If this
option # is not set (i.e. not mentioned in
the configuration file), the # qualify_recipient value is used as the
only local domain. If you do
not want # to do any local deliveries, uncomment the following line, but
do not supply # any data
for it. This sets local_domains to an empty string, which is not # the
same as not mentioning it
at all. An empty string specifies that there # are no local domains;
not setting it at all causes
the default value (the # setting of qualify_recipient) to be used.

local_domains = cs.ub.bw


# If you want to accept mail addressed to your host's literal IP
address, for # example, mail addressed to
"user@???", then uncomment the # following line, or supply
the literal domain(s) as
part of "local_domains" --# example, mail addressed to
"user@???", then uncomment the
# following line, or supply the literal domain(s) as part of
"local_domains" # above. You also
need to comment "forbid_domain_literals" below. This is not #
recommended for today's Internet.

# local_domains_include_host_literals


# The following line prevents Exim from recognizing addresses of the
form # "user@???" that is, with a "domain literal" (an IP
address) # instead of a named domain. The RFCs still require this form,
but
it makes # little sense to permit mail to be sent to specific hosts by
their IP address # in the
modern Internet, and this ancient format has been used by those #
seeking to abuse hosts by using them
for unwanted relaying. If you really # do want to support domain
literals, remove the following line,
and see # also the "domain_literal" router below.

forbid_domain_literals


# No local deliveries will ever be run under the uids of these users (a
colon- # separated list). An attempt to do
so gets changed so that it runs under the # uid of "nobody" instead.
This is a paranoic safety
catch. Note the default # setting means you cannot deliver mail
addressed to root as if it
were a # uid of "nobody" instead. This is a paranoic safety catch.
Note the default # setting
means you cannot deliver mail addressed to root as if it were a #
normal user. This isn't
usually a problem, as most sites have an alias for # root that redirects
such mail to a human
administrator.

never_users = root


# The use of your host as a mail relay by any host, including the local
host # calling its own SMTP port, is locked
out by default. If you want to permit # relaying from the local host,
you should set #

host_accept_relay = savuti.ub.bw:localhost:192.168.1.0/24

# # If you want to permit relaying through
your host from certain hosts or IP # networks, you need to set the
option appropriately, for example #
#host_accept_relay = my.friends.host : 131.111.0.0/16 # # If you are an
MX backup or gateway of some
kind for some domains, you must # set relay_domains to match those
domains. This will allow any host o # relay through your host to those
domains.

relay_domains = cs.ub.bw

#relay_domains_include_local_mx

#
# See the section of the manual entitled "Control of relaying" for more
# information.


# The setting below causes Exim to do a reverse DNS lookup on all
incoming # IP calls, in order to get the true host
name. If you feel this is too # expensive, you can specify the networks
for which a lookup is done, or # remove the
setting entirely.
#
#host_lookup = 192.168.1.0/24


# By default, Exim expects all envelope addresses to be fully qualified,
that # is, they must contain both a local
part and a domain. If you want to accept # unqualified addresses (just
a local part) from
certain hosts, you can specify # these hosts by setting one or both of
# #
receiver_unqualified_hosts =

# receiver_unqualified_hosts = # sender_unqualified_hosts = # # to
control sender and receiver addresses,
respectively. When this is done, # unqualified addresses are qualified
using the settings of qualify_domain #
and/or qualify_recipient (see above).


# By default, Exim does not make any checks, other than syntactic ones,
on # incoming addresses during the SMTP
dialogue. This reduces delays in SMTP # transactions, but it does mean
that you might accept
messages with unknown # recipients, and/or bad senders.

# Uncomment this line if you want incoming recipient addresses to be
verified # during the SMTP dialogue. Unknown recipients are then
rejected at this stage, # and the generation of a failure message is the
job
of the sending host.

# receiver_verify

# Uncomment this line if you want incoming sender addresses
(return-paths) to # be verified during the SMTP
dialogue. Verification can normally only check that the domain exists.

# sender_verify


# Exim contains support for the Realtime Blocking List (RBL) that is
being # maintained as part of the DNS. See
http://maps.vix.com/rbl/ for background. # Uncommenting the first line
below will make Exim reject
mail from any # host whose IP address is blacklisted in the RBL at
maps.vix.com. Some # others
have followed the RBL lead and have produced other lists: DUL is # a
list of dial-up addresses,
and ORBS is a list of open relay systems. The # second line below
checks all three lists.

# rbl_domains = rbl.maps.vix.com # rbl_domains =
rbl.maps.vix.com:dul.maps.vix.com:relays.orbs.org


# If you want Exim to support the "percent hack" for all your local
domains, # uncomment the following line. Thisis the feature by which
mail addressed # to x%y@z (where z is one of your local domains) is
locally rerouted to # x@y and sent on. Otherwise x%y is treated as an
ordinary local part.

# percent_hack_domains = *







begin:vcard
n:Tshipa;Omphile
x-mozilla-html:FALSE
org:EC- Botswana
adr:;;;Gaborone;;;Botswana
version:2.1
email;internet:omphile@???
title:Support Engineer
x-mozilla-cpt:;0
fn:Omphile Tshipa
end:vcard