I've made some aditional config tasks:
file etc/courierd: DEFAULTDELIVERY="| /usr/lib/courier/bin/maildrop"
created file maildirfilterconfig which contains:
MAILDIRFILTER=.mailfilter
MAILDIR=./Maildir
From INSTALL:
Basically, 99% of the time MAILDIRFILTER will be ../.mailfilter and
MAILDIR will be ./Maildir.
Well, I have read it and made some changes because of user entry in userdb:
mac...@ders.cz
home=/home/vmail/domains/ders-cz/machj|uid=500|mail=/home/vmail/domains/ders
-cz/machj|....
problem is that when I use ../.mailfilter then it's common for all virtual
users.
So there are some changes I've done in etc/userdb:
mac...@ders.cz
home=/home/vmail/domains/ders-cz/machj|uid=500|mail=/home/vmail/domains/ders
-cz/machj/Maildir
and moved mails to Maildir directory in user's home. I can use example from
INSTALL now.
Now everything seems to be right. I can access mails using IMAP or webmail
but delivery doesn't work.
Problem is that I don't know if maildrop works correctly. First thing I need
to check is that maildrop is processing
mails for local delivery. Next thing I need to check is that it can find
.mailfilter file.
Thank you very much for helping me.
Best Regards,