LinuxQuestions.org
Review your favorite Linux distribution.
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 01-15-2004, 09:39 AM   #1
timread
LQ Newbie
 
Registered: Mar 2002
Posts: 23

Rep: Reputation: 15
Problems with Procmail + Spamassassin


I have configured (with effort)fetchmail to download my email to /var/spool/mail and want procmail to process it using spamassassin. I hence have created (all in my home directory) a .forward:

"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #user"

and a .procmailrc:

:0fw
| /usr/bin/spamassassin

But when new mail appears, nothing happens... The content of /var/spool/mail just stays the same. If I run procmail my hand it just hangs there doing nothing...

Many thanks.

Tim
 
Old 01-15-2004, 09:59 AM   #2
rlkiddjr
Member
 
Registered: Feb 2002
Distribution: FreeBSD 4.9
Posts: 69

Rep: Reputation: 15
This is what I have for my procmail concerning spamassassin. I run spamassassin as a daemon, so that is why I call spamc. The second command forwards all spam mail to a file called spam. Now a word of warning, you will want to create that file with the specific user permissions. Otherwise it will be created with root permissions.


:0fw
| /usr/bin/spamc

:0:
* ^X-Spam-Flag: Yes
$HOME/spam

Hope this helps.
 
Old 01-15-2004, 10:11 AM   #3
timread
LQ Newbie
 
Registered: Mar 2002
Posts: 23

Original Poster
Rep: Reputation: 15
Just a couple of follow one questions:

How does the system know to start procmail? do you have a .forward file, is procmail running all the time....

Thanks,

Tim
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:40 AM
Spamassassin + Courier Imap + Procmail Savahn Linux - Software 3 01-26-2005 09:40 PM
fetchmail procmail spamassassin VincentB Linux - Software 4 08-24-2004 02:35 PM
Procmail and spamassassin question Liberator Linux - Software 5 08-13-2004 04:24 PM
spamassassin w/ procmail vs. spamassassin w/sendmail bleunuit Linux - Networking 1 08-01-2004 08:12 AM


All times are GMT -5. The time now is 05:25 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration