Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th September 2008, 17:40
kevinbhawkins kevinbhawkins is offline
Junior Member
 
Join Date: Sep 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default procmail issues with spamassassin

I am having some nightmare procmail issues on a system with PLESK

My aim is to run these rules server-wide but for now I have a .forward file processing a specific user to a .procmailrc file.

I want to be able to delete certain email on criteria using /dev/null but even when the filter matches, the email still gets through. For a while I was even getting double emails of all non-spam tagged messages.

Any help with figuring out why the /dev/null action isn't working would be appreciated, but I am also getting "cannot create tmp lockfile" errors when I try to use spamassassin for blacklisting and whitelisting.


below are my .procmailrc and a procmail.log output. Any insight would be greatly appreciated since this has been eating up DAYS.

Kev

PS: I have replaced actual domain names and user names with generic terms, but all paths on my server are accurate

MAILDIR=/var/qmail/mailnames/domainame.com/username/Maildir


SPAMDIR=${MAILDIR}/.Spam
DEFAULT=${MAILDIR}/
#LOGFILE=${MAILDIR}/procmail.log
#LOG="--- Logging ${LOGFILE} for ${LOGNAME} "


#VERBOSE=yes
#LOGABSTRACT=all

# Send all mail through SpamAssassin

:0fw: spamassassin.lock
* < 256000
| spamassassin

:0
* ^From:.*@yahoo\.com
/dev/null


:0
* ^Subject:.SPAM
/dev/null


:0
* ^X-Spam-Status: Yes.*
/dev/null

PROCMAIL LOG:


procmail: [10865] Mon Sep 1 07:30:10 2008
procmail: Locking "spamassassin.lock"
[11466] warn: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /var/qmail/popuser/.spamassassin/auto-whitelist.lock.server.domainname.com.11466 for /var/qmail/popuser/.spamassassin/auto-whitelist.lock: Permission denied
procmail: [11464] Mon Sep 1 07:30:13 2008
procmail: Unlocking "spamassassin.lock"
procmail: No match on "^From:.*@yahoo\.com"
procmail: No match on "^Subject:.SPAM"
procmail: Match on "^X-Spam-Status: Yes.*"
procmail: Assigning "LASTFOLDER=/dev/null"
procmail: Opening "/dev/null"
From clarencestoreyalexander@regia.org Mon Sep 01 15:30:06 2008
Subject: *****SPAM***** Looking for Tag Heur replica? Visit Replica Classics
Folder: /dev/null 2458
procmail: [10865] Mon Sep 1 07:30:18 2008
Reply With Quote
Sponsored Links
  #2  
Old 7th September 2008, 18:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

What's the output of
Code:
ls -la /var/qmail/popuser/
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 8.04 Spamsnake - all SA scores 0.00 Thomas_Powers HOWTO-Related Questions 23 24th June 2008 18:37
ISPconfig 2.2.21 Load Averange Very High mmiyamoto General 3 6th March 2008 14:13
Question on Clamscan and SpamAssassin AZMel Installation/Configuration 3 11th January 2007 20:56
plenty of procmail/trashscan processes ZyanKLee Installation/Configuration 10 27th December 2005 21:09
procmail <defunct> ZyanKLee Installation/Configuration 1 19th December 2005 01:58


All times are GMT +2. The time now is 03:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.