6 messages in net.sourceforge.lists.courier-maildrop[maildropl] Problems with maildroprc ...
FromSent OnAttachments
Rob HuttonAug 27, 2003 7:21 pm 
James TurnbullSep 30, 2003 8:45 am 
Sam VarshavchikSep 30, 2003 3:24 pm 
James TurnbullSep 30, 2003 7:52 pm 
Sam VarshavchikSep 30, 2003 9:18 pm 
James TurnbullOct 1, 2003 4:39 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] Problems with maildroprc scriptActions...
From:Rob Hutton (rob.@comcast.net)
Date:Aug 27, 2003 7:21:43 pm
List:net.sourceforge.lists.courier-maildrop

I have the following in the maildroprc file. The message is deffering with the error "Unable to open mailbox". I know the filter is running becuase the log file is being created, but it is empty. I saw another thread where Sam stated that the $ variables needed to be imported so that they could be re-exported. Am I understandinf the situation correctly that if I add:

import HOME import DEFAULT import MAILDIRQUOTA

then this should work. It's not that don't want to try and figure it out, I want to understand what the situation is...

Thanks, Rob

******************** maildroprc

#logfile "/tmp/maildrop.log"

'if [ ! -d "$HOME/$DEFAULT" ]; then \ if [ ${DEFAULT:0:1} == "/" ]; then \ maildirmake "$DEFAULT" >> /tmp/maildrop.log \ else \ maildirmake "$HOME$DEFAULT" >> /tmp/maildrop.log \ fi \ fi \ if [ -n $MAILDIRQUOTA ]; then \ if [ ${DEFAULT:0:1} == "/" ]; then \ maildirmake -q MAILDIRQUOTA "$DEFAULT" >> /tmp/maildrop.log \ else \ maildirmake -q $MAILDIRQUOTA "$HOME$DEFAULT" /tmp/maildrop.log \ fi \ fi'