don't complain about mailbox perms being wrong.

This commit is contained in:
brad 2000-12-12 17:28:11 +00:00
parent d40d395c55
commit 34b8b09e5d

View File

@ -0,0 +1,12 @@
--- src/osdep/unix/env_unix.c.orig Tue Dec 12 09:52:27 2000
+++ src/osdep/unix/env_unix.c Tue Dec 12 09:55:10 2000
@@ -952,7 +952,8 @@
}
close (pi[0]); close (pi[1]);
}
- if (lockEaccesError) { /* punt silently if paranoid site */
+ if (strncmp(base->lock,"/var/mail/",10) && lockEaccesError) {
+ /* punt silently if paranoid site */
sprintf (tmp,"Mailbox vulnerable - directory %.80s",base->lock);
if (s = strrchr (tmp,'/')) *s = '\0';
strcat (tmp," must have 1777 protection");