• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Postfix & Greylisting Problem

SebastianS

New Pleskian
Hi all,

i've got a Problem with Greylisting, it didn't work correctly.

Take a look at my mail log :
Jul 22 16:23:28 plesk greylisting filter[13875]: Starting greylisting filter...
Jul 22 16:23:28 plesk before-queue[13870]: handlers_stderr: DEFER
Jul 22 16:23:28 plesk before-queue[13870]: call_handlers: DEFER during call '/opt/psa/handlers/info/05-grey-n9ErIp/executable' handler
Jul 22 16:23:28 plesk before-queue[13870]: call_handlers: stop call handlers from dir '/opt/psa/handlers/before-queue/global'
Jul 22 16:23:28 plesk before-remote[13872]: Lost connection
Jul 22 16:23:28 plesk before-remote[13872]: Some error occured
Jul 22 16:23:28 plesk postfix/spawn[13871]: warning: command /usr/lib/plesk-9.0/postfix-queue exit status 255

This happens only if an email adress is unkown. The second try is no Problem. But i think greylisting didn't work perfekt.

Anybody who could help me ?

Thanks
 
As far as I know this is how greylisting supposed to work.

"MTA using greylisting will "temporarily reject" any email from a sender it does not recognize." (c) Wiki
 
Log File?

Where is the log file for Greylisting?

Do we have to do this?

root@centralmail:# tail -f /usr/local/psa/var/log/maillog | grep handlers_stderr

which gives:

Dec 3 09:44:11 cm qmail-queue-handlers[10999]: handlers_stderr: DEFER
Dec 3 09:44:12 cm qmail-queue-handlers[10819]: handlers_stderr: DEFER
Dec 3 09:44:13 cm qmail-queue-handlers[11007]: handlers_stderr: DEFER
Dec 3 09:44:13 cm qmail-queue-handlers[11054]: handlers_stderr: DEFER
Dec 3 09:44:13 cm qmail-queue-handlers[10622]: handlers_stderr: SKIP
Dec 3 09:44:13 cm qmail-queue-handlers[10622]: handlers_stderr: PASS
Dec 3 09:44:13 cm qmail-queue-handlers[10683]: handlers_stderr: DEFER
Dec 3 09:44:16 cm qmail-queue-handlers[10711]: handlers_stderr: DEFER
Dec 3 09:44:16 cm qmail-queue-handlers[11122]: handlers_stderr: DEFER
Dec 3 09:44:16 cm qmail-local-handlers[10719]: handlers_stderr: PASS
Dec 3 09:44:16 cm qmail-queue-handlers[11167]: handlers_stderr: SKIP
Dec 3 09:44:16 cm qmail-queue-handlers[11167]: handlers_stderr: SKIP

What is SKIP and can we see why SKIP is happening?

Is SKIP maybe Whitelist or Domain Specific settings?
 
Greylisting operation is logged only in /usr/local/psa/var/log/maillog
SKIP mean that message in the whitelist or GL interval is ended. SKIP the same as PASS but more economical on resources.
 
before-remote Some error occured

the same. Also notice the disparity in the log hour, some process says 14:37 while other says 16:37...

I have plesk 9.3 and it presents lot of errors with postfix, it is unusable.

So, what about the "Jan 15 14:37:54 panel before-remote[26839]: Some error occured" line in the logs ? When I try to send some email the email client fails with: "mail server temporary failed"

Jan 15 16:37:51 panel postfix/smtpd[26735]: connect from unknown[190.173.16.100]
Jan 15 16:37:53 panel postfix/smtpd[26697]: connect from unknown[127.0.0.1]
Jan 15 16:37:53 panel postfix/smtpd[26735]: NOQUEUE: client=unknown[190.173.16.100], sasl_method=DIGEST-MD5, [email protected]
Jan 15 16:37:53 panel postfix/smtpd[26697]: 519E54850AFB: client=unknown[190.173.16.100]
Jan 15 14:37:53 panel before-remote[26839]: check handlers for addr: [email protected]
Jan 15 14:37:53 panel before-remote[26839]: check handlers for addr: [email protected]
Jan 15 14:37:53 panel before-queue[26838]: check handlers for addr: [email protected]
Jan 15 14:37:53 panel before-queue[26838]: Processing handlers...
Jan 15 14:37:54 panel before-queue[26838]: hook_dir = '/usr/local/psa/handlers/before-queue'
Jan 15 14:37:54 panel before-queue[26838]: recipient[3] = '<[email protected]>'
Jan 15 14:37:54 panel before-queue[26838]: handlers dir = '/usr/local/psa/handlers/before-queue/recipient/<[email protected]>'
Jan 15 14:37:54 panel before-queue[26838]: found handlers entry = '/usr/local/psa/handlers/before-queue/global/05-grey-YoZUxn'
Jan 15 14:37:54 panel before-queue[26838]: call_handlers: call executable = '/usr/local/psa/handlers/info/05-grey-YoZUxn/executable'
Jan 15 14:37:54 panel greylisting filter[26840]: Starting greylisting filter...
Jan 15 14:37:54 panel before-queue[26838]: handlers_stderr: DEFER
Jan 15 14:37:54 panel before-queue[26838]: call_handlers: DEFER during call '/usr/local/psa/handlers/info/05-grey-YoZUxn/executable' handler
Jan 15 14:37:54 panel before-queue[26838]: call_handlers: stop call handlers from dir '/usr/local/psa/handlers/before-queue/global'
Jan 15 14:37:54 panel before-remote[26839]: Lost connection
Jan 15 14:37:54 panel before-remote[26839]: Some error occured

I would really appreaciate a definitive solution, Plesk 9.3.0 is unusable with respect email as it was in previous release 9.2.x

Please, I need a fix urgently.
 
Did anyone find a solution for this? I'm experancing delays in recieving mail due to the above problem.
 
It is a error.

I have A LOT of:


30 27825 0.0 0.1 7444 1200 ? Ss 19:35 0:00 /usr/lib/plesk-9.0/postfix-queue 127.0.0.1 10026 before-remote
30 29773 0.0 0.1 7440 1236 ? Ss 22:01 0:00 /usr/lib/plesk-9.0/postfix-queue 127.0.0.1 10027 before-queue
30 29776 0.0 0.1 7444 1196 ? Ss 22:01 0:00 /usr/lib/plesk-9.0/postfix-queue 127.0.0.1 10026 before-remote
30 29836 0.0 0.1 7444 1240 ? Ss 22:49 0:00 /usr/lib/plesk-9.0/postfix-queue 127.0.0.1 10027 before-queue
30 29838 0.0 0.1 7444 1200 ? Ss 22:49 0:00 /usr/lib/plesk-9.0/postfix-queue 127.0.0.1 10026 before-remote
30 30112 0.0 0.1 7436 1236 ? Ss 23:41 0:00 /usr/lib/plesk-9.0/postfix-queue 127.0.0.1 10027 before-queue
30 30113 0.0 0.1 7436 1196 ? Ss 23:41 0:00 /usr/lib/plesk-9.0/postfix-queue 127.0.0.1 10026 before-remote
30 30185 0.0 0.1 7444 1236 ? Ss 23:42 0:00 /usr/lib/plesk-9.0/postfix-queue 127.0.0.1 10027 before-queue

Each process is created each time i get the errors posted above in maillog, these process consumes a lot of ram i can't tell you how many troubles i have with my users because of this...

This only happens with plesk 9.3, i have many VE with plesk 9.2.x and this is not happening, of course is a bug in your greylist system..

How can i disable this greaylist feature?

It's necesary at all? we can use postgreylist anyway...

please fix it.

regards
 
Back
Top