Sendmail cyrusv2 mailer IGNOREQUOTA argument?

Matt Elson melson at wesleyan.edu
Thu Jan 25 13:38:01 EST 2007


Hey all,

Not sure if this is the right place (perhaps a sendmail list would be 
better?) and apologies if this is documented somewhere (I've looked and 
look, but have had no luck), but is there an argument or flag I can pass 
to the cyrusv2 mailer to have it use the IGNOREQUOTA extension of LMTP?

As far as why I would want this, the current way email quota is handled 
is that all communications within the network are not subject to quota 
restrictions.  We currently have a homegrown system that queries the 
appropriate mailbox store and produces entries in a sendmail access.db 
on our MX machines to reject users over quota. It works fine for our 
purposes and it will have to stick around for a variety of reasons, but 
I'd really like to put the quota information for Cyrus users in Cyrus. 
There's a number of IMAP clients that can use the QUOTA extension which 
could be very useful to our users, and well, it seems like a waste to 
not put this information in Cyrus.  It might make my querying of Cyrus 
for mailbox size go a little bit smoother too, for all I know (now I 
look at some sort of ANNOTATEMORE flag that gives me the current size).

However, in order to do this, I need a way to make sure that all 
internal mail will flow through to Cyrus users, even when they are over 
quota.  My hope was to have it setup so that the mail server users use 
to send mail (quite separate from where incoming mail comes from) would 
just always send IGNOREQUOTA (since anyone using it has to be 
authenticated) to Cyrus which I'm assuming means that the mail could 
easily be delivered.

Again, apologies if this is documented somewhere, I've dug around for it 
and I even tried to read the mailer itself, but Sendmail configuration 
syntax makes my poor newbish brain hurt something fierce.  Seems like I 
could probably put something together using deliver, but I was hoping to 
avoid that if possible..

As far as our Cyrus setup, it's a cyrus 2.2.13 murder w/ two frontends, 
two backends, and the mupdate server on one of the frontends.  lmtpd 
listens on the frontends for connections coming from other machines 
running sendmail.

Matt Elson
Unix Systems Admin
Wesleyan University


More information about the Info-cyrus mailing list