--Brian Cheeseman wrote on 12.04.2002 23:04 +1000:
Guys,
I have built and installed the latest stable release of courier, maildrop,
imapd, and SqWebMail. I am very happy with the products as well. My problem:
I have in /usr/lib/courier/etc/courierd set DEFAULTDELIVERY="|
/usr/lib/courier/bin/maildrop" I have the following in my .mailfilter file
which I placed in my home directory. #MFMAILDROP=2
#
FROM='bche...@bcheese.homeip.net'
import SENDER
if ($SENDER ne "")
{
FROM=$SENDER
}
if ((/^Subject: *\[Openposs\-developers\]\ CVS\:/))
{
to "!./Maildir/.Open POS CVS/."
}
to "./Maildir/."
But from what I can tell, maildrop is not running. Any ideas on configs to
check in regards to getting it all running? Regards
Thats usually because DEFAULTDELIVERY gets overwritten by the
auth-module with the value of 'mail'.
Calling maildrop from dotfiles is somewhat safer:
echo "| /usr/lib/courier/bin/maildrop .mailfilter" > ~/.courier
And for aliased accounts also one of those:
ln -sv ~/.courier-default .courier
echo "| /usr/lib/courier/bin/maildrop .mailfilter" > ~/.courier-default
Roland