Files
macports-ports/mail/postfix/files/patch-postfix-script
2023-04-18 17:56:15 +10:00

12 lines
462 B
Plaintext

--- conf/postfix-script.orig 2022-12-29 06:29:06
+++ conf/postfix-script 2023-04-18 16:45:04
@@ -327,7 +327,7 @@
# Check Postfix mail_owner-owned directory tree owner.
- find `ls -d $queue_directory/* | \
+ find `/bin/ls -d $queue_directory/* | \
grep -E '/(saved|incoming|active|defer|deferred|bounce|hold|trace|corrupt|public|private|flush)$'` \
! \( -type p -o -type s \) ! -user $mail_owner \
-exec $WARN not owned by $mail_owner: {} \;