forked from Lainports/freebsd-ports
19 lines
761 B
Text
19 lines
761 B
Text
*** imap/src/osdep/unix/env_unix.c.orig Wed Oct 25 03:43:40 2000
|
|
--- imap/src/osdep/unix/env_unix.c Thu Nov 2 12:10:11 2000
|
|
***************
|
|
*** 947,953 ****
|
|
}
|
|
close (pi[0]); close (pi[1]);
|
|
}
|
|
! if (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");
|
|
--- 947,953 ----
|
|
}
|
|
close (pi[0]); close (pi[1]);
|
|
}
|
|
! if (strncmp(base->lock,"/var/mail/",10) && lockEaccesError) {
|
|
sprintf (tmp,"Mailbox vulnerable - directory %.80s",base->lock);
|
|
if (s = strrchr (tmp,'/')) *s = '\0';
|
|
strcat (tmp," must have 1777 protection");
|