2.3.14: posting to shared mailbox results in 550 Permission denied

Gabor Gombas gombasg at sztaki.hu
Fri May 29 14:02:51 EDT 2009


I'm in the process of upgrading to 2.3.14 and looking at the gcc
warnings resulted in this change:

diff --git a/imap/lmtpengine.c b/imap/lmtpengine.c
index 3df2911..36d53bc 100644
--- a/imap/lmtpengine.c
+++ b/imap/lmtpengine.c
@@ -802,7 +802,7 @@ static int savemsg(struct clientdata *cd,
 static int process_recipient(char *addr, struct namespace *namespace,
 			     int ignorequota,
 			     int (*verify_user)(const char *, const char *,
-						char *, long,
+						char *, quota_t,
 						struct auth_state *),
 			     message_data_t *msg)

IMHO this can very well explain the difference between 32-bit and 64-bit
behaviour, when sizeof(quota_t) != sizeof(long). I've not tested it yet


     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences

More information about the Info-cyrus mailing list