Disabling Spam checking for a particular address or domain
From Qmailtoaster
This tip shows how to disable Spam processing using simscan in your toaster.
I added this tip after needing to disable spam checking for a given domain. I had a program which automatically generated emails for events and sent them using a perl script. The perl smtp module was not sending a header that Spam Assasin liked so every mail sent was being tagged as spam. Here are the steps I used to quit processing mails sent from this domain.
First I located the simcontrol file at /var/qmail/control. The default file looked like this:
:clam=yes,spam=yes,spam_hits=3
I edited the file to look like this:
mydomain.com:clam=yes,spam=no,spam_hits=8
:clam=yes,spam=yes,spam_hits=3
After saving the file, I ran this command to rebuild the simcontrol.cdb:
service qmail cdb
If I wanted to just stop spam processing for a single user I would have put:
user@mydomain.com:clam=yes,spam=no,spam_hits=8
:clam=yes,spam=yes,spam_hits=3
Detailed info about the simcontrol file and how to implement this can also be found at