Re: [Dovecot] Dovecot auth problem on FreeBSD 4.10
On Thu, 2004-07-22 at 20:35, Viren Patel wrote:
Hope this helps. Should I send the entire socket.h file?
Hmm. What would happen if in src/lib/fdpass.c you added:
#undef CMSG_LEN #undef CMSG_DATA
#define CMSG_LEN(l) (sizeof(struct cmsghdr) + (l)) #define CMSG_DATA(cmsg) ((u_char *)(cmsg) + sizeof(struct cmsghdr))
Yes! This did the trick. It seems to be working fine now. Thanks for your help. I can now go on to further testing and imaps/pop3s. I am seriously looking at Dovecot for our production mail server.
Viren Patel University of Texas at Austin
On Thu, 2004-07-22 at 21:47, Viren Patel wrote:
Hmm. What would happen if in src/lib/fdpass.c you added:
#undef CMSG_LEN #undef CMSG_DATA
#define CMSG_LEN(l) (sizeof(struct cmsghdr) + (l)) #define CMSG_DATA(cmsg) ((u_char *)(cmsg) + sizeof(struct cmsghdr))
Yes! This did the trick. It seems to be working fine now. Thanks for your help. I can now go on to further testing and imaps/pop3s. I am seriously looking at Dovecot for our production mail server.
OK, this seems to be a bug in FreeBSD then. The header files define the alignmentation with size_t so it gets to be 64bit, but kernel expects alignmentation to be 32bit.
Want to report it to FreeBSD people? I guess I could too.
participants (2)
-
Timo Sirainen
-
Viren Patel