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'