CentOS Postfix policy
allow postfix_postdrop_t sendmail_t:unix_stream_socket { getattr read write };
The above line is needed for a CentOS 5 system with the latest updates running Postfix. Without it you get the following:
# mail russell at coker.com.au Subject: test test . Cc: # send-mail: warning: premature end-of-input on /usr/sbin/postdrop -r while reading input attribute name send-mail: fatal: root(0): unable to execute /usr/sbin/postdrop -r: Success
Signature · 3 lines
russell at coker.com.au http://etbe.coker.com.au/ My Main Blog http://doc.coker.com.au/ My Documents Blog
Quoted 5 lines · Russell Coker
allow
postfix_postdrop_tsendmail_t:unix_stream_socket { getattr read write };The above line is needed for a CentOS 5 system with the latest updates running Postfix. Without it you get the following:
Quoted 9 lines
# mail russell at coker.com.au Subject: test test . Cc: # send-mail: warning: premature end-of-input on /usr/sbin/postdrop -r while reading input attribute name send-mail: fatal: root(0): unable to execute /usr/sbin/postdrop -r: Success
There was a regression in one of the Z Stream updates that caused this problem. It has been rectified in an update.