Hi
I have Exim 4.43 with a UID of 121 and a GID or 121.
Everything works fine except for the aliases-to-file
Alias file has :
test-mal: /var/mail/ARCHIVE/mal-test
mal-test permissions are set to fred (UID-101) rw and exim (GID-121) rw
When ever I sent to test-mal, exim always complains that the UID is wrong
Eg
2005-01-11 17:15:37 1CoPcH-0005V9-Eh == /var/mail/ARCHIVE/mal-test
<test-mal@???> R=system_aliases T=address_file defer (-6):
mailbox /var/mail/ARCHIVE/mal-test has wrong uid (101 != 121)
I've tried playing around with router and transports (see below)
system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch{/usr/local/exim/aliases}}
check_owner=false
check_group=false
# user=exim
group=exim
check_local_user=false
file_transport = address_file
pipe_transport = address_pipe
address_file:
driver = appendfile
delivery_date_add
envelope_to_add
return_path_add
#user=exim
#group=exim
mode=0664
mode_fail_narrower = false
But can't find the magic formula/option
What do I need to do so that Exim can write to a file with a GID = Exim and
ignore the UID ?
Thanks
Leigh