LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-05-2007, 09:01 AM   #1
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, USA
Distribution: VMware V12 and V15 in Windows 10, MX Linux 23.1, Kubuntu 23.10, IBM z/VM 5.4
Posts: 558

Rep: Reputation: 34
Procmail HowTo


I'm trying to use procmail in between SpamAssassin and Squirrel mail.

I can't seem to get the procmail statements right. When SpamAssassin places the following in the subject of the message, I want the message to go to a special folder.

This is what's in the subject line. ***SPAM***

I would like to get procmail implemented so as to put these kind of messages in a special spam folder

Would anybody out there show me how to set the correct recipe and guide me to a really good tutorial.

Suse 10.2.

Tha
 
Old 08-05-2007, 11:35 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

spamassassin also includes a header in processed emails. It's probably easier to use that to filter on (and in the unlikely event that someone sends you a non-spam message with ***SPAM*** as the subject, it won't get filtered).

This is what I'm using:
Code:
:0fw:
* < 256000
| /usr/bin/spamc

:0:
* ^X-Spam-Status: Yes
<insert spam folder here>
Dave

Last edited by ilikejam; 08-05-2007 at 11:38 AM.
 
Old 08-06-2007, 10:39 AM   #3
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, USA
Distribution: VMware V12 and V15 in Windows 10, MX Linux 23.1, Kubuntu 23.10, IBM z/VM 5.4
Posts: 558

Original Poster
Rep: Reputation: 34
Thanks for your reply...I'm going to try that.
 
  


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
Linux Multicasting HOWTO.HOWTO Join Multicast Groups ar24458 Linux - Networking 0 04-02-2007 01:55 AM
HOWTO: Setup RH FC3, Sendmail, Procmail with ADSL & DDNS dvwyngaa Linux - Networking 0 06-17-2005 06:35 AM
Problem with mail delivery procmail>cyrus imap (using sendmail,procmail,cyrus,imap) bwana Linux - Software 2 03-24-2005 07:01 PM
Perl Script Program (need) : SpamAssassin-ClamAV-Procmail-Howto cyberjames Slackware 8 01-27-2005 11:53 AM
Howto update KDE and howto switch off kdm/gdm Canaris Linux - Software 1 06-15-2003 08:40 PM

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

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