Dylan Markow writes:
After a little more research I came up with the following.
When running the command "maildrop -V10 -d dm...@example.com" as root,
the following is output:
maildrop: authlib: groupid=5000
maildrop: authlib: userid=5000
maildrop: authlib: logname=dm...@example.com,
home=/var/spool/mail/virtual,
mail=/var/spool/mail/virtual/example.com/dm/
maildrop: Changing to /var/spool/mail/virtual
When run as the user "virtual" instead of root, the output it:
maildrop: authlib: groupid=5000
maildrop: authlib: userid=5000
maildrop: authlib: logname=dm...@example.com,
home=/var/spool/mail/virtual,
mail=/var/spool/mail/virtual/example.com/dm/
maildrop: Changing to /home/virtual
Note the 4th line is different when run as virtual. When I run as
root, it recognizes all of the fields properly (i.e. $DEFAULT becomes
/var/spool/mail/virtual/example.com/dm). However, when run as virtual,
$DEFAULT remains "./Maildir").
You mentioned that you did not compile maildrop yourself, you installed a
package. I suspect that you've installed the wrong package. You've
installed the Courier version of maildrop, which correctly works only with
Courier. You need to install the standalone version of maildrop.