I use qmail+ldap, so this may not exactly apply to your situation, but
might help steer you in the right direction. All users are vitualized, so
it should be similar.
In each users LDAP entry, I set deliveryprogrampath to use maildrop, like
so:
/usr/local/bin/maildrop -d us...@speakeasy.net
(I have ldap support built in maildrop, so maildrop can find the user
specified after "-d")
Then I have a global maildroprc file in /etc/, this will get read, but if
a .mailfilter file exists (must be 600 and owned by the 'vmail' user) in
/vhome/user/.mailfilter, it will get read *after* /etc/maildroprc, I wish
I could control that, it would be nice to read the individual prefs before
the global ones, but there are workarounds.
Andreas
On Thu, 25 Sep 2003, Paul Dlug wrote:
Date: Thu, 25 Sep 2003 17:08:25 -0400
From: Paul Dlug <pa...@aps.org>
To: "cour...@lists.sourceforge.net"
<cour...@lists.sourceforge.net>
Subject: [maildropl] Per-user mail filters with virtual delivery
I'm using maildrop to do delivery for all users on my mail server. No
actual accounts exist so maildrop is running as the user 'vmail' and
delivering into each mailbox. Is there any way to have a per-user
maildroprc in this configuration? I somehow need to provide support for
vacation messages and mail forwarding.
Or does anyone else have a strategy for supporting .forward files in
sendmail with virtual users.