1 message in net.sourceforge.lists.courier-maildrop[maildropl] problem with getmail forw...
FromSent OnAttachments
patrick jayetJun 21, 2004 1:47 pm 
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] problem with getmail forwarding to maildrop: unable to create dot-lockActions...
From:patrick jayet (jay@student.ethz.ch)
Date:Jun 21, 2004 1:47:42 pm
List:net.sourceforge.lists.courier-maildrop

Hello everybody,

I am using on my computer (epia me-6000, Gentoo Linux, kernel 2.4.25-epia2-r2) getmail to get the e-mails from 2 pop accounts (called by cron) which gives them then to maildrop. The latter delivers them into different folders (maildir) according to a set of rules (i also run exim as mta on my machine).

Small problem: i get sometimes error message and the e-mails are not delivered by maildrop (as well as all the following e-mails):

Subject: Cron <pat@hal> /usr/bin/getmail --getmaildir /home/pat/.getmail --message-log /home/pat/.getmail/getmail.log > /dev/null

Body: ... failed delivering message (command "/usr/bin/maildrop" exited 75 (/usr/bin/maildrop: Unable to create a dot-lock.)), skipping

A possibility would be that getmail calls maildrop for each e-mail that he gets more or less in parallel, so that an instance of maildrop is sometimes called while another one is still running producing an impossibility of creating a lock inside the maildir.

Has anybody an idea about that? Do I have to change something in the config of getmail or in that of maildrop in order to avoid that problem?

Any idea welcome. Have a nice {evening|day}. :)

Patrick

###

configuration of getmail (getmailrc)

[default] verbose = 1

[dplanet] server = pop.dplanet.ch username = xxxxxxxx password = xxxxxxxx postmaster = '|/usr/bin/maildrop' readall = 0 # read only new msg

[ethz] server = mail.student.ethz.ch username = xxxxxxxx password = xxxxxxxx postmaster = '|/usr/bin/maildrop' readall = 0 # read only new msg

###

configuration of maildrop (.mailfilter)

MAILBOX="$HOME/.maildir" DEFAULT="$MAILBOX" logfile "$HOME/.maildrop/maildrop.log"

# list gull if (/^Subject: .*\[gull\]/) ~ to $MAILBOX/.infos.gull/

# list lugs if (/^To: .*lin@lugs.ch/) ~ to $MAILBOX/.info.lugs/

# info if (/^Subject: info:/) ~ to $MAILBOX/.infos/

# linux if (/^Subject: linux/) ~ to $MAILBOX/.infos.linux/

# spam if (/^X-Spam-Flag: Yes/) ~ to $MAILBOX/.Junk/

# dplanet account if (/^To: .*fo@dplanet.ch/) ~ to $MAILBOX/.Inbox-dplanet/