The webpage http://www.inter7.com/vpopmail/download.html
tells me to use http://www.inter7.com/vpopmail/preauthvchkpw.c when building courier-imap. But then in the list archives in http://bluedot.net/mail/archive/read.php?f=2&i=2042&t=2041 I am told I can use the preauthvchkpw.c in courier-imap 1.3.12. The webpage is written Nov 8, the message appeared Nov 14. So what should I do? I also noticed that http://www.inter7.com/vpopmail/preauthvchkpw.c has char User[100]; char Domain[100]; Two questions: 1) vadduser has #define MAX_BUFF 500 char Domain[MAX_BUFF]; char User[MAX_BUFF]; so some domains are accepted by vadduser but rejected by authvchkpw? But then I see that lowerit() returns NULL if instr is more than 156 characters long. So what is the formula to figure out the limit on the number of characters in a domain name? 2) What happens (in authvchkpw) when the domain name is longer than 100 chars? Truncation or abortion? In particular, does parse_email(usercopy, User, Domain, 100); truncate at 100 chars? Thx Mate -- --- Mate Wierdl | Dept. of Math. Sciences | University of Memphis
