On Thu, 27 Feb 2003, Devin Rubia <dev...@thezone.net> and
Francois Zellinger <frz...@pt.lu> kindly replied to my
request for help and gave basically the same advice as
follows:-
if (/^To:.*debian-user@lists\.debian\.org$/)
{
to Maildir/debian/
}
if (/^To:.*gllug@linux\.co\.uk$/)
{
to Maildir/gllug/
}
if (/^To:.*getmail@discworld\.dnsalias\.org$/)
{
to Maildir/getmail/
}
---------------
should work!
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?
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.
Incidentally, I am trying to get to grips with regexs
and python and have most of O'Reilly's relevant Linux
publications and Friedl's 'Mastering Regular Expressions'
but it's going to be a long haul. Help like this
enables me to work out why things that I am involved in
work - more rewarding that textbook examples.
Many thanks, John.