occasionally i need to manually remove .sock on startup. so for RH i made these changes < to the start up [root@mail5 init.d]# diff greylist /usr/src/milter-greylist-3.1.5/rc-redhat.sh 32,34c32 < rm -f /var/milter-greylist/milter-greylist.sock < #daemon --user=$user /usr/local/bin/milter-greylist $OPTIONS < daemon /usr/local/bin/milter-greylist $OPTIONS --- > daemon --user=$user /usr/local/bin/milter-greylist $OPTIONS (otherwise no perms to /var/spool/mqueue as user smmsp) which might contribute to this problem; these were the permissions on creation (stat command) -rw-r--r-- 1 root root 0 Feb 23 10:28 milter-greylist.log even though the binary was built and running as --user=smmsp since the .sock and .db gets created ok i am presuming this is a coding bug.
Message
rc-redhat.sh --user (stat command file owner/permissions issue)
2007-02-25 by george