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.