Greetings,

This keeps showing up in my logs:

Use of uninitialized value in pattern match (m//) at ./plugins/spamassassin line
102, <STDIN> line 17.

And the offending line from ./plugins/spamassassin is here,

if ( ($self->{_args}->{spamd_socket} =~ /^([\w\/.]+)$/) ) { # connect to Unix
Domain Socket

seems (for my instance at least) that $self->{_args}->{spamd_socket} has no
value, thus the complaining. I've quickly hacked it to 

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... :)

/joon




-----------------------------------------------------
This mail sent through IMP: http://webmail.xybase.com

Reply via email to