• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 170
  • Last Modified:

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?
0
DrDamnit
Asked:
DrDamnit
  • 4
  • 2
1 Solution
 
Jon BrelieSystem ArchitectCommented:
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.
0
 
serialbandCommented:
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/
0
 
DrDamnitAuthor Commented:
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.
0
A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

 
DrDamnitAuthor Commented:
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.
0
 
Jon BrelieSystem ArchitectCommented:
Cycle it through a mailbox that invokes SpamAssassin via ProcMail and forwards the message back to your mailbox?

If you wanted to do it "headers intact" you could whip up a script to do a telnet connection and send the content you want.
0
 
DrDamnitAuthor Commented:
I am circling back around to this. Enphyniti: can you give me a little more info on your thoughts about using Procmail?
0
 
DrDamnitAuthor Commented:
Never did get this sorted, but seems to be the right track.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now