On 01/15/2011 06:24 PM, Shamim Shahriar wrote:
I would like to give this a try on Monday once I get back to work, but wondering how can I generate some spams with enough score to pass through but not too many to be entirely rejected. Any idea where/how I may get hold of some?
Hi Shamim, I would try playing around with your spamassassin's local.cf file and create a rule for content that will generate spamscores for your test email that fall between your spam tag score and your spam reject score. The local.cf file is located at /etc/mail/spamassassin/local.cf in RedHat/CentOS. I am not sure what OS you are running but use the find or locate command to find your copy of local.cf if necessary. For example, create a test spam email that includes a link such as: http://spamtestlink.com Then, add this to your local.cf file: uri SPAMTESTLINK /spamtestlink\.com/ score SPAMTESTLINK 5.0 Then restart your spamassassin service. This will add 5 spamscore points to any email that has the http://spamtestlink.com url in the body of the email. Send a test email and then adjust the score value until you end up with a total spamscore between the tag score and the reject score. I hope that this helps. Gordon