ISPConfig 3 Installation - Postfix queue stuck

Discussion in 'Installation/Configuration' started by andrew971218, Jul 5, 2011.

  1. andrew971218

    andrew971218 New Member

    Dear all,

    I've installed ISPConfig 3 over the past month. It works at first, but I then found with the following problem:
    (conversation with 127.0.0.1[127.0.0.1] timed out while receiving the initial server greeting)

    It always shown up in the queue.

    I've Googled for this issue, and try almost all solutions in the first two pages, but it just failed again and again.

    Any idea?
     
  2. andrew971218

    andrew971218 New Member

    Sorry! I forgot to include my details:
    OS: Debian Lenny
    Postfix + Amavis + Spamd
     
  3. falko

    falko Super Moderator

    What's the output of
    Code:
    netstat -tap
    ?

    Are there any errors in your mail log?
     
  4. andrew971218

    andrew971218 New Member

    The output of that is
    And the mail log just show the same thing: deferred because of conversation with 127.0.0.1[127.0.0.1] timed out while receiving the initial server greeting

    Thanks.
     
  5. falko

    falko Super Moderator

    Have you tried to restart Postfix and amavisd?

    Are there any other errors in your mail log?
     
  6. Toucan

    Toucan New Member

    I had almost the same problem yesterday. It has only happened before when the server was under a high load because of a batch of emails going out from a mailing site.

    /etc/init.d/amavis restart

    kicked it back to life


    see post:
    http://www.howtoforge.com/forums/showthread.php?t=51902
     
    Last edited: Jul 8, 2011
  7. andrew971218

    andrew971218 New Member

    Yes, both tried to restart.

    I just take a look at the log, and found:
    Jul 9 21:08:27 server postfix/scache[21557]: statistics: start interval Jul 9 20:58:27
    Jul 9 21:08:27 server postfix/scache[21557]: statistics: domain lookup hits=0 miss=2 success=0%
    Jul 9 21:08:27 server postfix/scache[21557]: statistics: address lookup hits=0 miss=2 success=0%

    Will it helps?
     
  8. falko

    falko Super Moderator

    Does it work now, or are there any other error messages in your mail log?
     
  9. andrew971218

    andrew971218 New Member

    No, it still failed.

    No other error message for Postfix. Do you need error message while loading the amavis?
     
  10. falko

    falko Super Moderator

    That might help. MAybe you can also post the output of
    Code:
    netstat -tap
    again?
     
  11. andrew971218

    andrew971218 New Member

    The output for netstat -tap is as follows:
     
  12. falko

    falko Super Moderator

    What about the amavisd error messages?

    What makes me wonder is this line:
    Code:
    tcp 0 0 *:smtp *:* LISTEN 21583/[COLOR="Red"]smtpd[/COLOR]
    If you have Postfix running on port 25, it should read
    Code:
    tcp 0 0 *:smtp *:* LISTEN 21583/[COLOR="Red"]master[/COLOR]
    Do you maybe have another daemon running on port 25?
     
  13. andrew971218

    andrew971218 New Member

    The log for amavis restart is as follows (extracted from mail log):
    It seems to be quite wired. A lots of things NOT loaded! Is this the problem?

    By the way, I won't expect anything other than postfix and smtp to be in port 25. So I'm not sure about what you've talked about.
     
    Last edited: Jul 12, 2011
  14. falko

    falko Super Moderator

    The amavisd log looks ok.

    Is it possible that you have another smtp daemon (sendmail, Exim) running on port 25?
     
  15. andrew971218

    andrew971218 New Member

    I should say it might happen. But the function of sending mail works at first, but after some moment, it down. Sendmail might automatically started itself though.

    I've deleted sendmail and stopped it. It seems to be working now. I've keep an eye on it and notify it about the updates.
     
  16. andrew971218

    andrew971218 New Member

    Oh no! The postfix now still showed things like that:
    5A7171DEC09A: to=, orig_to=, relay=127.0.0.1[127.0.0.1]:10024, delay=136057, delays=135757/0.01/300/0, dsn=4.4.2, status=deferred (conversation with 127.0.0.1[127.0.0.1] timed out while receiving the initial server greeting)
     
  17. falko

    falko Super Moderator

    I guess your amavisd is down. Please restart it.

    How much memory does your system have? Maybe you have all these problems because you don't have enough RAM.
     
  18. andrew971218

    andrew971218 New Member

    Yes, I restarted amavis now. But it still doesn't work out.

    P.S. My memory have 768MB.
     
  19. falko

    falko Super Moderator

    Can you increase memory somehow?
     
  20. andrew971218

    andrew971218 New Member

    I'm sorry but I'm afraid I cannot. Is there any other way to get postfix working again?
     

Share This Page