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 03-24-2005, 10:57 AM   #1
birdseye
Member
 
Registered: Mar 2005
Location: Wales, UK
Distribution: Gentoo, Debian, Ubuntu
Posts: 60

Rep: Reputation: 15
Spamassassin: Add _SCORE_ to start of ham subjects with procmail


Hey there,

In order to get used to the scores that spamassassin gives to ham, I want to label all emails with the _SCORE_ variable at the start of every subject for all emails.

I have troved through the spamassassin how-tos and man pages, and tried several things, but none seem to have worked. For example,

rewrite_subject 1
rewrite_header (with and without 'ham' here) Subject _SCORE_

None of these work. I have come to the conclusion that no spamassassin config will do the trick.

Then I come to the conclusion to use procmail. I have heard that it may be possible to use the \/ $MATCH rules, with one match for the score, another for the subject, and then rewrite the subject. I cannot think of how to do this though! The other possiblility maybe awk, but have no idea how to do this either.

Any help would be greately appreciated.

Rhys
 
  


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 and procmail zamri Linux - Networking 2 07-16-2005 06:40 AM
fetchmail procmail spamassassin VincentB Linux - Software 4 08-24-2004 01:35 PM
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 - Software

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