SeLinux and mail relaying

Paul Howarth paul at
Mon Jul 10 07:49:19 UTC 2006

On Fri, 2006-07-07 at 16:34 -0400, redhatdude at wrote:
> Hi,
> While trying to set up a mail cgi script, I discovered that Selinux  
> is not allowing relaying mail from anything but postfix. I realized  
> this when I turned off selinux and I started getting the result of  
> cron jobs and other similar system emails.
> So my question is ,  how can I make selinux allow programs other than  
> postfix and cyrus to relay emails?

Can you post the AVC messages you are getting when mail from cron is
being blocked by SELinux?


More information about the selinux mailing list