I am not sure what to look for entirely.. I have domains and domain settings configured.

Here is the output of the command using one domain being rejected:

root@relay-1:/etc/exim4# exim -d -bv [email protected]
Exim version 4.76 uid=0 gid=0 pid=3176 D=fbb95cfd
Berkeley DB: Berkeley DB 5.1.25: (January 28, 2011)
Support for: crypteq iconv() IPv6 PAM Perl Expand_dlfunc GnuTLS move_frozen_messages Content_Scanning DKIM Old_Demime Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql sqlite
Authenticators: cram_md5 cyrus_sasl dovecot plaintext spa
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Compiler: GCC [4.6.3]
Library version: GnuTLS: Compile: 2.12.14
                         Runtime: 2.12.14
Library version: Cyrus SASL: Compile: 2.1.25
                             Runtime: 2.1.25 [Cyrus SASL]
Library version: PCRE: Compile: 8.12
                       Runtime: 8.12 2011-01-15
Total 18 lookups
Library version: MySQL: Compile: 5.5.28 [(Ubuntu)]
                        Runtime: 5.5.28
Library version: SQLite: Compile: 3.7.9
                         Runtime: 3.7.9
WHITELIST_D_MACROS: "OUTGOING"
TRUSTED_CONFIG_LIST: "/etc/exim4/trusted_configs"
changed uid/gid: forcing real = effective
  uid=0 gid=0 pid=3176
  auxiliary group list: <none>
seeking password data for user "uucp": cache not available
getpwnam() succeeded uid=10 gid=10
configuration file is /var/lib/exim4/config.autogenerated
log selectors = 00000ffc 00612001
trusted user
admin user
changed uid/gid: privilege not needed
  uid=111 gid=119 pid=3176
  auxiliary group list: 119
seeking password data for user "mail": cache not available
getpwnam() succeeded uid=8 gid=8
user name "root" extracted from gecos field "root"
originator: uid=0 gid=0 login=root name=root
sender address = [email protected]
Verifying: uid=111 gid=119 euid=111 egid=119
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Verifying [email protected]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering [email protected]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing [email protected]
--------> hubbed_hosts router <--------
local_part=sripley domain=domain.k12.mn.us
checking domains
expansion of "${if exists{/etc/exim4/hubbed_hosts}{partial-lsearch;/etc/exim4/hubbed_hosts}fail}" forced failure: assume not in this list
hubbed_hosts router skipped: domains mismatch
--------> dnslookup_relay_to_domains router <--------
local_part=sripley domain=domain.k12.mn.us
checking domains
domain.k12.mn.us in "@:localhost:relay-1.domain.org"? no (end of list)
domain.k12.mn.us in "empty"? no (end of list)
domain.k12.mn.us in "! +local_domains : +relay_to_domains"? no (end of list)
dnslookup_relay_to_domains router skipped: domains mismatch
--------> dnslookup router <--------
local_part=sripley domain=domain.k12.mn.us
checking domains
cached no match for +local_domains
cached lookup data = NULL
domain.k12.mn.us in "! +local_domains"? yes (end of list)
R: dnslookup for [email protected]
calling dnslookup router
dnslookup router called for [email protected]
  domain = domain.k12.mn.us
DNS lookup of domain.k12.mn.us (MX) succeeded
DNS lookup of relay-2.domain.org (AAAA) gave NO_DATA
returning DNS_NODATA
DNS lookup of relay-2.domain.org (A) succeeded
10.10.4.20 in "0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16 :172.16.0.0/12 : 10.0.0.0/8 : 169.254.0.0/16 :255.255.255.255"? yes (matched "10.0.0.0/8")
ignored host relay-2.domain.org [10.10.4.20]
DNS lookup of relay-3.domain.org (AAAA) gave NO_DATA
returning DNS_NODATA
DNS lookup of relay-3.domain.org (A) succeeded
10.10.1.9 in "0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16 :172.16.0.0/12 : 10.0.0.0/8 : 169.254.0.0/16 :255.255.255.255"? yes (matched "10.0.0.0/8")
ignored host relay-3.domain.org [10.10.1.9]
DNS lookup of relay-4.domain.org (AAAA) gave NO_DATA
returning DNS_NODATA
DNS lookup of relay-4.domain.org (A) succeeded
10.10.4.23 in "0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16 :172.16.0.0/12 : 10.0.0.0/8 : 169.254.0.0/16 :255.255.255.255"? yes (matched "10.0.0.0/8")
ignored host relay-4.domain.org [10.10.4.23]
DNS lookup of domain.k12.mn.us (AAAA) gave NO_DATA
returning DNS_NODATA
DNS lookup of domain.k12.mn.us (A) succeeded
PublicIP in "0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16 :172.16.0.0/12 : 10.0.0.0/8 : 169.254.0.0/16 :255.255.255.255"? no (end of list)
fully qualified name = domain.k12.mn.us
host_find_bydns yield = HOST_FOUND (2); returned hosts:
  domain.k12.mn.us PublicIP MX=30
set transport remote_smtp
queued for remote_smtp transport: local_part = sripley
domain = domain.k12.mn.us
  errors_to=NULL
  domain_data=NULL localpart_data=NULL
routed by dnslookup router
  envelope to: [email protected]
  transport: remote_smtp
  host domain.k12.mn.us [PublicIP] MX=30
[email protected]
  router = dnslookup, transport = remote_smtp
  host domain.k12.mn.us [PublicIP] MX=30
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=3176 terminating with rc=0 >>>>>>>>>>>>>>>>

On 01/24/2013 01:41 PM, Andrew Colin Kissa wrote:
On 24 Jan 2013, at 8:55 PM, Raymond Norton wrote:

Added the following to exim.conf (The rest was there), but still get relay 
errors:
you can test your configuration by running

exim -d -bv user@domain

You should see if those queries are actually being run.

--
www.baruwa.org





_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Reply via email to