2010-01-26 12:26:26

by Russell Coker

[permalink] [raw]
Subject: [refpolicy] 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

--
russell at coker.com.au
http://etbe.coker.com.au/ My Main Blog
http://doc.coker.com.au/ My Documents Blog


2010-01-27 13:43:44

by Daniel Walsh

[permalink] [raw]
Subject: [refpolicy] CentOS Postfix policy

On 01/26/2010 07:26 AM, Russell Coker wrote:
> 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
>
There was a regression in one of the Z Stream updates that caused this problem. It has been rectified in an update.