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

Andrzej Filip anfi at
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:
> 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 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

Andrzej [en:Andrew] Adam Filip anfi at anfi at
Cyrus Home Page:
Cyrus Wiki/FAQ:
List Archives/Info:

More information about the Info-cyrus mailing list