On 2015-04-16 21:11, Richard Troy wrote:
I don't know exactly about ownership and file modes as I don't use
spamass-milter myself, but I would suggest a simplefied version of the
path you choose, unix:/spamass-milter/postfix.sock
OK, again thanks, will try.
Ok, I just installed spamass-milter in an Ubuntu-server vm to take a
look. I have no Fedora installed so this will have to do.
Looking at /etc/init.d/spamass-milter (and
/etc/defaults/spamass-milter):
# If /usr/sbin/postfix exists, set up the defaults for a postfix install
# These can be overridden in /etc/default/spamass-milter
if [ -x /usr/sbin/postfix ]; then
SOCKET="/var/spool/postfix/spamass/spamass.sock"
SOCKETOWNER="postfix:postfix"
SOCKETMODE="0660"
fi;
You have to create the directory yourself, including the right
ownership/rights.
Um... How do I creat the "sock" part? mksock doesn't exist on this
distribution. Is it a bit like an NFS mount directory? Create an entry
and the software takes it over somehow?
man spamass-milter:
-p socket
Specifies the pathname of a socket to create for
communication with sendmail.
In Ubuntu the init.d script takes care of creating the socket using -p,
including ownership/rights. I suspect Fedora does the same but changes
are that the path to the socket is different.
After this, it should be easy to access the milter in postfix with
unix:/spamass/spamass.sock
So see if you can figure out the defaults on Fedora and you're set to
go. I never used Fedora so I can't help you there.
/MJ