Hello all, Trying to use procmail filtering as part of postfix mail delivery...
My main.cf contains... [root@nodeM log]# grep procmail /etc/postfix/main.cf mailbox_command = /bin/procmail And when I try to filter root mail (mail sent to user root on this system nodeM), procmail is invoked because of the mailbox_command but it is not getting logged in the log file... I get ... Aug 4 11:43:41 nodeM procmail[4227]:* Error while writing to "//.procmail/log/procmail.log"* Aug 4 11:43:41 ahead postfix/local[4226]: 8F26920ECE41: to=< r...@ahead.cfa.harvard.edu>, relay=local, delay=0.06, delays=0.03/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Aug 4 11:43:41 ahead postfix/qmgr[4091]: 8F26920ECE41: removed The permissions on this file were... [root@ahead log]# ls -ld /.procmail/log/procmail.log -rw-r--r--. 1 root root 4155 Aug 4 11:38 /.procmail/log/procmail.log [root@ahead log I changed it to (thinking procmail user needs to have the permission) (group change and group write added). [root@ahead log]# ls -ld /.procmail/log/procmail.log -rw-*rw*-r--. 1 root *postfix* 4155 Aug 4 11:38 /.procmail/log/procmail.log [root@ahead log Still it does not help. If I change the permissions to 777, then it works. So it is definitely a permission issue. But what should be the ownership and permissions of this file? (the secure the better and not 777). Thanks KovaiRent