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 and 9.5.1: Sending not possible / delayed when Greylisting switched on

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by openairhoster2, Apr 25, 2010.

  1. openairhoster2

    openairhoster2 New Pleskian

    20
     
    Joined:
    Sep 17, 2009
    Messages:
    24
    Likes Received:
    0
    Hi,
    after updating to Plesk 9.5.1 (Debian Lenny 64), our users are getting
    "451 mail server temporary failed" when sending out a mail. After a few minutes, they can send mail to that address. But if they send mail to another address, again, they get that error, have to wait for a few minutes, and then can send mail to that address.
    As if greylisting was interfering with sending mail.
    And, yes, if we switch off Greylisting, sending works without delay.
    This is, of course, not a nice choice: either not being able to send right away, or drown in spam
    Replacing postfix-queue with on of the zillion hotfixes of the last months didn't help
    Please, please, take a look and fix this

    Below an excerpt form the maillog. Hostname and IP has been altered for privacy reasons. The mail client used was Pine from the same server as the mail server. But it doesn't work from other servers, either.

    ####

    Apr 25 18:09:55 mail postfix/smtpd[24330]: connect from mail.xanaluca.com[148.198.112.51]
    Apr 25 18:09:55 mail pop3d-ssl: Connection, ip=[95.117.255.168]
    Apr 25 18:09:55 mail postfix/smtpd[24324]: connect from localhost.localdomain[127.0.0.1]
    Apr 25 18:09:55 mail postfix/smtpd[24330]: NOQUEUE: client=mail.xanaluca.com[148.198.112.51]
    Apr 25 18:09:55 mail postfix/smtpd[24324]: B896B480227D: client=mail.xanaluca.com[148.198.112.51]
    Apr 25 18:09:55 mail before-queue[24340]: check handlers for addr: michael@xanaluca.com
    Apr 25 18:09:55 mail before-queue[24340]: check handlers for addr: blog@meinekleinedomain.de
    Apr 25 18:09:55 mail before-queue[24340]: Processing handlers...
    Apr 25 18:09:56 mail before-queue[24340]: hook_dir = '/opt/psa/handlers/before-queue'
    Apr 25 18:09:56 mail before-queue[24340]: call_handlers: call executable = '/opt/psa/handlers/info/05-grey-ZiyzFF/executable'
    Apr 25 18:09:56 mail greylisting filter[24346]: Starting greylisting filter...
    Apr 25 18:09:56 mail postfix/smtpd[24329]: table hash:/var/spool/postfix/plesk/poplock(0,lock|fold_fix) has changed -- restarting
    Apr 25 18:09:56 mail postfix/smtpd[24334]: table hash:/var/spool/postfix/plesk/poplock(0,lock|fold_fix) has changed -- restarting
    Apr 25 18:09:56 mail postfix/smtpd[24321]: table hash:/var/spool/postfix/plesk/poplock(0,lock|fold_fix) has changed -- restarting
    Apr 25 18:09:56 mail postfix/smtpd[24289]: table hash:/var/spool/postfix/plesk/poplock(0,lock|fold_fix) has changed -- restarting
    Apr 25 18:09:56 mail before-queue[24340]: handlers_stderr: DEFER
    Apr 25 18:09:56 mail before-queue[24340]: call_handlers: DEFER during call '/opt/psa/handlers/info/05-grey-ZiyzFF/executable' handler
    Apr 25 18:09:56 mail before-queue[24340]: call_handlers: stop call handlers from dir '/opt/psa/handlers/before-queue/global'
    Apr 25 18:09:56 mail postfix/smtpd[24324]: disconnect from localhost.localdomain[127.0.0.1]
    Apr 25 18:09:56 mail postfix/smtpd[24330]: disconnect from mail.xanaluca.com[148.198.112.51]
    Apr 25 18:09:56 mail postfix/smtpd[24330]: table hash:/var/spool/postfix/plesk/poplock(0,lock|fold_fix) has changed -- restarting
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Developers have informed that it's not bug. It's CORRECT working of greylistinfg feature. See also: http://www.greylisting.org for get complete information. Unfortunately we can't to write correct explanation to remote server in SMTP session because it is require full API rewriting.
     
  3. openairhoster2

    openairhoster2 New Pleskian

    20
     
    Joined:
    Sep 17, 2009
    Messages:
    24
    Likes Received:
    0
    Maybe I was not clear enough about what happened:

    1. This happens only since the upgrade to 9.5.1. It worked in 9.3 and before (except of course for the other Plesk-Postfix bugs that we all know)

    2. When I send out mail from "michael@mypleskdomain.com" to "someaddress@yahoo.com", my mail server (for example mail.mypleskdomain.com) should get a defer message from Yahoo, if Yahoo uses greylisting. This message should never appear to me, the client.
    But it is not Yahoo who sends the defer message. It is mail.mypleskdomain.com sending the defer message directly to the me, the client, which is wrong. So it seems that Plesk/Postfix is doing some kind of greylisting in the wrong place.

    3. I don't understand the sentence "Unfortunately we can't to write correct explanation to remote server in SMTP session because it is require full API rewriting.". Maybe you can reword it? But I don't think solving this problem requires full API rewriting, since it worked in 9.3.

    Greetings
    Michael
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Did you tried to rebuild mailsettings with 'mchk --with-spam' ?
     
  5. openairhoster2

    openairhoster2 New Pleskian

    20
     
    Joined:
    Sep 17, 2009
    Messages:
    24
    Likes Received:
    0
    No, I haven't tried that. Will do so tonight, because it takes too long now, the mail server downtime would drive our customers crazy.
     
  6. andreyb

    andreyb Guest

    0
     
  7. charliem

    charliem Guest

    0
     
    Igor,

    This is the exact same issue I asked you about here...

    http://forum.parallels.com/showthread.php?p=411418#post411418

    Why could you not respond to my request with helpful advice.

    Q. What will "mchk --with-spam" do?

    Q.The OP'er seems to think "mchk --with-spam" will cause downtime, how much downtime?

    I do hope you can respond to me this time, or would you prefer to ask me for "proof" that I also have this issue again before you are prepared to help me?
     
  8. DariuszR

    DariuszR New Pleskian

    19
    85%
    Joined:
    Jul 14, 2009
    Messages:
    17
    Likes Received:
    0
    Same problem here after upgrade to 9.5.1 on CentOS 5.4. Some maillog messages:

    Apr 26 09:46:41 xxx before-queue[17423]: check handlers for addr: user@domain.com user on my server trying to send email
    Apr 26 09:46:41 xxx before-queue[17423]: check handlers for addr: remote_user@remote-domain.com remote email address
    Apr 26 09:46:41 xxx before-queue[17423]: Processing handlers...
    Apr 26 09:46:42 xxx before-queue[17423]: hook_dir = '/usr/local/psa/handlers/before-queue'
    Apr 26 09:46:42 xxx before-queue[17423]: call_handlers: call executable = '/usr/local/psa/handlers/info/05-grey-Tw58FY/executable'
    Apr 26 09:46:42 xxx greylisting filter[17428]: Starting greylisting filter...
    Apr 26 09:46:42 xxx before-queue[17423]: handlers_stderr: DEFER
    Apr 26 09:46:42 xxx before-queue[17423]: call_handlers: DEFER during call '/usr/local/psa/handlers/info/05-grey-Tw58FY/executable' handler
    Apr 26 09:46:42 xxx before-queue[17423]: call_handlers: stop call handlers from dir '/usr/local/psa/handlers/before-queue/global'
     
  9. openairhoster2

    openairhoster2 New Pleskian

    20
     
    Joined:
    Sep 17, 2009
    Messages:
    24
    Likes Received:
    0
    Unfortunately, mchk --with-spam didn't help ...
     
  10. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Guys, thank you for provided logs and details. I have forwarded it to developers for the further investigation. I will update this thread with results.
     
  11. openairhoster2

    openairhoster2 New Pleskian

    20
     
    Joined:
    Sep 17, 2009
    Messages:
    24
    Likes Received:
    0
    Hi Charlie,

    I was advised to stop mail service during mchk --with-spam, that's the downtime. On the server I am talking about, this take about 20 minutes. But of course this can depend on server hardware, number of mailboxes, etc. Maybe some configuration, too. I have no experience with this.

    But as noted, mchk --with-spam doesn't help here, anyway

     
  12. charliem

    charliem Guest

    0
     
    Thanks,

    Nice that someone has tried to help.

    Unfortunately I have been forced to start the process of having cpanel installed on all my servers as there is no way Pleask is tenable now. You should see my thread, it took 6 days for Igor to even tell me what he needed in order to help me. Unfortunately he is a sarcastic, unhelpful individual with poor communication skills. Faced with that, the fact that the only route to get help is to pay for it and the fact that the software has not worked in an even slightly usable manor in 3 upgrades has forced my hand here.

    Thanks anyway!
     
  13. openairhoster2

    openairhoster2 New Pleskian

    20
     
    Joined:
    Sep 17, 2009
    Messages:
    24
    Likes Received:
    0
    So ... is there any solution to this problem?
     
  14. oscarf

    oscarf Guest

    0
     
    Same problem here after upgrade to 9.5.1 on CentOS
    The problem it`s greylist
    call_handlers: DEFER
    call_handlers: DEFER

    Solution?
     
  15. karesmakro

    karesmakro Guest

    0
     
    Same problem to me using plesk 9.5.1 on debian etch 64bit!
    Trying to send an email to locally existing mal account leads to a deffered/greylisted message, which should not ever happens!
    Sending to non locally existing mail accounts is working correct!

    I make thoughts about to plan legal actions, to get my money back for licences and for my customers I lost, all my lost time I spent for getting a working system, all my frustration and anger, which stops me to make useful work and earn money. I'm also a provider, developper and supporter for open source software, but never saw anything like this!

    You can believe me, I'm more than frustrated and my next step is to migrate to an other system, as I posted in another thread earlier, if I find time!

    - postfix queue file write error
    - greylisting failes
    - horde failes

    what is your next surprise?

    I love plesk :ironic:
     
  16. nixxnutz

    nixxnutz New Pleskian

    15
    60%
    Joined:
    Apr 23, 2010
    Messages:
    3
    Likes Received:
    0
    Same problem here after upgrade to 9.5.1 on Debian Lenny 5.0
     
  17. karesmakro

    karesmakro Guest

    0
     
    After some experiments,
    I used postfix-queue file from Dec 10. 2009 (I think, it's from Plesk 9.2.3) and all went o.k. until now!

    -rwxr-xr-x 1 popuser root 89K 2009-12-10 07:27 postfix-queue

    since 16h no greylisting problems and no queue file write error so far

    whether postfix-queue file from 9.5.1, nor 9.3, nor Plesk patch file was working
     
  18. ISSchuster

    ISSchuster New Pleskian

    22
    57%
    Joined:
    Dec 28, 2008
    Messages:
    13
    Likes Received:
    0
    Same problem here - Debian 5 / 32bit...

    @IgorG: Seems that Parallels is not really interested in solving this problems... It's unbelievable that developers are not able to provide a fix within one week...
     
  19. openairhoster2

    openairhoster2 New Pleskian

    20
     
    Joined:
    Sep 17, 2009
    Messages:
    24
    Likes Received:
    0
    We are all hostages of Parallels.

     
  20. openairhoster2

    openairhoster2 New Pleskian

    20
     
    Joined:
    Sep 17, 2009
    Messages:
    24
    Likes Received:
    0
    karesmakro,
    do you know how one can the postfix-queue from 9.2.3.? I can download the plesk package 9.2.3, but it contains a lot of directories and debian packages. In which of them would I find postfix-queue?

     
Loading...