Bowie Bailey writes:
I'm still having trouble with this. I have completely rebuilt the system from scratch (CentOS 4.2), so there are no leftovers from previous installs.Courier was built as such:rpmbuild -tb --define 'xflags --with-mailuser=mailuser --with-mailgroup=mailuser' sources/courier-0.52.1.tar.bz2(line break added for email) The 'mailuser' users and groups existed on the server prior to the build. It installed with no problems and ownership and permissions for the files looks good. No custom configuration has been done as of this point. I just installed it and then tried to start it up. Problem is, courierfilter refuses to start up because it doesn't have permissions to write its pid file. I changed the permissions on /var/spool/courier/tmp to 777 and noticed that it wrote the pid file as 'courier' rather than 'mailuser'. Any idea why this would happen? How can I control which user it runs as?
I firmly believe that you're running courierfilter left over from a previous install of Courier, which was configured to use different uid and gid settings.
pgpudsCDpTH0z.pgp
Description: PGP signature
