Configure SpamAssassin to ignore locally generated e-mail

Forum for getting help with Project Gamera, Spamassassin, Clamav, qmail-scanner and other anti-spam tools.
dietcheese
Forum User
Forum User
Posts: 59
Joined: Wed Jan 24, 2007 10:07 pm

Configure SpamAssassin to ignore locally generated e-mail

Unread post 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
albans
Forum User
Forum User
Posts: 59
Joined: Tue Mar 28, 2006 4:03 am

Re: Configure SpamAssassin to ignore locally generated e-mail

Unread post 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!
Post Reply