• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Spamassassin preventing emails

M

MykelS

Guest
Hi all,

Ive recently performed a fresh install of Plesk 9.2.1 on Centos 5.2 x86_64.

We've migrated a few sites over from our older Plesk servers, but we have noticed mail is not being delivered to our clients if we enable Spamassassin for their mailbox(es).
When creating new accounts explicitly WITHOUT Spamassassin, emails are received just fine.

What makes the mystery more confusing is if we disable Spamassassin protection on a mailbox, emails still dont get through.

Does anyone know anything we should try to return to full functionality?

Regards,
Mykel
 
problem solved

i solved the issue. it seems selinux was preventing sendmail, postdrop and procmail from working properly.

im not skilled enough to pinpoint the exact selinux chcon problem (it seems its in multiple places) so i disabled selinux entirely.

here is a small snippet of /var/log/messages:

setroubleshoot: SELinux is preventing sendmail (system_mail_t) "read write" to /var/log/httpd/jk-runtime-status (httpd_log_t). For complete SELinux messages. run sealert -l 7b556a0b-614d-4831-82c9-1effec882ca1
setroubleshoot: SELinux is preventing postdrop (postfix_postdrop_t) "getattr" to /var/log/httpd/error_log (httpd_log_t). For complete SELinux messages. run sealert -l db275eec-1d9c-4411-8435-e7b56014bb98
setroubleshoot: SELinux is preventing executable (procmail_t) "execute" to ./spamc (spamc_exec_t). For complete SELinux messages. run sealert -l c0ef37c3-61ff-45bf-8b28-cfdeaad42bbb
 
Back
Top