Andrei, Not sure if I understand your question, the behavior will change but only because we change the response code cyrus gives. My understanding of this is below (and please tell me if i'm wrong), how I understand this over quota mail is never placed in the queue by cyrus. It is only placed in the queue by postfix. But if I have understood you correctly you want to know only that mail will bounce immediately & the answer is yes.
My understanding ================= Incoming mail --> Postfix --> Cyrus --> Outgoing Incoming mail being smtp Outgoing mail being a client using pop3 / imap / etc In a 'normal' compile of cyrus, mail comes into postfix which accepts the mail because the recipient is in whatever list of valid users it uses, the mail is now in postfix's spool. Postfix now attempts to deliver the mail to its destination which for local mail will be cyrus, it does this either via deliver or lmtp. Cyrus checks if the user is valid, then if it checks the quota, if the user is over quota it responds with a temporary error code & an english message saying "over quota". The message is still in postfix's spool & can be seen with mailq, Postfix will attempt to deliver the mail for the next 5 days (default), it will also continue to accept mail for the user. This patch modifies the error code cyrus returns to postfix, causing postfix not to continue attempting to deliver mail, but to bounce the mail as undeliverable back to the sender (including the "over quota" text cyrus passed it). Steve. On Thursday 21 February 2002 13:05, you wrote: > > The lines 151 & 152 now read; > > 151 case IMAP_QUOTA_EXCEEDED: > > 152 return "550 4.2.2 Over quota"; > > It will change the message, but will it change cyrus' behavior also? > I mean not to place overquoted message to the queue, an reject it > immediately ? > > > Andrei V. Loukinykh , Evpatoria Ukrtelecom ISP, +380 6569 29376 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > "UNIX is like a vigvam - no Windows, no Gates and an Apache inside"