Small type bug in lmtpengine.c

2009-04-22 Thread David Carter
The quota parameter to verify_user() is quota_t, not long. Solaris 10 with bundled GCC 3.4.3 wasn't doing type promotion correctly. (long)(-1) becomes (long long int)(4294967295), which is = 0. Consequently IGNOREQUOTA had no effect. -- David Carter Email:

Re: DELAYED DELETE and very long mailboxes = segfault

2009-04-22 Thread Brian Awood
On Friday 06 February 2009 @ 12:27, Brian Awood wrote: We have had users that weren't able to delete a mailbox that was close to, or already at, the max name length. Cyrus generates the new name with the DELETED prefix and time stamp suffix, which ends up being longer than the allowed max

Re: DELAYED DELETE and very long mailboxes = segfault

2009-04-22 Thread Bron Gondwana
On Wed, Apr 22, 2009 at 01:58:11PM -0400, Brian Awood wrote: On Friday 06 February 2009 @ 12:27, Brian Awood wrote: We have had users that weren't able to delete a mailbox that was close to, or already at, the max name length. Cyrus generates the new name with the DELETED prefix and time

Re: Small type bug in lmtpengine.c

2009-04-22 Thread Ken Murchison
Applied to CVS. David Carter wrote: The quota parameter to verify_user() is quota_t, not long. Solaris 10 with bundled GCC 3.4.3 wasn't doing type promotion correctly. (long)(-1) becomes (long long int)(4294967295), which is = 0. Consequently IGNOREQUOTA had no effect. -- Kenneth