[Exim] userforward router problems

Top Page
Delete this message
Reply to this message
Author: Bradford Carpenter
Date:  
To: exim-users
Subject: [Exim] userforward router problems
I'm no unix expert, so I get lost pretty easily. Recently updated to
exim 4.30 and OSX Panther at roughly the same time. Had everything
working just fine, but this afternoon I repaired permissions and ran
the maintenance scripts for the first time since upgrading. Now I get
error messages like the following every time exim attempts to make a
local delivery.


2004-01-11 14:30:27 HRCJUQ-0000AH-N5 <= exim-users-admin@???
H=localhost [127.0.0.1] P=esmtp S=3666
id=E1AfneR-0000ae-00@???
2004-01-11 14:30:27
HRCJUQ-0000AH-N5 unable to set gid=501 or uid=501 (euid=400):
userforward router (recipient is jbc@localhost)
2004-01-11 14:30:27
HRCJUQ-0000AH-N5 internal problem in userforward router (recipient is
jbc@localhost): failure to transfer data from subprocess
2004-01-11
14:30:27 HRCJUQ-0000AH-N5 == jbc@localhost R=userforward defer (-1):
internal problem in userforward router (recipient is jbc@localhost):
failure to transfer data from subprocess

Never gotten this error from exim before; checked permissions for the
local mailbox and .forward file, and everything is fine as near as I
can tell. Sending a "-qqf" to exim after my connection is down and the
queue_only file is in place causes exim to give me a message like
this:

2004-01-11 12:39:23 Start queue run: pid=504 -qqf
2004-01-11 12:39:23
HRCDZQ-0000CZ-8T Spool error for
/opt/local/var/spool/exim/input//HRCDZQ-0000CZ-8T-D: Permission
denied
2004-01-11 12:39:23 HRCDZQ-0000CZ-8T Spool error for
/opt/local/var/spool/exim/input//HRCDZQ-0000CZ-8T-D: Permission
denied
2004-01-11 12:39:23 End queue run: pid=504 -qqf

Then *next* time I connect and a "-qqf" is sent to exim after the
queue_only file is removed, the mail finally gets delivered to my
local /var/mail mailbox.

My userforward router is quite basic at this point, as is my .forward
file:

userforward:
driver = redirect
local_part_suffix = .*

local_part_suffix_optional
check_local_user
file = $home/.forward

no_verify
no_expn
check_ancestor
allow_filter
file_transport
= address_file
pipe_transport = address_pipe
reply_transport =
address_reply

forward file contents:
# Exim filter

deliver "jbc"

Debug mode indicates something's going wrong after accessing the
forward file:

598 --------> userforward router <--------
598 local_part=jbc domain=localhost
598 checking for local user
598 calling userforward router
598 rda_interpret (file): $home/.forward
598 expanded: /Users/jbc/.forward
599 LOG: MAIN PANIC DIE
599 unable to set gid=501 or uid=501 (euid=400): userforward
router (recipient is jbc@localhost)

I'm assuming this is some sort of permissions issue, but I'm not sure
exactly where the problem is. Anybody have an idea what may have
gotten changed that borked my exim installation?

Thanks,
Brad