[Exim] Interesting problem with system aliases

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Odhiambo G. Washington
Date:  
À: Exim Users
Sujet: [Exim] Interesting problem with system aliases
Hello Users,

I seem to have hit some interesting problem with the system aliases.
Maybe I have an error in the configure file. Exim-4.1 (hmm, a bit complex ;-))

The problem is that exim -bt mailer-daemon just fails. Very simple, isn't it?

Well, here is the debug - I am a bit lost, especially with some text that says
"domains mismatch"....


wash@ns2 ('tty') ~ 1 -> exim -d -bt mailer-daemon

Exim version 4.10 uid=3497 gid=0 pid=95312 L=834cd8 D=fff7577f
probably Berkeley DB version 1.8x (native mode)
changed uid/gid: forcing real = effective
uid=0 gid=0
auxiliary group list: 0
admin user
user name "Odhiambo Washington" extracted from gecos field "Odhiambo Washington"
originator: uid=3497 gid=0 login=wash name=Odhiambo Washington
sender address = wash@???
Address testing: uid=0 gid=6 euid=0 egid=6
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Testing mailer-daemon@???
address match: subject=mailer-daemon@??? pattern=^(beiersdorf)@wananchi\.com$
mailer-daemon@??? in "^(beiersdorf)@wananchi\.com$"? no (end of list)
address match: subject=mailer-daemon@??? pattern=^(lantech)@wananchi\.com$
mailer-daemon@??? in "^(lantech)@wananchi\.com$"? no (end of list)
address match: subject=mailer-daemon@??? pattern=^(virtualcity)@wananchi\.com$
mailer-daemon@??? in "^(virtualcity)@wananchi\.com$"? no (end of list)
address match: subject=mailer-daemon@??? pattern=^(hotgossip)@wananchi\.com$
mailer-daemon@??? in "^(hotgossip)@wananchi\.com$"? no (end of list)
address match: subject=mailer-daemon@??? pattern=^(mareba)@wananchi\.com$
mailer-daemon@??? in "^(mareba)@wananchi\.com$"? no (end of list)
address match: subject=mailer-daemon@??? pattern=^(fkfin)@wananchi\.com$
mailer-daemon@??? in "^(fkfin)@wananchi\.com$"? no (end of list)
address match: subject=mailer-daemon@??? pattern=^(postmaster)@kenpoly\.com$
mailer-daemon@??? in "^(postmaster)@kenpoly\.com$"? no (end of list)
address match: subject=mailer-daemon@??? pattern=^(.*)@wtrl\.or\.ke$
mailer-daemon@??? in "^(.*)@wtrl\.or\.ke$"? no (end of list)
address match: subject=mailer-daemon@??? pattern=^(exim)@wananchi\.com$
mailer-daemon@??? in "^(exim)@wananchi\.com$"? no (end of list)
address match: subject=mailer-daemon@??? pattern=^(gespkenya)@wananchi\.com$
mailer-daemon@??? in "^(gespkenya)@wananchi\.com$"? no (end of list)
address match: subject=mailer-daemon@??? pattern=^(orchidpharm)@wananchi\.com$
mailer-daemon@??? in "^(orchidpharm)@wananchi\.com$"? no (end of list)
address match: subject=mailer-daemon@??? pattern=^(akiragu)@wananchi\.com$
mailer-daemon@??? in "^(akiragu)@wananchi\.com$"? no (end of list)
address match: subject=mailer-daemon@??? pattern=^([^\*]+)\*(.*)@(.*)$
mailer-daemon@??? in "^([^\*]+)\*(.*)@(.*)$"? no (end of list)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering mailer-daemon@???
active address mailer-daemon@???
local_part=mailer-daemon domain=wananchi.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing mailer-daemon@???
--------> lookuphost router <--------
local_part=mailer-daemon domain=wananchi.com
checking domains
search_open: mysql "NULL"
search_find: file="NULL"
key="select domain_name from domain where domain_name = 'wananchi.com' limit 1" partial=-1
LRU list:
internal_search_find: file="NULL"
type=mysql key="select domain_name from domain where domain_name = 'wananchi.com' limit 1"
database lookup required for select domain_name from domain where domain_name = 'wananchi.com' limit 1
MYSQL query: select domain_name from domain where domain_name = 'wananchi.com' limit 1
MYSQL new connection: host=localhost port=0 socket=NULL database=virtualemail user=wolvmail
MYSQL: no data found
lookup failed
search_open: mysql "NULL"
cached open
search_find: file="NULL"
key="select alias from domain_alias where alias = 'wananchi.com' limit 1" partial=-1
LRU list:
internal_search_find: file="NULL"
type=mysql key="select alias from domain_alias where alias = 'wananchi.com' limit 1"
database lookup required for select alias from domain_alias where alias = 'wananchi.com' limit 1
MYSQL query: select alias from domain_alias where alias = 'wananchi.com' limit 1
MYSQL using cached connection for localhost/virtualemail/wolvmail
MYSQL: no data found
lookup failed
wananchi.com in "@ : @[] : ns2.wananchi.com : mail.wananchi.com : pop.wananchi.com: smtp.wananchi.com : wananchi.com : wananchi.info : wananchi.biz : wananchi.co.ke : wanainchi.com : localhost : lsearch;/usr/local/etc/exim/relay : : "? yes (matched "wananchi.com")
wananchi.com in "! +local_domains"? no (matched "! +local_domains")
lookuphost router skipped: domains mismatch
--------> literal router <--------
local_part=mailer-daemon domain=wananchi.com
checking domains
search_open: mysql "NULL"
cached open
search_find: file="NULL"
key="select domain_name from domain where domain_name = 'wananchi.com' limit 1" partial=-1
LRU list:
internal_search_find: file="NULL"
type=mysql key="select domain_name from domain where domain_name = 'wananchi.com' limit 1"
database lookup required for select domain_name from domain where domain_name = 'wananchi.com' limit 1
MYSQL query: select domain_name from domain where domain_name = 'wananchi.com' limit 1
MYSQL using cached connection for localhost/virtualemail/wolvmail
MYSQL: no data found
lookup failed
search_open: mysql "NULL"
cached open
search_find: file="NULL"
key="select alias from domain_alias where alias = 'wananchi.com' limit 1" partial=-1
LRU list:
internal_search_find: file="NULL"
type=mysql key="select alias from domain_alias where alias = 'wananchi.com' limit 1"
database lookup required for select alias from domain_alias where alias = 'wananchi.com' limit 1
MYSQL query: select alias from domain_alias where alias = 'wananchi.com' limit 1
MYSQL using cached connection for localhost/virtualemail/wolvmail
MYSQL: no data found
lookup failed
wananchi.com in "@ : @[] : ns2.wananchi.com : mail.wananchi.com : pop.wananchi.com: smtp.wananchi.com : wananchi.com : wananchi.info : wananchi.biz : wananchi.co.ke : wanainchi.com : localhost : lsearch;/usr/local/etc/exim/relay : : "? yes (matched "wananchi.com")
wananchi.com in "! +local_domains"? no (matched "! +local_domains")
literal router skipped: domains mismatch
--------> mm21_main_director router <--------
local_part=mailer-daemon domain=wananchi.com
checking require_files
file check: /usr/local/mailman/lists/${lc:$local_part}/config.pck
expanded file: /usr/local/mailman/lists/mailer-daemon/config.pck
stat() yielded -1
errno = 2
mm21_main_director router skipped: file check
--------> mm21_director router <--------
local_part=mailer-daemon domain=wananchi.com
mm21_director router skipped: suffix mismatch
--------> artificial_route router <--------
local_part=mailer-daemon domain=wananchi.com
checking domains
search_open: mysql "NULL"
cached open
search_find: file="NULL"
key="select domain_name from domain where domain_name = 'wananchi.com' limit 1" partial=-1
LRU list:
internal_search_find: file="NULL"
type=mysql key="select domain_name from domain where domain_name = 'wananchi.com' limit 1"
database lookup required for select domain_name from domain where domain_name = 'wananchi.com' limit 1
MYSQL query: select domain_name from domain where domain_name = 'wananchi.com' limit 1
MYSQL using cached connection for localhost/virtualemail/wolvmail
MYSQL: no data found
lookup failed
search_open: mysql "NULL"
cached open
search_find: file="NULL"
key="select alias from domain_alias where alias = 'wananchi.com' limit 1" partial=-1
LRU list:
internal_search_find: file="NULL"
type=mysql key="select alias from domain_alias where alias = 'wananchi.com' limit 1"
database lookup required for select alias from domain_alias where alias = 'wananchi.com' limit 1
MYSQL query: select alias from domain_alias where alias = 'wananchi.com' limit 1
MYSQL using cached connection for localhost/virtualemail/wolvmail
MYSQL: no data found
lookup failed
wananchi.com in "@ : @[] : ns2.wananchi.com : mail.wananchi.com : pop.wananchi.com: smtp.wananchi.com : wananchi.com : wananchi.info : wananchi.biz : wananchi.co.ke : wanainchi.com : localhost : lsearch;/usr/local/etc/exim/relay : : "? yes (matched "wananchi.com")
wananchi.com in "! +local_domains"? no (matched "! +local_domains")
artificial_route router skipped: domains mismatch
--------> virtual_domains router <--------
local_part=mailer-daemon domain=wananchi.com
calling virtual_domains router
rda_interpret (string): ${lookup{$local_part@$domain}lsearch*@{/usr/local/etc/exim/virtual}}
search_open: lsearch "/usr/local/etc/exim/virtual"
search_find: file="/usr/local/etc/exim/virtual"
key="mailer-daemon@???" partial=3071
LRU list:
8/usr/local/etc/exim/virtual
End
internal_search_find: file="/usr/local/etc/exim/virtual"
type=lsearch key="mailer-daemon@???"
file lookup required for mailer-daemon@???
in /usr/local/etc/exim/virtual
lookup failed
trying default match *@wananchi.com
internal_search_find: file="/usr/local/etc/exim/virtual"
type=lsearch key="*@wananchi.com"
file lookup required for *@wananchi.com
in /usr/local/etc/exim/virtual
lookup failed
trying to match *
internal_search_find: file="/usr/local/etc/exim/virtual"
type=lsearch key="*"
file lookup required for *
in /usr/local/etc/exim/virtual
lookup failed
expanded:
file is not a filter file
parse_forward_list:
virtual_domains router declined for mailer-daemon@???
--------> virtual_aliases router <--------
local_part=mailer-daemon domain=wananchi.com
calling virtual_aliases router
rda_interpret (string): ${lookup mysql{select remote_name from forwarder left join domain_alias on domain_alias.domain_name = forwarder.domain_name where local_part = '$local_part' and (forwarder.domain_name = '$domain' or alias = '$domain')}}
search_open: mysql "NULL"
cached open
search_find: file="NULL"
key="select remote_name from forwarder left join domain_alias on domain_alias.domain_name = forwarder.domain_name where local_part = 'mailer-daemon' and (forwarder.domain_name = 'wananchi.com' or alias = 'wananchi.com')" partial=-1
LRU list:
8/usr/local/etc/exim/virtual
End
internal_search_find: file="NULL"
type=mysql key="select remote_name from forwarder left join domain_alias on domain_alias.domain_name = forwarder.domain_name where local_part = 'mailer-daemon' and (forwarder.domain_name = 'wananchi.com' or alias = 'wananchi.com')"
database lookup required for select remote_name from forwarder left join domain_alias on domain_alias.domain_name = forwarder.domain_name where local_part = 'mailer-daemon' and (forwarder.domain_name = 'wananchi.com' or alias = 'wananchi.com')
MYSQL query: select remote_name from forwarder left join domain_alias on domain_alias.domain_name = forwarder.domain_name where local_part = 'mailer-daemon' and (forwarder.domain_name = 'wananchi.com' or alias = 'wananchi.com')
MYSQL using cached connection for localhost/virtualemail/wolvmail
MYSQL: no data found
lookup failed
expanded:
file is not a filter file
parse_forward_list:
virtual_aliases router declined for mailer-daemon@???
--------> domainplus_user router <--------
local_part=mailer-daemon domain=wananchi.com
checking domains
search_open: mysql "NULL"
cached open
search_find: file="NULL"
key="select domain_name from domain where domain_name = 'wananchi.com'" partial=-1
LRU list:
8/usr/local/etc/exim/virtual
End
internal_search_find: file="NULL"
type=mysql key="select domain_name from domain where domain_name = 'wananchi.com'"
database lookup required for select domain_name from domain where domain_name = 'wananchi.com'
MYSQL query: select domain_name from domain where domain_name = 'wananchi.com'
MYSQL using cached connection for localhost/virtualemail/wolvmail
MYSQL: no data found
lookup failed
wananchi.com in ""? no (end of list)
domainplus_user router skipped: domains mismatch
--------> virtual_defaultuser router <--------
local_part=mailer-daemon domain=wananchi.com
calling virtual_defaultuser router
rda_interpret (string): ${lookup mysql{select remote_name from forwarder left join domain_alias on domain_alias.domain_name = forwarder.domain_name where local_part = '_default_' and (forwarder.domain_name = '$domain' or domain_alias.alias = '$domain')}}
search_open: mysql "NULL"
cached open
search_find: file="NULL"
key="select remote_name from forwarder left join domain_alias on domain_alias.domain_name = forwarder.domain_name where local_part = '_default_' and (forwarder.domain_name = 'wananchi.com' or domain_alias.alias = 'wananchi.com')" partial=-1
LRU list:
8/usr/local/etc/exim/virtual
End
internal_search_find: file="NULL"
type=mysql key="select remote_name from forwarder left join domain_alias on domain_alias.domain_name = forwarder.domain_name where local_part = '_default_' and (forwarder.domain_name = 'wananchi.com' or domain_alias.alias = 'wananchi.com')"
database lookup required for select remote_name from forwarder left join domain_alias on domain_alias.domain_name = forwarder.domain_name where local_part = '_default_' and (forwarder.domain_name = 'wananchi.com' or domain_alias.alias = 'wananchi.com')
MYSQL query: select remote_name from forwarder left join domain_alias on domain_alias.domain_name = forwarder.domain_name where local_part = '_default_' and (forwarder.domain_name = 'wananchi.com' or domain_alias.alias = 'wananchi.com')
MYSQL using cached connection for localhost/virtualemail/wolvmail
MYSQL: no data found
lookup failed
expanded:
file is not a filter file
parse_forward_list:
virtual_defaultuser router declined for mailer-daemon@???
--------> system_aliases router <--------
local_part=mailer-daemon domain=wananchi.com
calling system_aliases router
rda_interpret (string): ${expand:${lookup{$local_part}cdb{/etc/mail/aliases.cdb}}}
search_open: cdb "/etc/mail/aliases.cdb"
search_find: file="/etc/mail/aliases.cdb"
key="mailer-daemon" partial=-1
LRU list:
0/etc/mail/aliases.cdb
8/usr/local/etc/exim/virtual
End
internal_search_find: file="/etc/mail/aliases.cdb"
type=cdb key="mailer-daemon"
file lookup required for mailer-daemon
in /etc/mail/aliases.cdb
lookup failed
expanded:
file is not a filter file
parse_forward_list:
system_aliases router declined for mailer-daemon@???
--------> userforward router <--------
local_part=mailer-daemon domain=wananchi.com
checking for local user
userforward router skipped: mailer-daemon is not a local user
--------> maildiruser router <--------
local_part=mailer-daemon domain=wananchi.com
checking local_parts
search_open: lsearch "/usr/local/etc/exim/maildir-users"
search_find: file="/usr/local/etc/exim/maildir-users"
key="mailer-daemon" partial=-1
LRU list:
8/usr/local/etc/exim/maildir-users
0/etc/mail/aliases.cdb
8/usr/local/etc/exim/virtual
End
internal_search_find: file="/usr/local/etc/exim/maildir-users"
type=lsearch key="mailer-daemon"
file lookup required for mailer-daemon
in /usr/local/etc/exim/maildir-users
lookup failed
mailer-daemon in "lsearch;/usr/local/etc/exim/maildir-users"? no (end of list)
maildiruser router skipped: local_parts mismatch
--------> procmail router <--------
local_part=mailer-daemon domain=wananchi.com
checking for local user
procmail router skipped: mailer-daemon is not a local user
--------> localuser router <--------
local_part=mailer-daemon domain=wananchi.com
checking for local user
localuser router skipped: mailer-daemon is not a local user
--------> concern_user router <--------
local_part=mailer-daemon domain=wananchi.com
checking local_parts
mailer-daemon in "concern"? no (end of list)
concern_user router skipped: local_parts mismatch
--------> faxdirector router <--------
local_part=mailer-daemon domain=wananchi.com
faxdirector router skipped: prefix mismatch
--------> efax_rejected router <--------
local_part=mailer-daemon domain=wananchi.com
efax_rejected router skipped: prefix mismatch
no more routers
mailer-daemon@??? is undeliverable:
Unrouteable address
search_tidyup called
close MYSQL connection: localhost/virtualemail/wolvmail
>>>>>>>>>>>>>>>>>> Exim pid=95312 terminating with rc=2 >>>>>>>>>>>>>>>>>>





-Wash

--
Odhiambo Washington   <wash@???>  "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com      Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922         so I installed FreeBSD."
GSM: +254 72 743223   +254 733 744121       This sig is McQ!  :-)



I doubt, therefore I might be.