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

Postfix & Greylisting Problem

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by SebastianS, Jul 22, 2009.

  1. SebastianS

    SebastianS New Pleskian

    19
    85%
    Joined:
    Jul 7, 2009
    Messages:
    13
    Likes Received:
    0
    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
     
  2. Maa

    Maa Guest

    0
     
    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
     
  3. eugenevdm

    eugenevdm Silver Pleskian

    30
    68%
    Joined:
    Nov 11, 2003
    Messages:
    611
    Likes Received:
    0
    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?
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    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.
     
  5. HernanM

    HernanM Guest

    0
     
    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, sasl_username=marcelo@xxxxx.com
    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: marcelo@xxxxx.com
    Jan 15 14:37:53 panel before-remote[26839]: check handlers for addr: xxxxx@yahoo.com.ar
    Jan 15 14:37:53 panel before-queue[26838]: check handlers for addr: marcelo@xxxxx.com
    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] = '<xxxxx@yahoo.com.ar>'
    Jan 15 14:37:54 panel before-queue[26838]: handlers dir = '/usr/local/psa/handlers/before-queue/recipient/<xxxxx@yahoo.com.ar>'
    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.
     
  6. guldi

    guldi Guest

    0
     
    same here

    solution, please! :eek:
     
  7. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    According information from developers it's no bug. It's CORRECT working of greylistinfg feature. See also: http://www.greylisting.org for get complete information.
     
  8. Jon Bing

    Jon Bing Guest

    0
     
    Did anyone find a solution for this? I'm experancing delays in recieving mail due to the above problem.
     
  9. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
  10. webcomsysadmin

    webcomsysadmin Guest

    0
     
    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
     
  11. EliaGa

    EliaGa New Pleskian

    3
    70%
    Joined:
    Jun 27, 2014
    Messages:
    7
    Likes Received:
    0
    Same problem on Plesk 12. Did you resolve it?
     
Loading...