9 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Re: mailfilter syntax...
FromSent OnAttachments
john gennardFeb 27, 2003 9:40 am 
Devin RubiaFeb 27, 2003 10:25 am 
Francois ZellingerFeb 27, 2003 12:22 pm 
GaryFeb 27, 2003 12:48 pm 
Sam VarshavchikFeb 27, 2003 2:48 pm 
Payal RathodFeb 27, 2003 7:11 pm 
john gennardFeb 28, 2003 9:09 am 
Devin RubiaFeb 28, 2003 11:20 am 
Francois ZellingerMar 1, 2003 1:50 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Re: mailfilter syntax errorActions...
From:Devin Rubia (dev@thezone.net)
Date:Feb 28, 2003 11:20:47 am
List:net.sourceforge.lists.courier-maildrop

On Fri, Feb 28, 2003 at 04:59:29PM +0000, john gennard wrote:

Devin, I had read all the maildrop and maildirmake manpages - I was referring to a tutorial type write-up which started with the files to create and worked through a complete configuration.

I tried to use the filter rule format I did as something similar is given as the first example in the 'maildropex(5)' manpage. Now I understand what you write and have rewritten the .mailfilter file accordingly. When I have finished all my rules I shall have a rather large file - is there any way of creating 'composite' rules thus reducing the size?

Depends on what you mean by "composite". If you mean combining rules for messages that you want to perform the same action on, yes, it is possible.

However,now, I have lost the syntax error message and instead have a 'cannot open mailbox' one viz,

--------------- msg #1/23 : len 2394 ... retrieved Delivery error (command "/usr/bin/maildrop" exited 75 (/usr/bin/maildrop: Unable to open mailbox.)) Resetting connection and aborting (Delivery error (command "/usr/bin/maildrop" exited 75 (/usr/bin/maildrop: Unable to open mailbox.)))

---------------

I think my /usr/bin/maildrop permissions are correct, and john is a member of 'mail' group:-

--------------- -rwxr-sr-x 1 root mail 159760 Feb 19 2002 /usr/bin/maildrop

Any idea why the 'mailbox' cannot be opened? Grateful if you can explain.

OK, two questions. Have you taken Sam's suggestion and wrapped the destination maildirs in quotes? eg:

if (/^To:.*debian-user@lists\.debian\.org$/) { to "Maildir/debian/" }

Sam wrote the program so he is in a position to know. Also, can you give us the output of:

ls -ld /home/john/Maildir ls -l /home/john/Maildir ls -l /home/john/Maildir/debian

etc? That way we can see if the permissions on your directories are set up correctly and if the maildirs are properly created.