j-clark@lineone.net | 22 Oct 2011 17:50

maildrop: Unable to open mailbox.

I am using the maildrop-2.5.4 tarball, have done configure, make, install-strip. 

Running a test 
as 
echo "Subject: Cron msg" | maildrop -V 3 
maildrop: Changing to /home/jon
Message start at 0 
bytes, envelope sender=jon
maildrop: Attempting .mailfilter
Matching /^Subject: (Anac|C)ron / 
against Subject: Cron msg
maildrop: Delivering to /home/jon/Maildir/Zautomatic/Cron/
maildrop: 
Unable to open mailbox.

cat .mailfilter
# .mailfilter 
logfile "$HOME/.maildrop.log"

BASE="$HOME/Maildir/"
DEFAULT=$BASE                                # default is to normal Inbox if 
nothing matches

#check for Cron and Anacron
if ( /^Subject: (Anac|C)ron / )
{
  DEST=$BASE"
Zautomatic/Cron/"
  to $DEST
}
(Continue reading)

Dimitri Maziuk | 22 Oct 2011 18:13
Picon
Favicon

Re: maildrop: Unable to open mailbox.

On 10/22/2011 10:50 AM, j-clark <at> lineone.net wrote:

> maildrop: Delivering to /home/jon/Maildir/Zautomatic/Cron/
> maildrop:
> Unable to open mailbox.

That's easy: "to ~/Maildir/.Zautomatic/.Cron/" -- leading dots.

Check the subdirectory names in your Maildir and put them in .mailfilter 
exactly as they appear in "ls -a", not the way they look in your mail 
client's folder list.

Dima

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning <at> Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev

Gmane