Search Engine: Elastic

Article ID: 124819, created on Mar 12, 2015, last review on Mar 12, 2015

  • Applies to:
  • Plesk Automation 11.5


Cannot authenticate via Horde or Roundcube, the following error message is shown:

"Error connecting to mail server."


Selinux policy. In /var/log/audit/audit.log log there are a lot of denied errors, example:

    type=AVC msg=audit(1426133804.608:1065): avc:  denied  { write } for  pid=2661 comm="php-cgi" name="plesk-roundcube" dev=dm-0 ino=272626 scontext=unconfined_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:var_log_t:s0 tclass=dir
    type=SYSCALL msg=audit(1426133804.608:1065): arch=c000003e syscall=2 success=no exit=-13 a0=17e7fc8 a1=441 a2=1a4 a3=0 items=0 ppid=2607 pid=2661 auid=0 uid=502 gid=505 euid=502 suid=502 fsuid=502 egid=505 sgid=505 fsgid=505 tty=(none) ses=2 comm="php-cgi" exe="/usr/bin/php-cgi" subj=unconfined_u:system_r:httpd_sys_script_t:s0 key=(null)


Disable Selinux temporary and check how login to Webmail works:

    # setenforce 0

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF