dovecot: auth: Error: policy - Policy server HTTP error: 500 Internal Error

Wallu

Active Member
Jan 13, 2020
28
7
3
Finland
cPanel Access Level
Root Administrator
Hi all! Any idea what these are? All is working fine more or less, but still would like to know why these keep up showing in my log.

Here are few greps and other info:

Code:
[[email protected] ~]# grep "Policy server HTTP error" /var/log/maillog
May 11 04:27:32 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__imap__5wtjduqlw1tcgxu9,127.0.0.1,<jKE9QFWlwqx/AAAB>): Policy server HTTP error: 500 Internal Error
May 11 04:27:32 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__imap__5wtjduqlw1tcgxu9,127.0.0.1,<jKE9QFWlwqx/AAAB>): Policy server HTTP error: 500 Internal Error
May 11 04:27:32 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 11 04:27:32 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 11 04:27:32 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 11 19:47:24 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__imap__5wtjduqlw1tcgxu9,127.0.0.1,</cL4GWKlts1/AAAB>): Policy server HTTP error: 500 Internal Error
May 11 19:47:24 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__imap__5wtjduqlw1tcgxu9,127.0.0.1,</cL4GWKlts1/AAAB>): Policy server HTTP error: 500 Internal Error
May 11 19:47:24 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 11 19:47:24 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 11 19:47:24 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 11 22:20:04 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__imap__5wtjduqlw1tcgxu9,127.0.0.1,<OrnwO2Sl2tB/AAAB>): Policy server HTTP error: 500 Internal Error
May 11 22:20:04 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__imap__5wtjduqlw1tcgxu9,127.0.0.1,<OrnwO2Sl2tB/AAAB>): Policy server HTTP error: 500 Internal Error
May 11 22:20:04 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 11 22:20:04 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 11 22:20:04 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 12 03:04:08 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__imap__5wtjduqlw1tcgxu9,127.0.0.1,<NorcM2ilZNZ/AAAB>): Policy server HTTP error: 500 Internal Error
May 12 03:04:08 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__imap__5wtjduqlw1tcgxu9,127.0.0.1,<NorcM2ilZNZ/AAAB>): Policy server HTTP error: 500 Internal Error
May 12 03:04:08 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 12 03:04:08 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 12 03:04:08 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 12 05:27:38 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__imap__5wtjduqlw1tcgxu9,127.0.0.1,<3HcMNWqlEtp/AAAB>): Policy server HTTP error: 500 Internal Error
May 12 05:27:38 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__imap__5wtjduqlw1tcgxu9,127.0.0.1,<3HcMNWqlEtp/AAAB>): Policy server HTTP error: 500 Internal Error
May 12 05:27:38 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 12 05:27:38 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 12 05:27:38 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 12 19:32:57 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__imap__5wtjduqlw1tcgxu9,127.0.0.1,<8KgmBHalnI9/AAAB>): Policy server HTTP error: 500 Internal Error
May 12 19:32:57 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__imap__5wtjduqlw1tcgxu9,127.0.0.1,<8KgmBHalnI9/AAAB>): Policy server HTTP error: 500 Internal Error
May 12 19:32:57 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 12 19:32:57 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 12 19:32:57 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 12 23:59:10 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__imap__5wtjduqlw1tcgxu9,127.0.0.1,<32UqvHmlwpR/AAAB>): Policy server HTTP error: 500 Internal Error
May 12 23:59:10 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__imap__5wtjduqlw1tcgxu9,127.0.0.1,<32UqvHmlwpR/AAAB>): Policy server HTTP error: 500 Internal Error
May 12 23:59:10 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 12 23:59:10 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 12 23:59:10 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 13 08:18:13 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__imap__5wtjduqlw1tcgxu9,127.0.0.1,<YTLttICl1qB/AAAB>): Policy server HTTP error: 500 Internal Error
May 13 08:18:13 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__imap__5wtjduqlw1tcgxu9,127.0.0.1,<YTLttICl1qB/AAAB>): Policy server HTTP error: 500 Internal Error
May 13 08:18:13 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 13 08:18:13 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 13 08:18:13 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
[[email protected] ~]# uname -a
Linux whm06.xxxxxxxxxx 3.10.0-962.3.2.lve1.5.35.el7.x86_64 #1 SMP Tue Apr 14 15:56:28 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux

[[email protected] ~]# cat /etc/os-release
NAME="CloudLinux"
VERSION="7.8 (Alexei Leonov)"
ID="cloudlinux"
ID_LIKE="rhel fedora centos"

[[email protected] ~]# dovecot --version
2.3.8 (9df20d2db)

[[email protected] ~]# exim --version
Exim version 4.93 #2 built 25-Feb-2020 15:41:54

Seems to me this is kinda random event, I mean it's not like it happens every x hours.

Here is the whole junk from one of these:

Code:
maillog:May 13 08:18:13 whm06 spamd[1332025]: spamd: connection from localhost [::1]:39926 to port 783, fd 5
maillog:May 13 08:18:13 whm06 spamd[1323920]: prefork: child states: II
maillog:May 13 08:18:13 whm06 dovecot: pop3-login: Aborted login (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<6XLqtIClJpJ/AAAB>
maillog:May 13 08:18:13 whm06 dovecot: lmtp(1348700): Connect from local
maillog:May 13 08:18:13 whm06 dovecot: lmtp(1348700): Disconnect from local: Client has quit the connection (state=READY)
maillog:May 13 08:18:13 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__imap__5wtjduqlw1tcgxu9,127.0.0.1,<YTLttICl1qB/AAAB>): Policy server HTTP error: 500 Internal Error
maillog:May 13 08:18:13 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__imap__5wtjduqlw1tcgxu9,127.0.0.1,<YTLttICl1qB/AAAB>): Policy server HTTP error: 500 Internal Error
maillog:May 13 08:18:13 whm06 dovecot: imap-login: Login: user=<__cpanel__service__auth__imap__5wtjduqlw1tcgxu9>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=1348718, secured, session=<YTLttICl1qB/AAAB>
maillog:May 13 08:18:13 whm06 dovecot: imap(__cpanel__service__auth__imap__5wtjduqlw1tcgxu9)<1348718><YTLttICl1qB/AAAB>: Logged out in=11, out=490, bytes=11/490
maillog:May 13 08:18:13 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
maillog:May 13 08:18:13 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
maillog:May 13 08:18:13 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
Most of the time these (I believe it's the checkservice or what ever it's name is, checking all is running ok?) come out with no problems, it's running every 5 minutes, like this:

Code:
May 13 14:25:22 whm06 spamd[1332025]: spamd: connection from localhost [::1]:43934 to port 783, fd 5
May 13 14:25:22 whm06 dovecot: pop3-login: Aborted login (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<Krr21YWlzqF/AAAB>
May 13 14:25:22 whm06 dovecot: lmtp(1390130): Connect from local
May 13 14:25:22 whm06 dovecot: lmtp(1390130): Disconnect from local: Client has quit the connection (state=READY)
May 13 14:25:22 whm06 dovecot: imap-login: Login: user=<__cpanel__service__auth__imap__5wtjduqlw1tcgxu9>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=1390135, secured, session=<X3n51YWlfrB/AAAB>
May 13 14:25:22 whm06 dovecot: imap(__cpanel__service__auth__imap__5wtjduqlw1tcgxu9)<1390135><X3n51YWlfrB/AAAB>: Logged out in=11, out=490, bytes=11/490
So, should I worry about the 500 errors,.. or?

Edit: running v86.0.18

- Wallu
 
Last edited:

Wallu

Active Member
Jan 13, 2020
28
7
3
Finland
cPanel Access Level
Root Administrator
What's in the cPHulkd logs at the same time as these?

Code:
/usr/local/cpanel/logs/cphulkd_errors.log
/usr/local/cpanel/logs/cphulkd.log
Here is the latest: (/var/log/maillog)

Code:
May 16 13:58:59 whm06 spamd[2208779]: spamd: connection from localhost [::1]:43922 to port 783, fd 5
May 16 13:58:59 whm06 dovecot: pop3-login: Aborted login (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<Scgj0cGlwqF/AAAB>
May 16 13:58:59 whm06 dovecot: lmtp(2263238): Connect from local
May 16 13:58:59 whm06 dovecot: lmtp(2263238): Disconnect from local: Client has quit the connection (state=READY)
May 16 13:58:59 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__imap__5wtjduqlw1tcgxu9,127.0.0.1,<A4Um0cGlcrB/AAAB>): Policy server HTTP error: 500 Internal Error
May 16 13:58:59 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__imap__5wtjduqlw1tcgxu9,127.0.0.1,<A4Um0cGlcrB/AAAB>): Policy server HTTP error: 500 Internal Error
May 16 13:58:59 whm06 dovecot: imap-login: Login: user=<__cpanel__service__auth__imap__5wtjduqlw1tcgxu9>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2263259, secured, session=<A4Um0cGlcrB/AAAB>
May 16 13:58:59 whm06 dovecot: imap(__cpanel__service__auth__imap__5wtjduqlw1tcgxu9)<2263259><A4Um0cGlcrB/AAAB>: Logged out in=11, out=490, bytes=11/490
May 16 13:58:59 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 16 13:58:59 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
May 16 13:58:59 whm06 dovecot: auth: Error: policy(__cpanel__service__auth__exim__iwp8w27gkhdgkh3n,127.0.0.1): Policy server HTTP error: 500 Internal Error
/usr/local/cpanel/logs/cphulkd_errors.log at the same time: Nothing, latest entry there is from May 14

/usr/local/cpanel/logs/cphulkd.log at the same time:

Code:
[2020-05-16 13:58:59 +0300] info [cPhulkd] DB processor shutdown via SIGTERM with pid 2257221

Weird, it's kinda random. I can see from the logs that May 13 there was just one 500 error in the log, May 14 none! ... then again May 15 there was four...

- Wallu