

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
43 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Help with /etc/maildr...| From | Sent On | Attachments |
|---|---|---|
| Courier | Dec 29, 2005 5:46 pm | |
| Sam Varshavchik | Dec 29, 2005 6:25 pm | |
| Truong Tan Son | Dec 29, 2005 7:03 pm | |
| Courier | Dec 29, 2005 8:07 pm | |
| Truong Tan Son | Dec 29, 2005 8:18 pm | |
| Courier | Dec 29, 2005 8:50 pm | |
| Thorsten Haude | Dec 30, 2005 1:28 am | |
| Courier | Dec 30, 2005 9:08 am | |
| Thorsten Haude | Dec 30, 2005 9:34 am | |
| Courier | Dec 30, 2005 2:35 pm | |
| Todd Lyons | Dec 30, 2005 2:56 pm | |
| Courier | Dec 30, 2005 3:38 pm | |
| Todd Lyons | Jan 2, 2006 1:21 pm | |
| Courier | Jan 3, 2006 2:40 pm | |
| Devin Rubia | Jan 4, 2006 7:03 am | |
| Todd Lyons | Jan 4, 2006 8:07 am | |
| Courier | Jan 4, 2006 1:56 pm | |
| Todd Lyons | Jan 4, 2006 2:54 pm | |
| Courier | Jan 4, 2006 6:28 pm | |
| Devin Rubia | Jan 5, 2006 6:11 am | |
| Courier | Jan 5, 2006 11:28 am | |
| Devin Rubia | Jan 5, 2006 11:46 am | |
| Courier | Jan 5, 2006 1:01 pm | |
| Todd Lyons | Jan 5, 2006 1:20 pm | |
| Devin Rubia | Jan 5, 2006 1:21 pm | |
| Courier | Jan 5, 2006 3:06 pm | |
| Devin Rubia | Jan 6, 2006 6:23 am | |
| Courier | Jan 6, 2006 1:29 pm | |
| Devin Rubia | Jan 9, 2006 7:13 am | |
| Courier | Jan 9, 2006 2:08 pm | |
| Todd Lyons | Jan 9, 2006 3:54 pm | |
| Courier | Jan 9, 2006 4:32 pm | |
| Devin Rubia | Jan 10, 2006 9:02 am | |
| Courier | Jan 10, 2006 10:36 am | |
| Devin Rubia | Jan 10, 2006 11:46 am | |
| Courier | Jan 10, 2006 12:10 pm | |
| Devin Rubia | Jan 10, 2006 1:01 pm | |
| Courier | Jan 10, 2006 1:11 pm | |
| Devin Rubia | Jan 10, 2006 1:29 pm | |
| Courier | Jan 10, 2006 1:56 pm | |
| Devin Rubia | Jan 11, 2006 6:52 am | |
| Courier | Jan 11, 2006 7:29 am | |
| Devin Rubia | Jan 11, 2006 7:52 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: [maildropl] Help with /etc/maildroprc file | Actions... |
|---|---|---|
| From: | Thorsten Haude (list...@thorstenhau.de) | |
| Date: | Dec 30, 2005 9:34:41 am | |
| List: | net.sourceforge.lists.courier-maildrop | |
Hi,
please send me every mail only once.
* Courier wrote (2005-12-30 18:08):
Remove the spurious leading whitespace after the if.
I have a lot of these, as they increase reasability, and usually I have no problems.
Do you have a working config that you would be willing to share ?
Of course. I will outline my files (as I use more than one), please ask whatever I leave unclear and please suggest improvements.
I start with main.md (linked from ~/.mailfilter), which is basically: - - - Schnipp - - - include "$HOME/.mutt/lists.md" include "$HOME/.mutt/spam.md" to $IN - - - Schnapp - - -
Later more on mailing lists, spam.md is as follows: - - - Schnipp - - - if ($SIZE < 256000) { xfilter spamc }
if (/^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/) { EXITCODE = 99 exit }
if (/^X-Spam-Status: YES/) { to $spambox } - - - Schnapp - - -
This drops all spam level 10 and above and moves anything from 5 to 10 to $spambox.
I, too, keep staring at examples on the various websites, and fail to see what it is that I am missing. Sam didn't reply to the question of which "leading whitespace", (...)
My guess is that he meant the white space between if and the parenthesis. But give him more time to answer, it wasn't so long ago.
I do notice several websites talk about how touchy maildrop syntax is
Never noticed something like that. Against Procmail, it's syntactic ointment.
Once working, I'd like to start adding things, like specific subdirectories for mailing lists, etc.
I store mailing lists in a simple database created by a Ruby program: - - - Schnipp - - - #! /usr/bin/ruby -w
require 'gdbm'
GDBM.open("/path/to/your/list.db") { |gdbm| gdbm['cour...@lists.sourceforge.net'] = 'Maildrop' } - - - Schnapp - - -
For more lists, just add more lines like the one on Maildrop, then run the program. You need to re-run it if you add new lists.
After that, it's a breeze thanks to Maildrop GDBM support: - - - Schnipp - - - gdbmopen("/path/to/your/list.db")
foreach /^(To|Cc): .*/ { foreach (getaddr($MATCH)) =~ /.+/ { listbox = gdbmfetch(tolower($MATCH)) if ($listbox ne "") { to $MAILDIR/ML/$listbox } } }
gdbmclose - - - Schnapp - - -
I left a few details out, but that should basically work for you.
Thorsten
-- A witty saying proves nothing. - Voltair







