Skip to contentSkip to conversation

CentOS Postfix policy

refpolicy Russell Coker 2 participants 2 messages Jan 26, 2010 – Jan 27, 2010

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw
Quoted 5 lines · Russell Coker

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:

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.