LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-28-2005, 12:05 PM   #1
wfernley
Member
 
Registered: Apr 2005
Posts: 65

Rep: Reputation: 15
Setting up SpamAssassin with POSTFIX


Hello,

I'm new to POSTFIX but I have it working great and all our email address are working. I need to setup a SPAM filter and I have SpamAssassin installed. By the sounds of it, it should work fine for what I want to do. I just need it to look for certain words and block the email if that word is contained. Or setup SpamAssassin to put "[SPAM]" in the subject of the email.

I need help setuping up POSTFIX to work with SpamAssassin. I tried looking up tutorials but many go to indepth for what I need (at least I think). I don't really want to get into installing some new programs because I'm still fairly new to this and I don't want to screw up our webserver.

Does anyone know how to get POSTFIX to work with SpamAssassin? What do I need to add to the main.cf file to check the incoming emails with SpamAssassin? also, how do I configure SpamAssassin to check for keywords and block the email?

Thanks in advance for your help!


Wes
 
Old 11-29-2005, 07:51 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I would recommend looking into using amavisd-new to use as the glue to tie Postfix and Spamassassin together..

Theres a LOT of how-to's linked from the postfix site on many many different configurations. I would recommend finding one that is based on your particular distribution of linux and your particular goals for functionalitly and starting from there. do the buiold on a spare PC and test it before integrating the new functionality into your existing mail server.


I am currently working from this one. - http://www.howtoforge.com/virtual_po..._quota_courier
Debian Stable
Postfix
Courier POP3 / IMAP / Webmail
SMTP-Auth
Virtual Users hosted in MySQL
Amavisd-new
Clam-AV
Spamassassin

And then I will add in Vacation to allow users to set away messages.


There are quite a few settings in Postfix alone for blocking spam and specific attachments. so you may want to look into the UCE functions of Postfix as well since they are less CPU intensive than Spamassassin.
http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix Dovecot Spamassassin php4u Fedora 1 04-09-2005 02:48 AM
Postfix + SpamAssassin + Hivemail = ? technician Linux - Software 1 10-16-2004 01:58 PM
Postfix as a frontend for Exchange, for Spamassassin jdavidow Linux - Networking 0 09-02-2004 05:48 AM
Postfix and Spamassassin Phaethar Linux - Networking 0 10-30-2003 08:30 AM
Postfix/Spamassassin on firewall Pcghost Linux - Software 0 04-10-2003 11:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration