Bluehost.com Web Hosting $6.95

[courier-users] filtering messages from lists

This is a discussion on [courier-users] filtering messages from lists within the Courier-Imap forums, part of the Mail Servers and Related category; At the moment I'm subscribed - like most people - to several mail lists. I use maildroprc to filter incoming messages ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-08-2005
David Somers
 
Posts: n/a
Default [courier-users] filtering messages from lists

At the moment I'm subscribed - like most people - to several mail lists.

I use maildroprc to filter incoming messages into specific folders, so
traffic from each list is automagically sorted away for the preverbial rainy
day. The problem is that whenever I subscribe to a new list, I have to
manually tweak maildroprc to cope with the new list's filtering.

I'm using the following kinda thing to do the grunt work, and just
copy/paste/modify for each new list.

if (/^Mailing-List: contact wx-users/:h)
{
log 'LIST=wx-users'

`test -d $DEFAULT/.WX-USERS`
if ($RETURNCODE != 0)
{
log 'creating folder for WX-USERS'
`cp -Rp /etc/courier/skel $DEFAULT/.WX-USERS`
`echo INBOX.WX-USERS >> $MAILDIR/courierimapsubscribed `
}
exception {
to $DEFAULT/.WX-USERS/
}
}

Is there someway I can automate this process? I'm sure there is someway I
can use wildcards to do the job, but when I tried, it failed.

TIA,

David



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 04:47 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0