Scott writes:

Sam Varshavchik wrote:

Scott writes:

Sam Varshavchik wrote:

Scott writes:

because maildir=homedir for my virtual users. However, the maildrop rules are not working. my /etc/courier/maildrop is correct:

/usr/lib/courier/bin/maildrop



/etc/courier/maildrop has nothing to do with this.

You need to set DEFAULTDELIVERY in /etc/courier/courierd:

#  Here's how to have maildrop handle local deliveries.
#
#  DEFAULTDELIVERY="| /usr/lib/courier/bin/maildrop"
#

If you're using one of the virtual authentication modules, you'll need to set, instead, the defaultdelivery field.


Of course, you're right. That's what I meant to show that maildrop was being used as the defaultdelivery.

[EMAIL PROTECTED] courier]# grep DEFAULTDELIVERY courierd
...
DEFAULTDELIVERY="| /usr/lib/courier/bin/maildrop"

I'm using authuserdb. .mailfilter files are still not being read. Any other ideas?


If you're using the 'mail' attribute in userdb, that, essentially, takes precedence over 'defaultdelivery'.

How can I get maildrop filters to work with userdb? Can I specify something in the userdb files?

[EMAIL PROTECTED] home=/home/virtual/domain1.com/user1\
|mail=/home/virtual/domain1.com/user1|uid=1001|gid=1001\
|systempw=XYZ
(line breaks to make it readable, they're not really there in userdb/domain1.com)

Maildrop filters only work if the mail setting is not specified, which then defaults to $HOME/Maildir.



Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to