Folks--
I have isolated why maildrop is currently failing with my setup. Here is
some background since i still don't quite understand why this doesn't
work:
(1) postfix + courier work off of a db in mysql called email. Email has
various fields as required between postfix + courier, including home and
maildir fields.
(2) home is defined as the base of the virtual host directory area. In
my case, for instance, if a virtual user directory is
/var/mail/vhosts/inthespace/sunil/Maildir/, then
home = /var/mail/vhosts/
maildir = inthespace/sunil/Maildir/
This not only works perfectly with postfix + courier, but is the way it
was explained that it needed to be set up.
Furthermore, /var/mail/vhosts is owned by root.mail, while
inthespace/sunil is owned by a specifid uid.gid combination (let's just
say 6000.6000) for kicks.
(3) maildrop tries to look at permissions of home, and sees it owned by
root. It thus says that 6000 != 0 (obvious) and dies.
My question: I thought that you could simply drop maildrop into a
currently working postfix + courier setup and it would work off of the
same table entries?
Do I need to create a separate "home" field =
/var/mail/vhosts/inthespace/sunil/Maildir/???
Obviously this would show the right permissions for that directory. But
it is an odd result that I would require an extra table entry?
I figured that home would normally = real user home directory for purposes
of filters, but on my system all my users are virtual.
Any help is greatly, GREATLY appreciated.
Sunil