Sunday, December 18, 2005

Failing to quarantine, mailing lists getting spammed

One of our mailing lists got flooded by spam because of some loose permission settings, although it seemed to me that the messages that were being received should have been quarantined, and they weren't. Their scores were well over the threshold for being quarantined, so I decided to investigate the logs.

The /var/log/spamd log has these messages in it: @4000000043a5aef60405abb4 [20458] error: Can't locate Mail/SPF/Query.pm in @INC (etc etc)

So, I'm going to resolve those errors first.

Alright, so I tried to install Mail::SPF::Query by doing the whole download to /src/var/tar thing and then make blah blah, but it had some dependencies missing.

SO

I installed the dependencies using the cpan interface:

cd /root
perl -MCPAN -e shell
install DependencyName::Dependency::etc

and then I said what the heck, I'll just install Mail::SPF::Query with the cpan terminal also, it's cleaner that way.

So I did:

install Mail::SPF::Query <==Note, this command has to be run from the CPAN console.
quit

Everything ran fine, and although the error is no longer appearing, I don't think we solved our problem.

I set all the mailing lists to only accept messages from subscribers.

0 comments: