I am seeing an issue with domain relaying, can someone spot what the
problem is, and how to fix?
I have set relay_domains with:
(full config file at the end of this message)
relay_domains = /opt/exim/accept.relay-domains
and in this file is:
more /opt/exim/accept.relay-domains
multimedia.edu : vfs.com: dotaku.com: gekkofilms.com: vfslive.com:\
funlove.com: mercuryfilmworks.com: studiobproductions.com:
dickandrogers.com:\
industrialbrand.com: whataboutmimi.com: sentientmetasystems.com:\
michaelrichardplowman.com: sentientmeta.com: signalfilms.com
when i do ./exim -bh 209.17.176.194 -d9:
griffin:/opt/exim/bin# ./exim -bh 209.17.176.194 -d9
Exim version 3.15 debug level 9 uid=0 gid=0
probably ndbm
Reset TZ to PDT8PST: time is 2001-04-09 10:17:36
Caller is an admin user
Caller is a trusted user
sender address = root@???
sender_fullhost = [209.17.176.194]
sender_rcvhost = [209.17.176.194]
**** SMTP testing session as if from host 209.17.176.194
**** Not for real!
host in host_lookup? yes (0.0.0.0/0)
looking up host name for 209.17.176.194
IP address lookup yielded web.mercuryfilmworks.com
Actual local interface address is 199.175.7.180
Actual local interface address is 127.0.0.1
mail.mercuryfilmworks.com 209.17.176.194 -1
sender_fullhost = web.mercuryfilmworks.com [209.17.176.194]
sender_rcvhost = web.mercuryfilmworks.com ([209.17.176.194])
set_process_info: 528171 3.15 handling incoming connection from
web.mercuryfilmworks.com [209.17.176.194]
host in host_reject? no (option unset)
host in host_reject_recipients? no (option unset)
host in rbl_hosts? yes (*)
checking RBL domain rbl.maps.vix.com/reject
DNS lookup of 194.176.17.209.rbl.maps.vix.com (A) gave HOST_NOT_FOUND
RBL lookup for 194.176.17.209.rbl.maps.vix.com failed
=> that means it's not black listed at rbl.maps.vix.com
checking RBL domain relays.mail-abuse.org
DNS lookup of 194.176.17.209.relays.mail-abuse.org (A) gave
HOST_NOT_FOUND
RBL lookup for 194.176.17.209.relays.mail-abuse.org failed
=> that means it's not black listed at relays.mail-abuse.org
host in sender_unqualified_hosts? no (option unset)
host in receiver_unqualified_hosts? no (option unset)
host in helo_verify? no (option unset)
host in helo_accept_junk_hosts? no (option unset)
220-Welcome! This system does not accept Unsolicited Commercial Email
and will
220-blacklist offenders through RBL and our internal list. Have a
nice day!
220-
220 griffin.multimedia.edu ESMTP Exim 3.15 Mon, 09 Apr 2001 10:17:36 -
0700
220-Welcome! This system does not accept Unsolicited Commercial Email
and will
220-blacklist offenders through RBL and our internal list. Have a
nice day!
220-
220 griffin.multimedia.edu ESMTP Exim 3.15 Mon, 09 Apr 2001 10:17:36 -
0700
smtp_setup_msg entered
MAIL FROM:<derrick@???>
SMTP<< MAIL FROM:<derrick@???>
derrick@??? in sender_reject? no (option unset)
derrick@??? in sender_reject_recipients? no (option
unset)
250 <derrick@???> is syntactically correct
250 <derrick@???> is syntactically correct
RCPT TO:<derrick@???>
SMTP<< RCPT TO:<derrick@???>
search_open: lsearch "/opt/exim/aliases/domains"
search_find: file="/opt/exim/aliases/domains"
key="mercuryfilmworks.com" partial=-1
LRU list:
6/opt/exim/aliases/domains
End
internal_search_find: file="/opt/exim/aliases/domains"
type=lsearch key="mercuryfilmworks.com"
file lookup required for mercuryfilmworks.com
in /opt/exim/aliases/domains
lookup failed
mercuryfilmworks.com in local_domains? no (end of list)
mercuryfilmworks.com in relay_domains? no (end of list)
host in host_accept_relay? no (end of list)
550 relaying to <derrick@???> prohibited by
administrator
550 relaying to <derrick@???> prohibited by
administrator
LOG: 1 MAIN REJECT
refused relay (host) to <derrick@???> from
<derrick@???> H=web.mercuryfilmworks.com
[209.17.176.194]
# Runtime configuration file for Exim #
smtp_banner = "Welcome! This system does not accept Unsolicited \
Commercial Email and will\nblacklist offenders through RBL and
our \
internal list. Have a nice day!\n\n${primary_hostname} ESMTP
Exim \
${version_number} ${tod_full}"
# MAIN CONFIGURATION SETTINGS #
deliver_load_max = 5.0
return_size_limit = 10k
auto_thaw = 8h
ignore_errmsg_errors_after = 2h
message_filter = /opt/exim/system_filter
message_body_visible = 15000
primary_hostname = griffin.multimedia.edu
local_domains
= "griffin.multimedia.edu:multimedia.edu:griffin.vfs.com\
:vfs.com:mail.multimedia.edu:interlexual.com:\
lsearch;/opt/exim/aliases/domains"
never_users = root
host_lookup = 0.0.0.0/0
rbl_domains = rbl.maps.vix.com/reject : relays.mail-abuse.org
#rbl_reject_recipients = true
rbl_log_headers
rbl_log_rcpt_count
relay_domains = /opt/exim/accept.relay-domains
host_accept_relay = "199.175.7.0/24 : \
207.6.130.0/24 : \
207.6.131.0/24 : \
207.6.129.0/24 : \
207.6.128.0/24 : \
255.255.255.255/32"
# This is where the max size of a message gets set.
message_size_limit = 10000000
end
# TRANPORTS CONFIGURATION #
local_delivery:
driver = appendfile
file = /var/mail/${local_part}
group = mail
mode = 0660
address_pipe:
driver = pipe
return_output
address_file:
driver = appendfile
address_directory:
driver = appendfile
no_from_hack
prefix = ""
suffix = ""
address_reply:
driver = autoreply
# This transport is used for delivering messages over SMTP
connections.
remote_smtp:
driver = smtp
end
######################################################################
# DIRECTORS CONFIGURATION #
# Specifies how local addresses are handled #
system_aliases:
domains = "! lsearch;/opt/exim/aliases/domains : \
*"
driver = aliasfile
file_transport = address_file
pipe_transport = address_pipe
file = /etc/aliases
search_type = lsearch
user = exim
accounts:
driver = smartuser
# domains = "domain.addresses.are.in.if.needed"
local_parts = "^quer*[a-z,0-9]+"
new_address = "registrar@???"
queries:
driver = smartuser
local_parts = "^q[0-9]+"
new_address = "registrar@???"
userforward:
domains = "! lsearch;/opt/exim/aliases/domains : \
*"
driver = forwardfile
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
no_verify
check_ancestor
file = .forward
filter
# This director matches local user mailboxes.
localuser:
domains = "! lsearch;/opt/exim/aliases/domains : \
*"
driver = localuser
transport = local_delivery
virtual:
domains = "lsearch;/opt/exim/aliases/domains"
driver = aliasfile
file_transport = address_file
pipe_transport = address_pipe
no_more
file = /opt/exim/aliases/$domain-aliases
search_type = lsearch
end
# ROUTERS CONFIGURATION #
# Specifies how remote addresses are handled #
lookuphost:
driver = lookuphost
transport = remote_smtp
literal:
driver = ipliteral
transport = remote_smtp
end
######################################################################
# RETRY CONFIGURATION #
######################################################################
* * F,2h,15m; G,48h,2h,1.5; F,4d,8h
end