Solved milter-greylist ignoring user setting in configuration file

After migrating my server from sendmail to mail/postfix I now can't get it to talk to mail/milter-greylist. The problem is that milter-greylist runs as mailnull and creates its socket as
Code:
srwxr-xr-x  1 mailnull  mailnull    0 Jul 25 00:58 milter-greylist.sock
. I have changed the user entry in /usr/local/etc/mail/greylist.conf to
Code:
user "postfix:postfix"
and restarted the machine, but still it runs as mailnull and creates the socket as such. How can I change the ownership so postfix can talk to it?

Answer: I had to set miltergreylist_runas=postfix:postfix in/etc/rc.conf!
 
Back
Top