Your message dated Wed, 01 Jul 2026 13:25:38 -0700
with message-id <1932689.atdPhlSkOF@soren-desktop>
and subject line courier-base: Maildir quota compatible with Exim MTA
has caused the Debian Bug report #102680,
regarding courier-base: Maildir quota compatible with Exim MTA
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
102680: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=102680
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: courier-base
Version: 0.34.0-4
Severity: wishlist
The Courier-IMAP server has maildirquota feature which is not compatible
with Exim MTA. The easier way is to make a workaround for Courier than
implement maildirsize file for Exim. This patch provides a new option to
/etc/courier/authldaprc file, i.e.:
NO_MAILDIRSIZE 1
This causes the Courier ignores maildirsize option and recalculate the
quota all the time.
The patch was sent to courier-users and is not applied to main source yet.
diff -ru2b courier-0.34.0.orig/maildir/maildirgetquota.c
courier-0.34.0/maildir/maildirgetquota.c
--- courier-0.34.0.orig/maildir/maildirgetquota.c Mon Feb 14 06:11:39 2000
+++ courier-0.34.0/maildir/maildirgetquota.c Thu Jun 28 13:45:35 2001
@@ -18,4 +18,5 @@
{
char *p;
+char *nomaildirsize;
struct stat stat_buf;
int n;
@@ -32,4 +33,13 @@
free(p);
return (n);
+ }
+
+ nomaildirsize=getenv("NO_MAILDIRSIZE");
+ if (nomaildirsize && atoi(nomaildirsize) == 1)
+ {
+ free(p);
+ p=getenv("MAILDIRQUOTA");
+ strcpy(buf, p);
+ return (0);
}
diff -ru2b courier-0.34.0.orig/maildir/maildirquota.c
courier-0.34.0/maildir/maildirquota.c
--- courier-0.34.0.orig/maildir/maildirquota.c Mon Dec 25 20:47:57 2000
+++ courier-0.34.0/maildir/maildirquota.c Thu Jun 28 13:45:35 2001
@@ -213,4 +213,5 @@
char *checkfolder=(char *)malloc(strlen(dir)+sizeof("/maildirfolder"));
char *newmaildirsizename;
+char *nomaildirsize;
struct stat stat_buf;
int maildirsize_fd;
@@ -237,4 +238,7 @@
if (!quota_type || !*quota_type) return (0);
+ nomaildirsize=getenv("NO_MAILDIRSIZE");
+ if (nomaildirsize && atoi(nomaildirsize) != 1)
+ {
strcat(strcpy(checkfolder, dir), "/maildirsize");
time(&tm);
@@ -257,4 +261,5 @@
return (n);
}
+ }
maxtime=0;
@@ -292,4 +297,8 @@
}
+ if (nomaildirsize && atoi(nomaildirsize) == 1)
+ return (qcalc(maildirsize_size+xtra_size,
maildirsize_cnt+xtra_cnt,
+ quota_type, percentage));
+
newmaildirsizename=makenewmaildirsizename(dir, &maildirsize_fd);
if (!newmaildirsizename)
@@ -371,4 +380,10 @@
const char *quota_type, long maildirsize_size, int maildirsize_cnt)
{
+ char *nomaildirsize;
+
+ nomaildirsize=getenv("NO_MAILDIRSIZE");
+ if (nomaildirsize && atoi(nomaildirsize) == 1)
+ return (0);
+
if (!quota_type || !*quota_type) return (0);
return (doaddquota(dir, maildirsize_fd, quota_type, maildirsize_size,
-- System Information
Debian Release: testing/unstable
Kernel Version: Linux szafir 2.4.3-xfs #1 SMP Fri May 25 11:17:56 CEST
2001 i686 unknown
--
Piotr Roszatycki, Netia Telekom S.A. .''`.
mailto:[email protected] : :' :
mailto:[email protected] `. `'
`-
--- End Message ---
--- Begin Message ---
I am going to close this bug report as there has been no response to my
previous email. I assume this has been addressed upstream in the intervening
years. Please feel free to reopen the bug report if you are still having
issues.
--
Soren Stoutner
[email protected]
signature.asc
Description: This is a digitally signed message part.
--- End Message ---