Re: [CentOS] problem talking to server postgrey/socket: Permission denied
Dirk H. Schulz wrote: Ned, --On 5. Oktober 2008 11:07:54 +0100 Ned Slider <[EMAIL PROTECTED]> wrote: You're correct in your assumption that this is an SELinux issue. You need to write a custom policy to allow connection and writing to the socket. How to do this is covered in the SELinux Wiki guide here: http://wiki.centos.org/HowTos/SELinux#head-faa96b3fdd922004cdb988c1989e56 191c257c01 and luckily for you, the example used is for postgrey/postfix so you can use the example provided. Hope that helps. That did it. Thanks alot! Dirk You're welcome :) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] problem talking to server postgrey/socket: Permission denied
Ned, --On 5. Oktober 2008 11:07:54 +0100 Ned Slider <[EMAIL PROTECTED]> wrote: Dirk H. Schulz wrote: Hi folks, I have installed postgrey from the rpmforge repo, but it does not work well with postfix from CentOS 5.2: I always get the error: warning: connect to postgrey/socket: Permission denied problem talking to server postgrey/socket: Permission denied - snip You're correct in your assumption that this is an SELinux issue. You need to write a custom policy to allow connection and writing to the socket. How to do this is covered in the SELinux Wiki guide here: http://wiki.centos.org/HowTos/SELinux#head-faa96b3fdd922004cdb988c1989e56 191c257c01 and luckily for you, the example used is for postgrey/postfix so you can use the example provided. Hope that helps. That did it. Thanks alot! Dirk ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] problem talking to server postgrey/socket: Permission denied
Dirk H. Schulz wrote on Sun, 05 Oct 2008 10:28:06 +0200: > warning: connect to postgrey/socket: Permission denied > problem talking to server postgrey/socket: Permission denied SELinux enabled? Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] problem talking to server postgrey/socket: Permission denied
Dirk H. Schulz wrote: Hi folks, I have installed postgrey from the rpmforge repo, but it does not work well with postfix from CentOS 5.2: I always get the error: warning: connect to postgrey/socket: Permission denied problem talking to server postgrey/socket: Permission denied But the permissions on the socket seem okay (postfix could write to it): srw-rw-rw- 1 postgrey postgrey0 4. Okt 14:48 socket I also tried "restorecon -R /var/spool/postfix/postgrey", but that did not change anything, either. Googling does not show anything recent and helpful. Any hint or help is appreciated. Dirk Hi Dirk, You're correct in your assumption that this is an SELinux issue. You need to write a custom policy to allow connection and writing to the socket. How to do this is covered in the SELinux Wiki guide here: http://wiki.centos.org/HowTos/SELinux#head-faa96b3fdd922004cdb988c1989e56191c257c01 and luckily for you, the example used is for postgrey/postfix so you can use the example provided. Hope that helps. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] problem talking to server postgrey/socket: Permission denied
Hi folks, I have installed postgrey from the rpmforge repo, but it does not work well with postfix from CentOS 5.2: I always get the error: warning: connect to postgrey/socket: Permission denied problem talking to server postgrey/socket: Permission denied But the permissions on the socket seem okay (postfix could write to it): srw-rw-rw- 1 postgrey postgrey0 4. Okt 14:48 socket I also tried "restorecon -R /var/spool/postfix/postgrey", but that did not change anything, either. Googling does not show anything recent and helpful. Any hint or help is appreciated. Dirk ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos