sendmail hooks for pre-checking of over-quota imap users?

Andrzej Filip anfi at priv.onet.pl
Fri May 14 12:54:12 EDT 2004


Ken Murchison wrote:
> Scott Adkins wrote:
> 
>> I was curious if anyone has implemented a mechanism in sendmail to 
>> determine
>> if a user is over their Cyrus quota before attempting LMTP delivery of 
>> the
>> message.  If so, how was it impemented?
> 
> 
> You can use the Sendmail Socket Map Daemon (smmapd) that I wrote for 
> Cyrus.  It should be part of 2.2.3.  In order to use this, you'll have 
> to be running Sendmail 8.13 or get the patch for 8.12:
> 
> http://www.sendmail.org/~ca/email/patches/sendmail-8.12.7-socketmap-v4.patch 
> 
> 
> The daemon verifies the existence of the rcpt, the ACL and the quota at 
> the RCPT TO time of the SMTP exchange.  For me, its cut down on a HUGE 
> amount of garbage destined for non-existent users, thus eliminating the 
> outgoing bounce messages.

Take a look at http://anfi.homeunix.net/sendmail/rtcyrus2.html if you 
want more details how to use smmapd provided in cyrus-2.2.3 in sendmail.

BTW Sendmail-8.13 is available as public Beta 
http://www.sendmail.org/8.13.0.Beta2.html

>>[...]
-- 
Andrzej [en:Andrew] Adam Filip anfi at priv.onet.pl anfi at xl.wp.pl
http://anfi.homeunix.net/ http://slashdot.org/~anfi
---
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




More information about the Info-cyrus mailing list