[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-plugins
Subject:    Re: [SM-PLUGINS] SPAM folder
From:       Paul Lesniewski <paul () squirrelmail ! org>
Date:       2009-09-02 18:41:08
Message-ID: 58191e420909021141i622bf886ndf81b3751979c484 () mail ! gmail ! com
[Download RAW message or body]

On Wed, Sep 2, 2009 at 10:24 AM, Ted Hatfield<ted@pat.io.com> wrote:
> On Wed, 2 Sep 2009, damas@juasun.net wrote:
> 
> > Greetings,
> > 
> > I am working with mail server whereby my server is installed the following:-
> > 
> > 1. OS Fedora core 10 (2.6.27.5-117.fc10.i686)
> > 2. SuirrelMail ( Version 1.4.0)
> > 3. Dovecot (version 1.2.4)
> > 4. SendMail (version 8.14.3-1)
> > 5. MailScanner (version 4.77.10)
> > 6. Procmail (version 3.22-22)
> > 7. Spamassassin ( version 3.2.5-2)
> > 
> > I configured my mail server in such away that it can detect all spam mails
> > with header [SPAM] using spamassassin & procmailrc, now my problem in
> > which i am looking for help is to deliver all spam mails into spam folder,
> > is there any way i can set or use squirrelmail plugin which can make the
> > detected spam mails to be delivered into spam folder automatically?
> > please, anyone to help!
> > regards!
> > Damas A.M
> > 
> 
> Damas,
> 
> If you are looking for a way to use procmail to filter out messages marked
> by spamassassin into a seperate folder you can do so in the global
> procmailrc file.
> 
> Create a file at /usr/local/etc/procmailrc or /etc/procmailrc (whichever
> your system requires) and add this rule.
> 
> ############################
> DROPPRIVS=yes
> 
> > 0
> * ^X-Spam-Flag: .*YES.*
> $HOME/Maildir/.Trash/
> ############################
> 
> Dropping privileges changes the HOME variable to the users home directory.
> 
> The rule looks for the header "X-Spam-Flag", if YES then place the message
> in the folder specified.  For example my mailbox would expand to
> /home/ted/Maildir/.Trash/ .
> 
> If you are looking for a program that allows users to have the option of
> filtering or not you must install a plugin that has the capability of
> adjusting the users .procmailrc file.
> 
> I have a similar setup to yours.
> 
> sendmail
> spamass-milter (rather than mailscanner)
> Dovecot
> Procmail
> 
> I have written a custom plugin that uses ftp to update the users
> .procmailrc file and their .spamassassin/user_prefs file as well.

The Server Settings plugin is meant to do this.


> If you would like more information and a copy of the plugin please let me
> know.
> 
> It's tested and running on verion 1.4.17.  I'm not sure what problems you
> may run into on version 1.4.0.

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): \
https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic