

![]() | 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: | Devin Rubia (dev...@thezone.net) | |
| Date: | Jan 5, 2006 1:21:42 pm | |
| List: | net.sourceforge.lists.courier-maildrop | |
On Thu, Jan 05, 2006 at 01:01:01PM -0800, Courier wrote:
Thanks Devin -
This is how it looks now:
if ( /^X-Spam-Status: *Yes/ ) { exception { to "$DEFAULT/.Spam" } } else { exception { to "$DEFAULT" } }
And I get the same "32" syntax error - comment out the "else" and it gets delivered to the blah.blah/.Spam/new folder...
From the maildrop.log:
===== Start ===== SHELL=/bin/bash HOME=/var/spool/mail/vhosts/domain-name.com/user-name DEFAULT=/var/spool/mail/vhosts/domain-name.com/user-name/Maildir MAILDIRQUOTA= LOGNAME=user...@domain-name.com SIZE=1649 Date: Thu Jan 5 12:45:26 2006 From: Other <oth...@other-domain.com> Subj: Test 5 File: /var/spool/mail/vhosts/domain-name.com/user-name/Maildir/.Spam (1833)
And "Test 6" logged nothing - just gave the "32" syntax error again.
OK. If that's all you have in your mailfilter (after the SA checks, etc) then this is all that I would have:
---------------- if ( /^X-Spam-Status: *Yes/ ) { to "$DEFAULT/.Spam" }
to "$DEFAULT"
----------------
I don't like using exceptions unless I have a really good reason to do so and you don't really need the 'else' as the filtering will continue regardless if the first 'to' is not executed.
You could even drop the final 'to "$DEFAULT"' as it is implied in maildrop.
-- Devin







