9 messages in net.sourceforge.lists.courier-maildrop[maildropl] mailfilter syntax error
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:[maildropl] mailfilter syntax errorActions...
From:john gennard (jon@clara.co.uk)
Date:Feb 27, 2003 9:40:40 am
List:net.sourceforge.lists.courier-maildrop

I've just installed maildrop to use its filtering abilities, and to use Maildirs instead of mbox.

My setup is two basic PCs and a separate firewall box networked together accessing an ISP by dialup using a 56K external modem. I run Debian Woody on both boxes and to get used to Maildrop and Maildirs have installed Knoppix on a separate partition so leaving my existing mail and surfing setup untouched.

Getmail pulls my email from a pop3 account - the config works if I send the email to an mbox account. If I configure getmail to pipe to maildrop it does so when I have no .mailfilter file ( it puts all into a file it creates itself named 'maildir'). When I create Maildirs using 'maildirmake -S xxxx' and create the following /home/user/.mailfiter:-

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

SHELL"/usr/bin/bash" DEFAULT="/home/john/Maildir" 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

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

Maildrop takes no mail and exits with the following:-

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

POP3 list response: +OK msg #1/194 : len 3556 ... retrieved Delivery error (command "/usr/bin/maildrop" exited 75 (.mailfilter(3): Syntax error after ))) Resetting connection and aborting (Delivery error (command "/usr/bin/maildrop" exited 75 (.mailfilter(3): Syntax error after ))))

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

I can't sort out this problem (I'm well into my seventies and although I run Debian Woody still lack a lot of basic knowledge). I've read the relevant manpages and wonder if my problem is in fact one of syntax. So far I've done nothing with /etc/login.defs and /etc/pam.d (don't really understand these and the manpages make no mention of changes to them).

/etc/maildroprc is as follows:-

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

# Global maildrop filter file

# Uncomment this line to make maildrop default to ~/Maildir for # delivery- this is where courier-imap (amongst others) will look. DEFAULT="$HOME/Maildir"

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

There doesn't seem to be any Maildrop Config Manual - at least I've been unable to find one.

I wonder if someone would be kind enough to point me in the right direction.

John.