2.3.14: posting to shared mailbox results in 550 Permission denied

Simon Matter simon.matter at invoca.ch
Fri May 29 14:50:18 EDT 2009


> Hi,
>
> 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
> though.

Hi Gabor,

Thanks for looking at the GCC warning! I have verified it and that's
exactly where it fails.
That really explains why not all platforms were affected.

Thanks,
Simon



More information about the Info-cyrus mailing list