

![]() | 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: |
13 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Filters dont work| From | Sent On | Attachments |
|---|---|---|
| Karsten Iwen | Jan 26, 2003 11:26 am | |
| Paul Chambers | Jan 26, 2003 1:30 pm | |
| Karsten Iwen | Jan 27, 2003 11:57 am | |
| Mark Weinem | Jan 27, 2003 6:04 pm | |
| Paul Chambers | Jan 28, 2003 9:07 am | |
| Karsten Iwen | Jan 28, 2003 10:15 am | |
| Paul Chambers | Jan 28, 2003 1:01 pm | |
| Mark Mayo | Jan 28, 2003 1:51 pm | |
| Mark Weinem | Jan 29, 2003 3:57 pm | |
| Mark Weinem | Jan 29, 2003 3:57 pm | |
| Karsten Iwen | Jan 30, 2003 1:43 am | |
| Karsten Iwen | Feb 1, 2003 9:45 am | |
| Karsten Iwen | Feb 1, 2003 2:35 pm |

![]() | 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] Filters dont work | Actions... |
|---|---|---|
| From: | Mark Mayo (ma...@vmunix.com) | |
| Date: | Jan 28, 2003 1:51:56 pm | |
| List: | net.sourceforge.lists.courier-maildrop | |
FWIW, maildrop appears to be smart enough to Do The Right Thing if you leave off the trailing slash and the directory in question is an actual Maildir. For example:
Date: Tue Jan 28 06:25:49 2003 From: ma...@vmunix.com (Mark Mayo) Subj: foo File: /home/mark/Maildir (346)
rule1: Subject: test Date: Tue Jan 28 06:25:54 2003 From: ma...@vmunix.com (Mark Mayo) Subj: test File: /home/mark/Maildir/.Test (351)
Date: Tue Jan 28 21:46:55 2003 From: ma...@vmunix.com (Mark Mayo) Subj: bar File: /home/mark/Maildir/ (349)
rule1: Subject: test Date: Tue Jan 28 21:47:01 2003 From: ma...@vmunix.com (Mark Mayo) Subj: testt File: /home/mark/Maildir//.Test/ (352)
Basically with DEFAULT defined without, and then with the trailing slash. Mail ends up in the Maildir in both cases.
-Mark
On Tue, Jan 28, 2003 at 12:59:23PM -0800, Paul Chambers wrote:
Karsten, are you using maildirs or mailboxes? Could you change the lines at the top of your file like:
I use Maildirs (Courier-IMAP) and you were right, my /etc/maildroprc contained the line DEFAULT="$HOME/Maildir" After changing that to DEFAULT="$HOME/Maildir/" the filter for my testuser started working.
But on my own account it does not work, and that seems strange.
My .mailfilter:
logfile "$HOME/Maildir/maildrop.log" log "default=$DEFAULT" if (/^From:.*be...@domeus.de/:h) { log "rule1: $MATCH" to "Maildir/.MyServer.ColdMedia" } if (/^From:.*@amazon.de/:h) { log "rule2: $MATCH" to "Maildir/.Amazon" }
and my logfile: default=/home/k_iwen/Maildir/ rule1: Date: Tue Jan 28 19:01:49 2003 From: "Test User" <te...@user.de> Subj: Testnachricht fuer KI File: Maildir/.MyServer.ColdMedia (2572)
If you're using maildirs, the destination in your 'to' statements should end with a trailing slash:
logfile "$HOME/Maildir/maildrop.log" if (/^From:.*be...@domeus.de/:h) { log "rule1: $MATCH" to "Maildir/.MyServer.ColdMedia/" } if (/^From:.*@amazon.de/:h) { log "rule2: $MATCH" to "Maildir/.Amazon/" }
Otherwise it will attempt to deliver to an mbox file called '.MyServer.ColdMedia', not to the maildir '.MyServer.ColdMedia/'. Since the directory exists, I expect maildrop wouldn't be able to create an mobox file with the same name.
Paul
------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com
_______________________________________________ Courier-maildrop mailing list Cour...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/courier-maildrop
-- Mark Mayo <ma...@vmunix.com> http://www.vmunix.com/~mark PGP Fingerprint: 32BA C076 D78C 109B 2558 25E5 0CCE C6C1 262E 28AF Commitment, n.: Commitment can be illustrated by a breakfast of ham and eggs. The chicken was involved, the pig was committed.







