• 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
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Greylisting Error switch into root account

Wetty

New Pleskian
Hello,

I am using Plesk 9.3.0 on an Ubuntu 8.04 vserver.
When I enable Greylisting, I get the following error messages:

Feb 17 18:08:00 h1613293 greylisting filter[21668]: Starting greylisting filter.
..
Feb 17 18:08:00 h1613293 greylisting filter[21668]: Unable to switch into root a
ccount: Operation not permitted
Feb 17 18:08:00 h1613293 qmail-queue-handlers[21663]: call_handlers: Error durin
g call '/opt/psa/handlers/info/05-grey-gO4U1k/executable' handler
Feb 17 18:08:00 h1613293 qmail-queue-handlers[21663]: LOG Internal error in hand
ler '05-grey-gO4U1k'. Skip handler.

What does this mean, how can I fix it?

Btw: I have this on 2 machines

Regards
Thomas
 
Make sure that you have this permissions:

# stat /usr/local/psa/handlers/hooks/grey
File: `/usr/local/psa/handlers/hooks/grey'
Size: 57624 Blocks: 128 IO Block: 4096 regular file
Device: 58h/88d Inode: 20027197 Links: 1
Access: (4550/-r-sr-x---) Uid: ( 0/ root) Gid: ( 31/ popuser)
 
Hello,

the error happens with the this rights, which look okay:

File: `/usr/local/psa/handlers/hooks/grey'
Size: 51976 Blocks: 112 IO Block: 4096 regular file
Device: a0h/160d Inode: 62538116 Links: 1
Access: (0777/-rwxrwxrwx) Uid: ( 0/ root) Gid: ( 31/ popuser)

Regards
Thomas
 
It is not OK. You have

0777/-rwxrwxrwx

But should be

4550/-r-sr-x---
 
I got error too... but not similar

This error just suddenly happen, before is OK... for temporary i just DISABLE greylisting

Here is the error:
Feb 18 07:00:44 server postfix/smtpd[4094]: table hash:/var/spool/postfix/plesk/poplock(0,lock|fold_fix) has changed -- restarting
Feb 18 15:00:44 server postfix/smtpd[4102]: connect from unknown[127.0.0.1]
Feb 18 07:00:44 server postfix/smtpd[4087]: NOQUEUE: client=unknown[115.69.xxx.yyy], sasl_method=PLAIN, [email protected]
Feb 18 07:00:44 server postfix/smtpd[4102]: 645461A88024: client=unknown[115.69.xxx.yyy]
Feb 18 15:00:44 server before-remote[4101]: check handlers for addr: [email protected]
Feb 18 15:00:44 server before-remote[4101]: check handlers for addr: [email protected]
Feb 18 15:00:44 server before-remote[4101]: check handlers for addr: [email protected]
Feb 18 15:00:44 server before-queue[4100]: check handlers for addr: [email protected]
Feb 18 15:00:44 server before-queue[4100]: Processing handlers...
Feb 18 15:00:45 server before-queue[4100]: hook_dir = '/usr/local/psa/handlers/before-queue'
Feb 18 15:00:45 server before-queue[4100]: recipient[3] = '<[email protected]>'
Feb 18 15:00:45 server before-queue[4100]: handlers dir = '/usr/local/psa/handlers/before-queue/recipient/<[email protected]>'
Feb 18 15:00:45 server before-queue[4100]: recipient[4] = '<[email protected]>'
Feb 18 15:00:45 server before-queue[4100]: handlers dir = '/usr/local/psa/handlers/before-queue/recipient/<[email protected]>'
Feb 18 15:00:45 server before-queue[4100]: found handlers entry = '/usr/local/psa/handlers/before-queue/global/05-grey-LONtoC'
Feb 18 15:00:45 server before-queue[4100]: call_handlers: call executable = '/usr/local/psa/handlers/info/05-grey-LONtoC/executable'
Feb 18 15:00:45 server greylisting filter[4106]: Starting greylisting filter...
Feb 18 15:00:45 server greylisting filter[4106]: Timeout finished
Feb 18 15:00:45 server before-queue[4100]: handlers_stderr: DEFER
Feb 18 15:00:45 server before-queue[4100]: call_handlers: DEFER during call '/usr/local/psa/handlers/info/05-grey-LONtoC/executable' handler
Feb 18 15:00:45 server before-queue[4100]: call_handlers: stop call handlers from dir '/usr/local/psa/handlers/before-queue/global'
Feb 18 15:00:45 server before-remote[4101]: Lost connection
Feb 18 15:00:45 server before-remote[4101]: Some error occured
Feb 18 07:00:45 server postfix/smtpd[4102]: lost connection after DATA from unknown[127.0.0.1]
Feb 18 07:00:45 server postfix/smtpd[4102]: disconnect from unknown[127.0.0.1]
Feb 18 15:00:45 server postfix/spawn[3734]: warning: command /usr/lib64/plesk-9.0/postfix-queue exit status 255

Code:
[root@server ~]# stat /usr/local/psa/handlers/hooks/grey
  File: `/usr/local/psa/handlers/hooks/grey'
  Size: 57624     	Blocks: 128        IO Block: 4096   regular file
Device: 805h/2053d	Inode: 6570442     Links: 1
Access: (4550/-r-sr-x---)  Uid: (    0/    root)   Gid: (   31/ popuser)
Access: 2010-02-18 15:00:45.000000000 +0800
Modify: 2009-12-30 08:14:20.000000000 +0800
Change: 2010-01-20 18:58:58.000000000 +0800

Code:
[root@server ~]# /usr/local/psa/bin/grey_listing -i
Grey listing configuration.

Grey listing checking  enabled
Grey interval          5 minutes
Expire interval        51840 minutes
Penalty interval       2 minutes
Penalty                disabled
Personal grey listing
configuration          allowed

Server-wide black list:

Server-wide white list:

White domains patterns list:
 *google.com
 *mail.ru
 *parallels.com
 *rambler.ru
 *yahoo.com
 *yandex.ru

Black domains patterns list:

SUCCESS: Gathering of server wide information complete.

Nyoman
 
It is postfix but not GL errors. A lot of discussion about this errors on this forum. Try to find it here.
 
Feb 18 15:00:45 server greylisting filter[4106]: Timeout finished

But why the problem does not happen when i disable GL.. ?

Thanks.. i'll find
 
Back
Top