emails no longer create JIRA tickets

Description

After the mailman instance was moved ( ) emails to infra-support no longer create tickets. SELinux seems to be blocking a custom antispam script that we have installed. Logging this ticket to investigate and fix the issue.

Activity

Show:

Eyal Edri January 3, 2017 at 7:57 AM

this was fixed afaik, any more actions needed or ticket can be closed?

Former user December 20, 2016 at 6:28 PM
Edited

Here's the policy module I created to let dovecot run spamc in its own context:

module dovecot_postlogin 1.1;

require {
type dovecot_t;
type spamc_exec_t;
type spamc_t;
class file { ioctl read getattr lock execute execute_no_trans entrypoint open };
class process { transition signal };
}

#============= dovecot_t ==============
allow dovecot_t spamc_exec_t:file { ioctl read getattr lock execute execute_no_trans entrypoint open };
allow dovecot_t spamc_trocess { transition signal };

This is now installed on the server and makes the script work (test case created via email)

Former user December 20, 2016 at 5:06 PM

There's a legacy script that processes files in the maildir and feeds them to spamc. Since SELinux is in enforcing mode, this does not work and spamc returns with a non-zero exit code causing all mails to be discarded.

Fixed

Details

Assignee

Reporter

Priority

Created December 20, 2016 at 5:04 PM
Updated January 30, 2017 at 9:25 AM
Resolved January 4, 2017 at 9:19 AM