if ( ($self->{_args}->{spamd_socket}) && ($self->{_args}->{spamd_socket} =~ /^([\w\/.]+)$/) ) { # connect to Unix Domain Socket
which seems to have worked.
Just wondering if this was useful to anyone else, I would contact the maintainer of the plugin, but there is no hint of any from the plugin file... :)
That particular piece would be me. Sorry about that... :(
FWIW, you should really be using the spamd_socket support, as it is faster and more importantly much more secure than the normal TCP/IP connection to spamd. You just need to add e.g.:
--socketpath=/var/run/spamd.sock
to your spamd invocation line and restart it.
John
