Page 1 of 1

Configure SpamAssassin to ignore locally generated e-mail

Posted: Tue Mar 16, 2010 6:47 pm
by dietcheese
Hi,

Is there a way to set SpamAssassin to ignore e-mail generated by PHP scripts, Horde, Command-Line, etc?

Maybe I should be clear about my difficulty:

I have a form that asks for the name and e-mail address of the submitter. I want to e-mail that form (using PHP) to a local e-mail account setting the From: and Reply-To: headers to that of the submitter. This is so the recipient can immediately see who submitted the e-mail and hit "reply-to" to respond to them.

The problem is SpamAssassin seems to see these as forged e-mail headers and is giving them higher SA scores then the local recipients allow.

What would be the best way of handling this?

I appreciate it,

DC

Re: Configure SpamAssassin to ignore locally generated e-mail

Posted: Tue Mar 23, 2010 6:16 am
by albans
Hi,

You should read this thread:
http://www.atomicorp.com/forum/viewtopic.php?f=4&t=3811

Your problem is almost the same.
The idea is to add custom rules to SpamAssassin to lower the score if it find any keywords in your mail headers.

Check it out, it worked well for me.

Have a nice day!