LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-13-2008, 05:08 AM   #1
wooshyFox
Member
 
Registered: Feb 2005
Distribution: debian sarge
Posts: 113

Rep: Reputation: 15
procmail spamassassin failure...


Hi I have spamassassin 3.1.9 installed with procmail 2.45 on Red Hat 4.1.2-13 kernel 2.6.22.14-72.fc6 .

I have a problem that I can't figure out (or find an explanation for):
One mail user is getting all mail to their account bounced with the following message in maillog:

temporary failure. Command output: procmail: Program failure (-25) of
"/usr/bin/spamassassin" procmail: Rescue of unfiltered data succeeded
procmail: Error while writing to "" procmail: Error while writing to
"/var/mail/lynn.<domain-name>"

(I have replaced the domain name with <domain-name> here)

It seems as though Spamassassin is failing for some reason (I can't find mention of an error 25), then it's fallback is failing to write the message anyway - because the /var/mail/lynn.<domain-name> directory does not exist - I obviously need to change something in the spamassassin config to reflect the actual directory structure which is /var/mail/lynn and I am puzzled by the 'Error writing to "" ' bit....

Actually I am puzzled by all of it - I am a bit of a newbie to managing mail on linux.

Any help would be welcome....
:-)
 
Old 08-13-2008, 05:12 AM   #2
wooshyFox
Member
 
Registered: Feb 2005
Distribution: debian sarge
Posts: 113

Original Poster
Rep: Reputation: 15
sorry - correction to prev post:
"I obviously need to change something in the spamassassin config to reflect the actual directory structure which is /var/mail/lynn" should read ".... which is /home/<domain>/homes/lynn"
CP+ is being used on this web/mail server BTW
 
Old 08-13-2008, 05:18 AM   #3
wooshyFox
Member
 
Registered: Feb 2005
Distribution: debian sarge
Posts: 113

Original Poster
Rep: Reputation: 15
another correction - I mean PostFix version 2.45 not procmail .....
 
Old 08-13-2008, 06:46 AM   #4
wooshyFox
Member
 
Registered: Feb 2005
Distribution: debian sarge
Posts: 113

Original Poster
Rep: Reputation: 15
Just a bit more info:
This error is now occuring on 3 seperate email addresses at this domain.
Looking at cpu use using top it appears that between them, spamassassin processes are taking up around 98% of processor use...

Any ideas? anyone?
 
Old 08-13-2008, 08:23 AM   #5
wooshyFox
Member
 
Registered: Feb 2005
Distribution: debian sarge
Posts: 113

Original Poster
Rep: Reputation: 15
Hah - discovered one problem - /etc/postxix/main had mailbox_size_limit set to 11 megs - can't beleive this is the default! All 3 users are on holiday, so this is the first time this limit had been reached...

upped it to half a gig and now the mail is getting through.
Don't know about the other problem though...
 
  


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
spamassassin not sending to procmail ryedunn Linux - Software 4 06-13-2007 10:45 PM
Spamassassin and procmail zamri Linux - Networking 2 07-16-2005 06:40 AM
Procmail and spamassassin question Liberator Linux - Software 5 08-13-2004 03:24 PM
spamassassin w/ procmail vs. spamassassin w/sendmail bleunuit Linux - Networking 1 08-01-2004 07:12 AM
Problems with Procmail + Spamassassin timread Linux - Software 2 01-15-2004 09:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:47 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