1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Spamassassin preventing emails

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by MykelS, May 20, 2009.

  1. MykelS

    MykelS Guest

    0
     
    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
     
  2. MykelS

    MykelS Guest

    0
     
    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
     
Loading...