I've given up trying to compile 4.60 under SCO Openserver6 as no one
seems to know anything about the weird linker error I was getting so
instead I compiled and installed on an existing 5.0.7 box that was
running 4.42.
Everything went well; I used the 4.42 Makefile and configure files as my
guidelines for the 4.60 versions.
As root I:
stopped exim
mv /usr/exim to /usr/exim-4.42
make (ok)
make install (ok)
checked that /usr/lib/sendmail was still linked to /usr/exim/bin/exim (ok)
started exim (ok)
exim -bV (ok)
exim -v -bt [EMAIL PROTECTED]
router = localuser, transport = local_delivery (ok)
exim -v -bt [EMAIL PROTECTED] (another server)
router = dnslookup, transport = remote_smtp
host bcsisco.bcsi1,com [192.168.207.33] (ok)
exim [EMAIL PROTECTED]
From:.....
oh oh
No delivery. I checked the logs and in them I see:
2006-03-31 18:51:07 1FPTOV-0001gr-5g <= [EMAIL PROTECTED] U=root
P=local S=322
2006-03-31 18:51:07 1FPTOV-0001gr-5g unable to set gid=50 or uid=201
(euid=500):
local delivery to bcsi1 <[EMAIL PROTECTED]> transport=local_delivery
2006-03-31 18:51:07 1FPTOV-0001gr-5g failed to read delivery status for
[EMAIL PROTECTED]
si1.com from delivery subprocess
2006-03-31 18:51:07 1FPTOV-0001gr-5g appendfile transport process
returned non-z
ero status 0x0100: exit code 1
2006-03-31 18:51:07 1FPTOV-0001gr-5g == [EMAIL PROTECTED] R=localuser
T=local_deli
very defer (-1)
2006-03-31 18:51:07 1FPTOV-0001gr-5g Frozen
I try sending e-mail to exim or to someone not on this server and it
works just fine.
I move 4.60 out of the way and 4.42 back in; mail delivery starts again.
Hmm.
Checked the mailing list and saw that this is a recurring problem.
Checked /usr/exim/bin/exim and it has rwsr-xr-x permissions and it is
linked to exim-4.60-1. It's user-id is 500 and group-id 100.
The output of exim -d is:
Exim version 4.60 uid=0 gid=3 pid=3537 D=fbb95cfd
Probably ndbm
Support for: crypteq iconv()
Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz
Authenticators: plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile autoreply pipe smtp
changed uid/gid: forcing real = effective
uid=0 gid=3 pid=3537
auxiliary group list: <none>
configuration file is /usr/exim/configure
log selectors = 00000ffc 00041001
cwd=/usr/exim/bin 3 args: exim -d [EMAIL PROTECTED]
trusted user
admin user
changed uid/gid: privilege not needed
uid=500 gid=100 pid=3537
auxiliary group list: <none>
originator: uid=0 gid=3 login=root name=Superuser
sender address = [EMAIL PROTECTED]
set_process_info: 3537 accepting a local non-SMTP message from
<[EMAIL PROTECTED]>
Sender: [EMAIL PROTECTED]
Recipients:
[EMAIL PROTECTED]
search_tidyup called
>>Headers received:
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: test
rewrite_one_header: type=F:
From: [EMAIL PROTECTED]
rewrite_one_header: type=T:
To: [EMAIL PROTECTED]
search_tidyup called
>>Headers after rewriting and local additions:
F From: [EMAIL PROTECTED]
T To: [EMAIL PROTECTED]
Subject: test
I Message-Id: <[EMAIL PROTECTED]>
Date: Thu, 30 Mar 2006 23:30:20 -0500
Data file written for message 1FPBHA-0000v3-8a
>>Generated Received: header line
P Received: from root by rjak.bcsi1.com with local (Exim 4.60)
(envelope-from <[EMAIL PROTECTED]>)
id 1FPBHA-0000v3-8a
for [EMAIL PROTECTED]; Thu, 30 Mar 2006 23:30:21 -0500
calling local_scan(); timeout=300
local_scan() returned 0 NULL
Writing spool header file
Size of headers = 315
LOG: MAIN
<= [EMAIL PROTECTED] U=root P=local S=322
search_tidyup called
exec /usr/exim/bin/exim -d=0xfbb95cfd -Mc 1FPBHA-0000v3-8a
Exim version 4.60 uid=500 gid=100 pid=3538 D=fbb95cfd
Probably ndbm
Support for: crypteq iconv()
Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz
Authenticators: plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile autoreply pipe smtp
Exim has no root privilege: uid=500 gid=100 euid=500 egid=100
changed uid/gid: forcing real = effective
uid=500 gid=100 pid=3538
auxiliary group list: <none>
configuration file is /usr/exim/configure
log selectors = 00000ffc 00041001
cwd=/var/spool/exim 4 args: /usr/exim/bin/exim -d=0xfbb95cfd -Mc
1FPBHA-0000v3-8a
trusted user
admin user
skipping ACL configuration - not needed
set_process_info: 3538 delivering specified messages
set_process_info: 3538 delivering 1FPBHA-0000v3-8a
reading spool file 1FPBHA-0000v3-8a-H
user=root uid=0 gid=3 [EMAIL PROTECTED]
sender_local=1 ident=root
Non-recipients:
Empty Tree
---- End of tree ----
recipients_count=1
body_linecount=1 message_linecount=9
running system filter
rda_interpret (file): /usr/exim/system.filter
expanded: /usr/exim/system.filter
1288 bytes read from /usr/exim/system.filter
data is an Exim filter program
Filter: start of processing
Filter: end of processing
system filter returned 1
Delivery address list:
[EMAIL PROTECTED]
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=0
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering: [EMAIL PROTECTED]
unique = [EMAIL PROTECTED]
dbfn_read: key=R:bcsi1.com
dbfn_read: key=R:[EMAIL PROTECTED]
no domain retry record
no address retry record
[EMAIL PROTECTED]: queued for routing
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing [EMAIL PROTECTED]
--------> smarthost router <--------
local_part=bcsi1 domain=bcsi1.com
checking domains
bcsi1.com in "rjak.bcsi1.com : bcsi1.com : localhost"? yes (matched
"bcsi1.com")
bcsi1.com in "! +local_domains : ! *.bcsi1.com"? no (matched "!
+local_domains")
smarthost router skipped: domains mismatch
--------> dnslookup router <--------
local_part=bcsi1 domain=bcsi1.com
checking domains
cached yes match for +local_domains
cached lookup data = NULL
bcsi1.com in "! +local_domains"? no (matched "! +local_domains" - cached)
dnslookup router skipped: domains mismatch
--------> system_aliases router <--------
local_part=bcsi1 domain=bcsi1.com
calling system_aliases router
rda_interpret (string): ${lookup{$local_part}lsearch{/etc/aliases}}
search_open: lsearch "/etc/aliases"
search_find: file="/etc/aliases"
key="bcsi1" partial=-1 affix=NULL starflags=0
LRU list:
:/etc/aliases
End
internal_search_find: file="/etc/aliases"
type=lsearch key="bcsi1"
file lookup required for bcsi1
in /etc/aliases
lookup failed
expanded:
file is not a filter file
parse_forward_list:
system_aliases router declined for [EMAIL PROTECTED]
--------> userforward router <--------
local_part=bcsi1 domain=bcsi1.com
checking for local user
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=3537 terminating with rc=0 >>>>>>>>>>>>>>>>
calling userforward router
rda_interpret (file): $home/.forward
expanded: /u/bcsi1/.forward
stat(/u/bcsi1/.)=0
/u/bcsi1/.forward does not exist
userforward router declined for [EMAIL PROTECTED]
--------> localuser router <--------
local_part=bcsi1 domain=bcsi1.com
checking for local user
finduser used cached passwd data for bcsi1
calling localuser router
localuser router called for [EMAIL PROTECTED]
domain = bcsi1.com
set transport local_delivery
queued for local_delivery transport: local_part = bcsi1
domain = bcsi1.com
errors_to=NULL
domain_data=NULL localpart_data=NULL
routed by localuser router
envelope to: [EMAIL PROTECTED]
transport: local_delivery
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
After routing:
Local deliveries:
[EMAIL PROTECTED]
Remote deliveries:
Failed addresses:
Deferred addresses:
search_tidyup called
>>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>>
--------> [EMAIL PROTECTED] <--------
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=0
dbfn_read: key=T:[EMAIL PROTECTED]
retry record exists: age=970 (max=604800)
time to retry = 70 expired = 0
search_tidyup called
LOG: MAIN PANIC DIE
unable to set gid=50 or uid=201 (euid=500): local delivery to bcsi1
<[EMAIL PROTECTED]> transport=local_delivery
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=3539 terminating with rc=1 >>>>>>>>>>>>>>>>
LOG: MAIN PANIC
failed to read delivery status for [EMAIL PROTECTED] from delivery
subprocess
LOG: MAIN PANIC
appendfile transport process returned non-zero status 0x0100: exit code 1
local_delivery transport returned DEFER for [EMAIL PROTECTED]
added retry item for T:[EMAIL PROTECTED]: errno=-1 more_errno=0 flags=0
post-process [EMAIL PROTECTED] (1)
LOG: MAIN
== [EMAIL PROTECTED] R=localuser T=local_delivery defer (-1)
>>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
changed uid/gid: post-delivery tidying
uid=500 gid=100 pid=3538
auxiliary group list: <none>
set_process_info: 3538 tidying up after delivering 1FPBHA-0000v3-8a
Processing retry items
Succeeded addresses:
Failed addresses:
Deferred addresses:
[EMAIL PROTECTED]
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=2
address match: [EMAIL PROTECTED] pattern=*
bcsi1.com in "*"? yes (matched "*")
[EMAIL PROTECTED] in "*"? yes (matched "*")
retry for T:[EMAIL PROTECTED] = *
dbfn_read: key=T:[EMAIL PROTECTED]
Writing retry data for T:[EMAIL PROTECTED]
first failed=1143775228 last try=1143779421 next try=1143780321 expired=0
errno=-1 more_errno=0 unknown error
dbfn_write: key=T:[EMAIL PROTECTED]
end of retry processing
time on queue = 1s
warning counts: required 0 done 0
LOG: MAIN
Frozen
delivery deferred: update_spool=1 header_rewritten=0
Writing spool header file
Size of headers = 315
end delivery of 1FPBHA-0000v3-8a
search_tidyup called
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=3538 terminating with rc=0 >>>>>>>>>>>>>>>>
If I am logged in as bcsi1 I can send mail to myself but not to any
other account on the machine or outside although logged on as root I can
send to exim and outside.
What have I messed up?
--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/