Here is the paniclog
2008-02-07 17:34:54 1JN39i-0007li-F6 unable to set gid=503 or uid=503
(euid=502): userforward router (recipient is tzqian@???)
2008-02-07 17:34:54 1JN39i-0007li-F6 internal problem in userforward router
(recipient is tzqian@???): failure to transfer data from subprocess:
status=0100 readerror='Success'
And the os is Rathat Linux server77 2.6.18-1.2747.el5
[root@server77 log]# exim -d -bt tzqian
Exim version 4.67 uid=0 gid=0 pid=32578 D=fbb95cfd Berkeley DB: Sleepycat
Software: Berkeley DB 4.3.29: (September 12, 2006) Support for: crypteq
iconv() Perl OpenSSL
Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz
Authenticators: plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply pipe smtp Fixed
never_users: 0 Size of off_t: 8 changed uid/gid: forcing real = effective
uid=0 gid=0 pid=32578
auxiliary group list: <none>
seeking password data for user "root": cache not available
getpwnam() succeeded uid=0 gid=0
configuration file is /usr/exim/configure log selectors = 00000ffc 00212001
trusted user admin user
originator: uid=0 gid=0 login=root name=root sender address =
root@???:qaq.com Address testing: uid=0 gid=502 euid=0 egid=502
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Testing tzqian@???:qaq.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering tzqian@???:qaq.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing tzqian@???:qaq.com
--------> democheck router <--------
local_part=tzqian domain=xxxxxxx.com:qaq.com checking "condition"
Starting Perl interpreter
democheck router skipped: condition failure
--------> lookuphost router <--------
local_part=tzqian domain=xxxxxxx.com:qaq.com checking domains
search_open: lsearch "/etc/localdomains"
search_find: file="/etc/localdomains"
key="xxxxxxx.com:qaq.com" partial=-1 affix=NULL starflags=0 LRU list:
:/etc/localdomains
End
internal_search_find: file="/etc/localdomains"
type=lsearch key="xxxxxxx.com:qaq.com"
file lookup required for xxxxxxx.com:qaq.com
in /etc/localdomains
lookup failed
xxxxxxx.com:qaq.com in "lsearch;/etc/localdomains"? no (end of list)
xxxxxxx.com:qaq.com in "! +local_domains"? yes (end of list) checking
"condition"
calling lookuphost router
lookuphost router called for tzqian@???:qaq.com
domain = xxxxxxx.com:qaq.com
DNS name syntax check failed: xxxxxxx.com:qaq.com (MX) lookuphost router
declined for tzqian@???:qaq.com
--------> literal router <--------
local_part=tzqian domain=xxxxxxx.com:qaq.com checking domains cached no
match for +local_domains cached lookup data = NULL xxxxxxx.com:qaq.com in "!
+local_domains"? yes (end of list) checking "condition"
calling literal router
literal router called for tzqian@???:qaq.com: domain =
xxxxxxx.com:qaq.com literal router declined for tzqian@???:qaq.com
--------> fail_remote_domains router <--------
local_part=tzqian domain=xxxxxxx.com:qaq.com checking domains cached no
match for +local_domains cached lookup data = NULL xxxxxxx.com:qaq.com in "!
+local_domains"? yes (end of list) calling fail_remote_domains router
rda_interpret (string): :fail: unrouteable mail domain "$domain"
expanded: :fail: unrouteable mail domain "xxxxxxx.com:qaq.com"
file is not a filter file
parse_forward_list: :fail: unrouteable mail domain "xxxxxxx.com:qaq.com"
extract item: :fail: unrouteable mail domain "xxxxxxx.com:qaq.com"
fail_remote_domains router forced address failure tzqian@???:qaq.com
is undeliverable: unrouteable mail domain "xxxxxxx.com:qaq.com"
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=32578 terminating with rc=2 >>>>>>>>>>>>>>>>
[root@server77 log]#
I notice i had made a mistake in configuration file as "primary_hostname =
xxxxxxx.com:qaq.com",and I corrected this line to "primary_hostname =
xxxxxxx.com".And do the test as follows,
[root@server77 log]# exim -d -bt tzqian
Exim version 4.67 uid=0 gid=0 pid=32684 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September 12, 2006)
Support for: crypteq iconv() Perl OpenSSL
Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz
Authenticators: plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply pipe smtp
Fixed never_users: 0
Size of off_t: 8
changed uid/gid: forcing real = effective
uid=0 gid=0 pid=32684
auxiliary group list: <none>
seeking password data for user "root": cache not available
getpwnam() succeeded uid=0 gid=0
configuration file is /usr/exim/configure
log selectors = 00000ffc 00212001
trusted user
admin user
originator: uid=0 gid=0 login=root name=root
sender address = root@???
Address testing: uid=0 gid=502 euid=0 egid=502
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Testing tzqian@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering tzqian@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing tzqian@???
--------> democheck router <--------
local_part=tzqian domain=xxxxxxx.com
checking "condition"
Starting Perl interpreter
democheck router skipped: condition failure
--------> lookuphost router <--------
local_part=tzqian domain=xxxxxxx.com
checking domains
search_open: lsearch "/etc/localdomains"
search_find: file="/etc/localdomains"
key="xxxxxxx.com" partial=-1 affix=NULL starflags=0
LRU list:
:/etc/localdomains
End
internal_search_find: file="/etc/localdomains"
type=lsearch key="xxxxxxx.com"
file lookup required for xxxxxxx.com
in /etc/localdomains
lookup yielded:
xxxxxxx.com in "lsearch;/etc/localdomains"? yes (matched
"lsearch;/etc/localdomains")
data from lookup saved for cache for +local_domains:
xxxxxxx.com in "! +local_domains"? no (matched "! +local_domains")
lookuphost router skipped: domains mismatch
--------> literal router <--------
local_part=tzqian domain=xxxxxxx.com
checking domains
cached yes match for +local_domains
cached lookup data =
xxxxxxx.com in "! +local_domains"? no (matched "! +local_domains" - cached)
literal router skipped: domains mismatch
--------> fail_remote_domains router <--------
local_part=tzqian domain=xxxxxxx.com
checking domains
cached yes match for +local_domains
cached lookup data =
xxxxxxx.com in "! +local_domains"? no (matched "! +local_domains" - cached)
fail_remote_domains router skipped: domains mismatch
--------> virtual_sa_user router <--------
local_part=tzqian domain=xxxxxxx.com
checking domains
search_open: lsearch "/etc/userdomains"
search_find: file="/etc/userdomains"
key="xxxxxxx.com" partial=-1 affix=NULL starflags=0
LRU list:
:/etc/userdomains
:/etc/localdomains
End
internal_search_find: file="/etc/userdomains"
type=lsearch key="xxxxxxx.com"
file lookup required for xxxxxxx.com
in /etc/userdomains
lookup yielded: xxxxxxx
xxxxxxx.com in "lsearch;/etc/userdomains"? yes (matched
"lsearch;/etc/userdomains")
checking "condition"
error setting gid
virtual_sa_user router skipped: condition failure
--------> sa_localuser router <--------
local_part=tzqian domain=xxxxxxx.com
checking domains
search_open: lsearch "/etc/userdomains"
cached open
search_find: file="/etc/userdomains"
key="xxxxxxx.com" partial=-1 affix=NULL starflags=0
LRU list:
:/etc/userdomains
:/etc/localdomains
End
internal_search_find: file="/etc/userdomains"
type=lsearch key="xxxxxxx.com"
cached data used for lookup of xxxxxxx.com
in /etc/userdomains
lookup yielded: xxxxxxx
xxxxxxx.com in "! lsearch;/etc/userdomains"? no (matched "!
lsearch;/etc/userdomains")
sa_localuser router skipped: domains mismatch
--------> virtual_user_spam router <--------
local_part=tzqian domain=xxxxxxx.com
checking domains
search_open: lsearch "/etc/userdomains"
cached open
search_find: file="/etc/userdomains"
key="xxxxxxx.com" partial=-1 affix=NULL starflags=0
LRU list:
:/etc/userdomains
:/etc/localdomains
End
internal_search_find: file="/etc/userdomains"
type=lsearch key="xxxxxxx.com"
cached data used for lookup of xxxxxxx.com
in /etc/userdomains
lookup yielded: xxxxxxx
xxxxxxx.com in "lsearch;/etc/userdomains"? yes (matched
"lsearch;/etc/userdomains")
checking "condition"
virtual_user_spam router skipped: condition failure
--------> virtual_user router <--------
local_part=tzqian domain=xxxxxxx.com
checking domains
search_open: lsearch "/etc/userdomains"
cached open
search_find: file="/etc/userdomains"
key="xxxxxxx.com" partial=-1 affix=NULL starflags=0
LRU list:
:/etc/userdomains
:/etc/localdomains
End
internal_search_find: file="/etc/userdomains"
type=lsearch key="xxxxxxx.com"
cached data used for lookup of xxxxxxx.com
in /etc/userdomains
lookup yielded: xxxxxxx
xxxxxxx.com in "lsearch;/etc/userdomains"? yes (matched
"lsearch;/etc/userdomains")
checking "condition"
virtual_user router skipped: condition failure
--------> has_alias_but_no_mailbox_discarded_to_prevent_loop router
<--------
local_part=tzqian domain=xxxxxxx.com
checking domains
search_open: lsearch "/etc/localdomains"
cached open
search_find: file="/etc/localdomains"
key="xxxxxxx.com" partial=-1 affix=NULL starflags=0
LRU list:
:/etc/localdomains
:/etc/userdomains
End
internal_search_find: file="/etc/localdomains"
type=lsearch key="xxxxxxx.com"
cached data used for lookup of xxxxxxx.com
in /etc/localdomains
lookup yielded:
xxxxxxx.com in "lsearch;/etc/localdomains"? yes (matched
"lsearch;/etc/localdomains")
checking "condition"
calling has_alias_but_no_mailbox_discarded_to_prevent_loop router
search_open: lsearch "/etc/userdomains"
cached open
search_find: file="/etc/userdomains"
key="xxxxxxx.com" partial=-1 affix=NULL starflags=1
LRU list:
:/etc/userdomains
:/etc/localdomains
End
internal_search_find: file="/etc/userdomains"
type=lsearch key="xxxxxxx.com"
cached data used for lookup of xxxxxxx.com
in /etc/userdomains
lookup yielded: xxxxxxx
seeking password data for user "xxxxxxx": cache not available
getpwnam() succeeded uid=504 gid=504
search_open: lsearch "/etc/userdomains"
cached open
search_find: file="/etc/userdomains"
key="xxxxxxx.com" partial=-1 affix=NULL starflags=1
LRU list:
:/etc/userdomains
:/etc/localdomains
End
internal_search_find: file="/etc/userdomains"
type=lsearch key="xxxxxxx.com"
cached data used for lookup of xxxxxxx.com
in /etc/userdomains
lookup yielded: xxxxxxx
rda_interpret (string): #Exim Filter
seen finish
expanded: #Exim Filter
seen finish
search_tidyup called
changed uid/gid: has_alias_but_no_mailbox_discarded_to_prevent_loop router
(recipient is tzqian@???)
uid=504 gid=504 pid=32686
auxiliary group list: <none>
turned off address rewrite logging (not root or exim in this process)
data is an Exim filter program
Filter: start of processing
Filter: end of processing
search_tidyup called
rda_interpret: subprocess yield=0 error=NULL
routed by has_alias_but_no_mailbox_discarded_to_prevent_loop router
envelope to: tzqian@???
transport: <none>
mail to tzqian@??? is discarded
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=32684 terminating with rc=0 >>>>>>>>>>>>>>>>
[root@server77 log]#
And the "$home/.forward" problem is the same as before, it looks like a
permition problem according to the paniclog shows "2008-02-07 17:34:54
1JN39i-0007li-F6 unable to set gid=503 or uid=503 (euid=502): userforward
router (recipient is tzqian@???)", I'm not sure how to fix it,and I
have another question about the mainlog , where can I find the archive of
error code?
Thank you.
Regards,
Gelenbertang
-----邮件原件-----
发件人: Phil Pennock [
mailto:exim-users@spodhuis.org]
发送时间: 2008年2月8日 3:19
收件人: zq
抄送: exim-users@???
主题: Exim "failure to transfer data from subprocess"
On 2008-02-07 at 17:42 +0800, zq wrote:
> Here is my problem in $home/.forward configuration,
> 2008-02-07 17:34:54 1JN39i-0007li-F6 == tzqian@??? R=userforward
> defer
> (-1): internal problem in userforward router (recipient is
> tzqian@???): failure to transfer data from subprocess:
> status=0100 readerror='Success'
Something has broken badly, breaking Exim's ability to communicate with
itself.
Are there no other logs? What about in "paniclog"? What do you see just
before this in the "mainlog"?
What version of Exim? What OS? Are you using any remote filesystems for
the home directories? What output do you get from using "exim -d -bt
tzqian" ?
-Phil