LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-30-2003, 08:30 AM   #1
Phaethar
Member
 
Registered: Oct 2003
Location: MN
Distribution: CentOS, Fedora
Posts: 182

Rep: Reputation: 30
Postfix and Spamassassin


I'm hoping someone can provide me with some insight into why Spamassassin isn't working for me with Postfix. I am running a Postfix mail server on RedHat 9 with no problems, and wanted to get Spamassassin set up as well. I found a couple of good tutorials online about how to set it up, and it seemed easy enough. Install and setup go ok, and I have added all the information to the master.cf file and created a basic filter script. However, when I reload Postfix, my CPU usage spikes up to 100%. I can still log in from other machines and check mail, but sending anything results in a "Mail Delivery System" error, saying that the service was unavailable. Which service, I don't know.

If I remove the additions to the master.cf file, everything works fine again. The lines I've added are as follows (identations don't show up, but they are there):

smtp inet n - n - - smtpd <-- this was already there
-o content_filter=filter: <-- this was added by me and is indented

filter unix - n n - - pipe
user=spamfilter argv=/usr/local/bin/spamfilter.sh -f ${sender} -- ${recipient}

The spamfilter.sh script is also set up with proper rights... I can post that as well. I have checked multiple sites for reference, and they all have basically the same thing, so I'm not sure what else I need to do. Does anyone have any suggestions on what I can do to get this working?

TIA
 
  


Reply



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
Setting up SpamAssassin with POSTFIX wfernley Linux - Software 1 11-29-2005 07:51 AM
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/Spamassassin on firewall Pcghost Linux - Software 0 04-10-2003 11:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:04 PM.

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