--- imap/src/osdep/unix/env_unix.c.orig Thu Oct 14 12:37:16 1999 +++ imap/src/osdep/unix/env_unix.c Thu Oct 14 13:21:27 1999 @@ -825,7 +825,11 @@ } close (pi[0]); close (pi[1]); } - if (lockEaccesError) {/* punt silently if paranoid site */ + if ( +#ifdef __FreeBSD__ + strncmp(base->lock,"/var/mail/",10) && /* /var/mail/... isn't lockable */ +#endif + lockEaccesError) {/* punt silently if paranoid site */ sprintf (tmp,"Mailbox vulnerable - directory %.80s",hitch); if (s = strrchr (tmp,'/')) *s = '\0'; strcat (tmp," must have 1777 protection");