On Wed, Jul 25, 2001 at 02:40:37PM -0400, Jason Rashaad Jackson
wrote:
> Is there a simple way to export my KMail filters into procmail
> rules?  I would just do it by hand if it weren't for that fact
> that I have a LOT of filters in place.

also have a look at exim filters --

my ~/.forward contains (among other items):

        # Exim filter

        logfile $home/.forward.log 0600

        if $h_X-Mailing-List matches "^<debian-(.*)@lists\\\\.debian\\\\.org>"
        #X-Mailing-List: <debian-user@lists.debian.org> archive/latest/151892
        then
                save Mail/debian-${lc:$1}
                logwrite "From $return_path $tod_log\n Subject: $h_subject:\n  
Folder: debian-${lc:$1}                            $message_size"
                finish
        endif

        if      $return_path contains "[EMAIL PROTECTED]"
        then
                save Mail/paypal
                logwrite "From $return_path $tod_log\n Subject: $h_subject:\n  
Folder: paypal                             $message_size"
                finish
        endif

(the logfile/logwrite combo is so i can use mailstat to see how
much of what went where.)

much easier to grok than procmail syntax.

-- 
DEBIAN NEWBIE TIP #47 from Will Trillich <[EMAIL PROTECTED]>
:
Want to LEARN MORE ABOUT VIM? From inside vim (when you're
editing some text) try
        :help
        :help howto
        :help options
Type "ctrl-W ctrl-W" to switch 'panes', or "ctrl-W q" to close
one. (Try ":help CTRL-W" for more details on control-W.)

Also see http://newbieDoc.sourceForge.net/ ...

Reply via email to