Link to home
Start Free TrialLog in
Avatar of DrDamnit
DrDamnitFlag for United States of America

asked on

Configure Spam Assassing to Scan a File?

We have a group of people who are signed up to receive special offers in their area. They had to sign up with a form, and then double-opt in.

The system has been running like a champ for a year, but today we got listed on the CBL. I think it's because of the wording some of the recent messages that were sent out by the client.

I want to setup Spam Assassin to scan an email message prior to sending and display a score for the message, so they can stay away from spammy practices and prevent getting listed in the future.

Does anyone know how to do this?
Avatar of Jon Brelie
Jon Brelie
Flag of United States of America image

If I'm reading this correctly, you want SpamAssassin to scan outbound email, correct?

Install it on a mailserver that is configured as a smarthost to relay your outbound email through.  I'd also configure it to kick quarantined email to a mailbox that you check frequently so you can assess why something was blocked and alter your content.
If you're just talking about adjusting the scores, here's some links on how to adjust them.
http://linuxgazette.net/105/youngman.html
https://www.digitalocean.com/community/articles/how-to-install-and-setup-spamassassin-on-ubuntu-12-04


If you don't have spam assassin already, it might be easier to just use amavis which can run spamassassin and clamav on both outbound and inbound mail.  http://www.ijs.si/software/amavisd/
Avatar of DrDamnit

ASKER

Not outbound mail. Wet currently have an auto responder in place that answers people's requests, and even walls then through certain processes using email reminders and prompts.

What I want is similar to what aweber uses: when I save a new email, I want to see how that email scores before it is ever queued or sent.
In thinking about it, I should be able to pipe an email text file from the file system to spamassassin and get a score, just not sue w how to do it.
ASKER CERTIFIED SOLUTION
Avatar of Jon Brelie
Jon Brelie
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I am circling back around to this. Enphyniti: can you give me a little more info on your thoughts about using Procmail?
Never did get this sorted, but seems to be the right track.