Re: [exim] Mail being queued: User 0 set for remote_smtp tra…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: ikearns
Datum:  
To: exim-users
Betreff: Re: [exim] Mail being queued: User 0 set for remote_smtp transport is on the never_users list

Hi John

Output from two commands

1] exim -d -bt root@(whatever your domain is)

[root@<servername> ~]# exim -d -bt root@<server_hostname>
Exim version 4.63 uid=0 gid=0 pid=22653 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September 3, 2006)
Support for: crypteq iconv() IPv6 PAM Perl TCPwrappers OpenSSL
Content_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb
dsearch ldap ldapdn ldapm mysql nis nis0 nisplus passwd pgsql sqlite
Authenticators: cram_md5 cyrus_sasl plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 4
changed uid/gid: forcing real = effective
uid=0 gid=0 pid=22653
auxiliary group list: <none>
configuration file is /etc/exim/exim.conf
log selectors = 00000ffc 00089001
trusted user
admin user
originator: uid=0 gid=0 login=root name=root
sender address = root@<server_hostname>
Address testing: uid=0 gid=93 euid=0 egid=93
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Testing root@<server_hostname>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering root@<server_hostname>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing root@<server_hostname>
--------> system_aliases router <--------
local_part=root domain=<server_hostname>
calling system_aliases router
rda_interpret (string): ${lookup{$local_part}lsearch{/etc/aliases}}
search_open: lsearch "/etc/aliases"
search_find: file="/etc/aliases"
key="root" partial=-1 affix=NULL starflags=0
LRU list:
:/etc/aliases
End
internal_search_find: file="/etc/aliases"
type=lsearch key="root"
file lookup required for root
in /etc/aliases
lookup failed
expanded:
file is not a filter file
parse_forward_list:
system_aliases router declined for root@<server_hostname>
--------> userforward router <--------
local_part=root domain=<server_hostname>
checking for local user
seeking password data for user "root": cache not available
getpwnam() succeeded uid=0 gid=0
calling userforward router
rda_interpret (file): $home/.forward
expanded: /root/.forward
stat(/root/.)=0
/root/.forward does not exist
userforward router declined for root@<server_hostname>
--------> procmail router <--------
local_part=root domain=<server_hostname>
checking for local user
seeking password data for user "root": using cached result
getpwnam() succeeded uid=0 gid=0
checking require_files
seeking password data for user "root": using cached result
getpwnam() succeeded uid=0 gid=0
check subsequent files for access by root
file check: +${home}/.procmailrc
expanded file: /root/.procmailrc
stat() yielded -1
errno = 2
procmail router skipped: file check
--------> localuser router <--------
local_part=root domain=<server_hostname>
checking for local user
seeking password data for user "root": using cached result
getpwnam() succeeded uid=0 gid=0
calling localuser router
localuser router called for root@<server_hostname>
domain = <server_hostname>
set transport local_delivery
queued for local_delivery transport: local_part = root
domain = <server_hostname>
errors_to=NULL
domain_data=NULL localpart_data=NULL
routed by localuser router
envelope to: root@<server_hostname>
transport: local_delivery
root@<server_hostname>
router = localuser, transport = local_delivery
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=22653 terminating with rc=0 >>>>>>>>>>>>>>>>

[root@<servername> ~]#

2] exim -d -M 1ITsWu-0004jp-U7

[root@<servername> ~]# exim -d -M 1ITsWu-0004jp-U7
Exim version 4.63 uid=0 gid=0 pid=22682 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September 3, 2006)
Support for: crypteq iconv() IPv6 PAM Perl TCPwrappers OpenSSL
Content_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb
dsearch ldap ldapdn ldapm mysql nis nis0 nisplus passwd pgsql sqlite
Authenticators: cram_md5 cyrus_sasl plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 4
changed uid/gid: forcing real = effective
uid=0 gid=0 pid=22682
auxiliary group list: <none>
configuration file is /etc/exim/exim.conf
log selectors = 00000ffc 00089001
cwd=/root 4 args: exim -d -M 1ITsWu-0004jp-U7
trusted user
admin user
skipping ACL configuration - not needed
set_process_info: 22682 delivering specified messages
set_process_info: 22682 delivering 1ITsWu-0004jp-U7
reading spool file 1ITsWu-0004jp-U7-H
user=root uid=0 gid=0 sender=ednlil@<sender_domain>
sender_fullhost = <delivery_server> (<ip_addy>) [<ip_addy>]
sender_rcvhost = <delivery_server> ([<ip_addy>] helo=<ip_addy>)
sender_local=0 ident=unset
Non-recipients:
Empty Tree
---- End of tree ----
recipients_count=1
body_linecount=21 message_linecount=27
Delivery address list:
sales@<recipient_domain>
locking /var/spool/exim/db/retry.lockfile
locked /var/spool/exim/db/retry.lockfile
EXIM_DBOPEN(/var/spool/exim/db/retry)
returned from EXIM_DBOPEN
opened hints database /var/spool/exim/db/retry: flags=O_RDONLY
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering: sales@<recipient_domain>
unique = sales@<recipient_domain>
dbfn_read: key=R:<recipient_domain>
dbfn_read: key=R:sales@<recipient_domain>
no domain retry record
no address retry record
sales@<recipient_domain>: queued for routing
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing sales@<recipient_domain>
--------> system_aliases router <--------
local_part=sales domain=<recipient_domain>
calling system_aliases router
rda_interpret (string): ${lookup{$local_part}lsearch{/etc/aliases}}
search_open: lsearch "/etc/aliases"
search_find: file="/etc/aliases"
key="sales" partial=-1 affix=NULL starflags=0
LRU list:
:/etc/aliases
End
internal_search_find: file="/etc/aliases"
type=lsearch key="sales"
file lookup required for sales
in /etc/aliases
lookup yielded: postmaster
expanded: postmaster
file is not a filter file
parse_forward_list: postmaster
extract item: postmaster
system_aliases router generated postmaster@<server_hostname>
errors_to=NULL transport=NULL
uid=unset gid=unset home=NULL
routed by system_aliases router
envelope to: sales@<recipient_domain>
transport: <none>
locking /var/spool/exim/db/retry.lockfile
locked /var/spool/exim/db/retry.lockfile
EXIM_DBOPEN(/var/spool/exim/db/retry)
returned from EXIM_DBOPEN
opened hints database /var/spool/exim/db/retry: flags=O_RDONLY
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering: postmaster@<server_hostname>
unique = postmaster@<server_hostname>
dbfn_read: key=R:<server_hostname>
dbfn_read: key=R:postmaster@<server_hostname>
no domain retry record
no address retry record
postmaster@<server_hostname>: queued for routing
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing postmaster@<server_hostname>
--------> system_aliases router <--------
local_part=postmaster domain=<server_hostname>
calling system_aliases router
rda_interpret (string): ${lookup{$local_part}lsearch{/etc/aliases}}
search_open: lsearch "/etc/aliases"
cached open
search_find: file="/etc/aliases"
key="postmaster" partial=-1 affix=NULL starflags=0
LRU list:
:/etc/aliases
End
internal_search_find: file="/etc/aliases"
type=lsearch key="postmaster"
file lookup required for postmaster
in /etc/aliases
lookup yielded: root
expanded: root
file is not a filter file
parse_forward_list: root
extract item: root
system_aliases router generated root@<server_hostname>
errors_to=NULL transport=NULL
uid=unset gid=unset home=NULL
routed by system_aliases router
envelope to: postmaster@<server_hostname>
transport: <none>
locking /var/spool/exim/db/retry.lockfile
locked /var/spool/exim/db/retry.lockfile
EXIM_DBOPEN(/var/spool/exim/db/retry)
returned from EXIM_DBOPEN
opened hints database /var/spool/exim/db/retry: flags=O_RDONLY
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering: root@<server_hostname>
unique = root@<server_hostname>
dbfn_read: key=R:<server_hostname>
dbfn_read: key=R:root@<server_hostname>
no domain retry record
no address retry record
root@<server_hostname>: queued for routing
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing root@<server_hostname>
--------> system_aliases router <--------
local_part=root domain=<server_hostname>
calling system_aliases router
rda_interpret (string): ${lookup{$local_part}lsearch{/etc/aliases}}
search_open: lsearch "/etc/aliases"
cached open
search_find: file="/etc/aliases"
key="root" partial=-1 affix=NULL starflags=0
LRU list:
:/etc/aliases
End
internal_search_find: file="/etc/aliases"
type=lsearch key="root"
file lookup required for root
in /etc/aliases
lookup failed
expanded:
file is not a filter file
parse_forward_list:
system_aliases router declined for root@<server_hostname>
--------> userforward router <--------
local_part=root domain=<server_hostname>
checking for local user
seeking password data for user "root": cache not available
getpwnam() succeeded uid=0 gid=0
calling userforward router
rda_interpret (file): $home/.forward
expanded: /root/.forward
stat(/root/.)=0
/root/.forward does not exist
userforward router declined for root@<server_hostname>
--------> procmail router <--------
local_part=root domain=<server_hostname>
checking for local user
seeking password data for user "root": using cached result
getpwnam() succeeded uid=0 gid=0
checking require_files
seeking password data for user "root": using cached result
getpwnam() succeeded uid=0 gid=0
check subsequent files for access by root
file check: +${home}/.procmailrc
expanded file: /root/.procmailrc
stat() yielded -1
errno = 2
procmail router skipped: file check
--------> localuser router <--------
local_part=root domain=<server_hostname>
checking for local user
seeking password data for user "root": using cached result
getpwnam() succeeded uid=0 gid=0
calling localuser router
localuser router called for root@<server_hostname>
domain = <server_hostname>
set transport local_delivery
queued for local_delivery transport: local_part = root
domain = <server_hostname>
errors_to=NULL
domain_data=NULL localpart_data=NULL
routed by localuser router
envelope to: root@<server_hostname>
transport: local_delivery
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

After routing:
  Local deliveries:
    root@<server_hostname>
  Remote deliveries:
  Failed addresses:
  Deferred addresses:
search_tidyup called

>>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>>

--------> root@<server_hostname> <--------
locking /var/spool/exim/db/retry.lockfile
locked /var/spool/exim/db/retry.lockfile
EXIM_DBOPEN(/var/spool/exim/db/retry)
returned from EXIM_DBOPEN
opened hints database /var/spool/exim/db/retry: flags=O_RDONLY
dbfn_read: key=T:root@<server_hostname>
retry record exists: age=10m34s (max 1w)
time to retry = 5h49m26s expired = 0
LOG: MAIN PANIC
User 0 set for local_delivery transport is on the fixed_never_users list
local_delivery transport returned DEFER for root@<server_hostname>
added retry item for T:root@<server_hostname>: errno=-29 more_errno=0
flags=0
post-process root@<server_hostname> (1)
LOG: MAIN
== root@<server_hostname> <sales@<recipient_domain>> R=localuser
T=local_delivery defer (-29): User 0 set for local_delivery transport is on
the fixed_never_users list
>>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>

changed uid/gid: post-delivery tidying
uid=93 gid=93 pid=22682
auxiliary group list: <none>
set_process_info: 22682 tidying up after delivering 1ITsWu-0004jp-U7
Processing retry items
Succeeded addresses:
postmaster@<server_hostname>: no retry items
sales@<recipient_domain>: no retry items
sales@<recipient_domain>: no retry items
Failed addresses:
Deferred addresses:
root@<server_hostname>
locking /var/spool/exim/db/retry.lockfile
locked /var/spool/exim/db/retry.lockfile
EXIM_DBOPEN(/var/spool/exim/db/retry)
returned from EXIM_DBOPEN
opened hints database /var/spool/exim/db/retry: flags=O_RDWR
address match: subject=root@<server_hostname> pattern=*
<server_hostname> in "*"? yes (matched "*")
root@<server_hostname> in "*"? yes (matched "*")
retry for T:root@<server_hostname> = * 0 0
dbfn_read: key=T:root@<server_hostname>
failing_interval=262262 message_age=202116
Writing retry data for T:root@<server_hostname>
first failed=1189167862 last try=1189430124 next try=1189451724 expired=0
errno=-29 more_errno=0 User 0 set for local_delivery transport is on the
fixed_never_users list
dbfn_write: key=T:root@<server_hostname>
postmaster@<server_hostname>: no retry items
sales@<recipient_domain>: no retry items
end of retry processing
time on queue = 2d8h8m36s
warning counts: required 2 done 2
delivery deferred: update_spool=0 header_rewritten=0
end delivery of 1ITsWu-0004jp-U7
search_tidyup called
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=22682 terminating with rc=0 >>>>>>>>>>>>>>>>


Also, you say that seeing mail in the spool from null senders is expected,
is there a part of the config that will allow mail from null senders?

Regards

Ian


John Burnham-2 wrote:
>
>>
>> Created alias for 'root:' to an active mailbox but when attempting
>> redelivery (exim -qff) I get:
>>
>> 2007-09-10 11:03:09 1ITsWu-0004jp-U7 User 0 set for
>> local_delivery transport
>> is on the fixed_never_users list
>
> What does an
> exim -d -bt root@(whatever your domain is)
> give you ?
> What does
> exim -d -M 1ITsWu-0004jp-U7
> give you ?
>
>>
>> Also mail that appears to be queuing in the spool contains a
>> lot of null
>> senders.
>
> Yeah, I'd expect that.
> J
>
> --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
>
>


--
View this message in context: http://www.nabble.com/Mail-being-queued%3A-User-0-set-for-remote_smtp-transport-is-on-the-never_users-list-tf4413160.html#a12593089
Sent from the Exim Users mailing list archive at Nabble.com.