Use the Sendmail socket daemon (smmapd) which comes with Cyrus. You'll need either Sendmail 8.13 or the patch for 8.12 (http://www.sendmail.org/~ca/email/smenhanced.html)
Great! Time to go googling for more information on smmapd and how to configure it... :)
This will check for over quota at RCPT TO time and send back a failure within the SMTP session.
Right now I am using Local_check_rcpt in sendmail to lookup the user in LDAP. If I can do both, determine existance of user and quota status at the same time would be great. Looks lie if I replace my ldap rule with smmapd it'll do just that.
Yes. smmapd check the existence of the mailbox, the ACL (whether it can be posted to) and the quota.
-- Kenneth Murchison Oceana Matrix Ltd. Software Engineer 21 Princeton Place 716-662-8973 x26 Orchard Park, NY 14127 --PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp --- 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