On Sun, Mar 02, 2003 at 11:19:16PM +0000, john gennard wrote:
On Fri, 28 Feb 2003 15:50:16 -0330 Devin Rubia wrote:-
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/"
}
Yes I have, but it makes no difference, so presumably
the problem is elsewhere.
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.
Output follows:-
----------
john@relay:~$ ls -ld /home/john/Maildir
drwxr-xr-x 11 john john 4096 Feb 28 12:22 /home/john/Maildir
[SNIP]
Odd. The permissions look OK. Based on the error you reported:
"Unable to open mailbox."
it looks like maildrop is trying to open a mbox file. Perhaps maildrop
is unable to find the maildirs you have created and is trying to create
a mbox to deliver to but is failing (a quick parse of maildrop/deliver.C
seems to suggest this). Let's try this:
if (/^To:.*debian-user@lists\.debian\.org$/)
{
to "$DEFAULT/debian"
}
As you have already defined $DEFAULT in your .mailfilter file.