LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-18-2003, 05:16 AM   #1
wi-Z-art
LQ Newbie
 
Registered: Oct 2002
Location: Cologne, Germany
Distribution: Debian
Posts: 9

Rep: Reputation: 0
Post Spam filtering and user-specified mail processing


Hello everyone,

I have a running Courier MTA + Maildrop setup which reads /usr/lib/etc/maildirfilter in order to process all incoming messages and test them for spam.
This is the content"
Code:
exception {
        xfilter "/usr/local/bin/spamassassin -x"
}
                                                                                                                 
if (  /^X-Spam-Flag: YES/  )
{
        to "$HOME/Maildir/.Spam/"
}
else
{
        to "$HOME/Maildir/"
}
But now I would like to enable each user to further process his mail, so he could create auto-responders and the like.
I tried creating a .mailfilter file in the home directory, but that didin't work.
The maildrop man page says that the system-wide filter instructions are always processed first. And the "to" command lets maildrop deliver the message and shut down, so I guess it cannot reach the users .mailfilter at all.
So I could leave out the "to" command, but then every user would need a .mailfilter file?
How can I make this file optional?

I'd welcome any ideas.
Greetings
Marcus
 
  


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
Maildir offline sorting/processing/filtering stingo Linux - Software 1 03-24-2005 03:13 PM
Mail Check Applet with Spam filtering? CanadianPenguin Linux - Software 4 11-23-2003 02:32 AM
ISP server Filtering spam mail foweja Linux - General 4 10-21-2003 07:02 PM
Spam Filtering WeNdeL Linux - General 3 06-17-2003 12:13 PM
Sendmail Spam filtering and Virus filtering MrJoshua Linux - General 2 04-03-2003 11:12 AM


All times are GMT -5. The time now is 07:20 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration