#1  
Old 31st March 2006, 18:44
sjmo2 sjmo2 is offline
Junior Member
 
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Procmail Delivery Problem

I am running Postfix-Procmail-Spamassassin on a Mandrake 2005 server. My procmail re-direct and filter for Spamassassin works fine, but in addition we have a Spam filter built into our main Firewall which appends suspcious e-mails with [SPAM+] in the subject. I have tried writing a filter to catch these and deliver to a specific SPAM folder but it is sending all e-mails there. Any ideas?

Procmail filter:
:0:
* ^subject:.*[SPAM+]
dir/SPAM

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 1st April 2006, 12:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Please try this:

Code:
:0:
* ^Subject:[SPAM+]
dir/SPAM
Also have a look here: http://www.howtoforge.com/procmail_tips_recipes
__________________
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
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 14:15
plenty of procmail/trashscan processes ZyanKLee Installation/Configuration 10 27th December 2005 20:09
procmail <defunct> ZyanKLee Installation/Configuration 1 19th December 2005 00:58
SMTP TLS Problem with Mail Client dschmid Installation/Configuration 1 9th December 2005 01:56
postfix problem flourishing General 1 7th December 2005 17:39


All times are GMT +2. The time now is 14:08.


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