On Fri, 31 Dec 2004 10:33:18 +0100 Paul Dekkers <[EMAIL PROTECTED]> wrote:
> Hi, > > We're using postfix to feed cyrus (over LMTP) but we're missing the > real-time integration like people described for sendmail and exim. To > circumvene this I wrote a small perl script that creates a list of users > and puts these in a file used by the local_recipients_map. It isn't > always in sync (since I run the script only daily for now), but at least > it prevents mail for unknown users to be scanned for virusses, spam, fed > to cyrus and then bounced... (We would scan about 10 times more mail > without this map! :-S) > > Is there a better way to do this? Sure it is. Have user accounts in mysql/ldap and point local_recipient_maps there. What I'd like to see for "real time integration" is a policyd for postfix that would check the quota status of a certain account, so postfix could reject mail immediately. -- Jure Pečar http://jure.pecar.org/ --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html