/etc/courier directory is owned by courier.admin with 775 permissions.
/etc/courier/hosteddomains is owned by courier.courier with 775 permissions.
/etc/courier/esmtpacceptmailfor.dir/* is owned by courier.courier with 775
permissions.
/usr/lib/courier/sbin/makehosteddomains is owned by courier.admin and has
been chmod'd u+s.
/usr/lib/courier/sbin/makeacceptmailfor is owned by courier.admin and has
been chmod'd u+s.
So, if I then have a system user called 'test' who is a member of the
'admin' group, I should be able to login as that user, run the
'makehosteddomains' program, and have my hosteddomains.dat file
updated.
BUT.. it doesn't work. It complains that it cannot make
hosteddomains.tmp. If I hack about with the command line options to make
the temporary file somewhere else (eg, /tmp), it then makes the file, but
complains that it cant replace the original copy that's sitting in
/etc/courier.
I *really* need to get this working, so any input would be useful!
Bryan.