[Exim] Lowest Numbered MX issue / After upgrade

Top Page
Delete this message
Reply to this message
Author: Nick
Date:  
To: exim-users
New-Topics: [Exim] Reducing mysql load
Subject: [Exim] Lowest Numbered MX issue / After upgrade
We recently upgraded from exim3.36 to 4.24,
We used the scripts that come with Exim to
rewrite our old exim configure file for the most part
and they seemed to work fine. Our server reads from
a domain file and an aliases file (both .cdb's)
and then forwards mail based on what is in the
aliases file. Since the upgrade, A very high percentage
of deliveries are displaying this :

lowest numbered MX record points to local host: domain.com (while verifying
<wqew@???> from host (uuuu.net) [193.79.xxx.xxx])

now domain.com is in our virtuals file, and we want to
accept mail for it and forward messages to domain2.com
in this case. I just don't really understand what took
place during the upgrade that would cause this.

Any suggestions? I will include our 4.24 configure file
below. As well as our exim 3.36 configure file.

Thanks in advance

Nick

-- Begin Exim 4.2.4 configure file --

acl_smtp_rcpt = check_recipient
acl_smtp_data = check_message

domainlist local_domains = cdb;/home/exim/virtuals.cdb

hostlist relay_hosts = 10.0.0.0/8 : \
    172.16.1.0/24 : \



primary_hostname = (the MX users set their domain to)

log_file_path =


hosts_treat_as_local = (alternate MX users can use)

#!!# forbid_domain_literals replaced by allow_domain_literals
allow_domain_literals = false

never_users = root

smtp_accept_max = 500
spool_directory = /home/exim/spool
split_spool_directory
rfc1413_query_timeout = 0s
exim_user = 8
exim_group = 12
#!!# security=unprivileged changed to deliver_drop_privilege
deliver_drop_privilege


#rbl_domains = relays.ordb.org

#!!# ignore_errmsg_errors_after renamed ignore_bounce_errors_after
ignore_bounce_errors_after = 60m

timeout_frozen_after = 1d
auto_thaw = 4h


begin acl

#!!# ACL that is used after the RCPT command
check_recipient:
  # Exim 3 had no checking on -bs messages, so for compatibility
  # we accept if the source is local SMTP (i.e. not over TCP/IP).
  # We do this by testing for an empty sending host field.
  accept  hosts = :
  accept  recipients = postmaster@???
  deny    message = host is listed in $dnslist_domain
          dnslists = bl.spamcop.net:relays.ordb.org:sbl.spamhaus.org
  deny    senders = @@lsearch*;/home/exim/badsenders
  deny    message = unrouteable address
         !verify = recipient
  accept  domains = +local_domains
  accept  hosts = +relay_hosts
  deny    message = relay not permitted


#!!# ACL that is used after the DATA command
check_message:
accept



begin routers


lookuphost:
driver = dnslookup
domains = ! +local_domains
ignore_target_hosts = 127.0.0.0/8
transport = remote_smtp
no_more



virtuals:
driver = redirect
allow_defer
allow_fail
data = ${lookup{$local_part@$domain}cdb*@{/home/exim/aliases.cdb}}
domains = cdb;/home/exim/virtuals.cdb
no_more
retry_use_local_part



system_aliases:
driver = redirect
allow_defer
allow_fail
data = ${lookup{$local_part}lsearch{/etc/aliases}}
file_transport = address_file
pipe_transport = address_pipe
retry_use_local_part




localuser:
driver = accept
check_local_user
transport = local_delivery



begin transports

remote_smtp:
driver = smtp
connect_timeout = 30s
message_size_limit = 5M


local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
file = /var/mail/$local_part
return_path_add



address_pipe:
driver = pipe
return_output



address_file:
driver = appendfile
delivery_date_add
envelope_to_add
return_path_add



address_reply:
driver = autoreply



#*                      *           F,2h,15m; G,16h,1h,1.5; F,2d,8h
#*                      *           F,2h,20m; G,10h,1h,1.5; F,1d,8h


begin retry
*                      *           F,2h,15m; G,8h,40m,1.0; F,2d,6h


# End of Exim 4 configuration

-- end --

-- Begin Exim 3.36 configure file --
primary_hostname = (same as above)

log_file_path =

local_domains = cdb;/home/exim/virtuals.cdb

hosts_treat_as_local    = (same as above)


forbid_domain_literals

never_users = root

host_accept_relay = 10.0.0.0/8
smtp_accept_max=280
spool_directory=/home/exim/spool
split_spool_directory=true
rfc1413_query_timeout = 0s
exim_user = 8
exim_group = 12
security = unprivileged
sender_reject_recipients = @@lsearch*;/home/exim/badsenders
recipients_reject_except = postmaster@???

receiver_verify

#rbl_domains = relays.ordb.org
rbl_domains =
bl.spamcop.net:blackholes.mail-abuse.org:relays.ordb.org:sbl.spamhaus.org

ignore_errmsg_errors_after = 60m

timeout_frozen_after = 1d
auto_thaw = 4h


remote_smtp:
driver = smtp
connect_timeout = 20s
message_size_limit = 5M


local_delivery:
driver = appendfile
file = /var/mail/$local_part
delivery_date_add
envelope_to_add
return_path_add



address_pipe:
driver = pipe
return_output



address_file:
driver = appendfile
delivery_date_add
envelope_to_add
return_path_add



address_reply:
driver = autoreply



virtuals:
driver = aliasfile
domains = cdb;/home/exim/virtuals.cdb
file = /home/exim/aliases.cdb
search_type = cdb*@
include_domain
no_more



system_aliases:
driver = aliasfile
file = /etc/aliases
search_type = lsearch
file_transport = address_file
pipe_transport = address_pipe




localuser:
driver = localuser
transport = local_delivery



lookuphost:
driver = lookuphost
transport = remote_smtp
ignore_target_hosts = 127.0.0.0/8


*                      *           F,2h,20m; G,10h,1h,1.5; F,1d,8h



-- end --