Since upgrade many odd mail problems - lost connection with 127.0.0.1

Discussion in 'ISPConfig 3 Priority Support' started by rob_morin, Feb 1, 2019.

  1. rob_morin

    rob_morin Member

    Feb 1 10:13:45 websites postfix/smtp[27740]: 1EA3D7EDCF: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.02, delays=0.01/0/0/0, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting)
    Odd messages in my mail,log file, cant receive mail now, seems like amavis is down even though i start it?

    Any help appreciated...
     
  2. rob_morin

    rob_morin Member

    and...

    Feb 1 10:17:27 websites postfix/error[28140]: 62C427EDD4: to=<[email protected]>, relay=none, delay=0.04, delays=0.03/0/0/0, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting)
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    What did you upgrade, the operating system?
     
  4. rob_morin

    rob_morin Member

    more...
    (!)DENIED ACCESS from IP 138.197.160.53, policy bank 'ORIGINATING'
     
  5. rob_morin

    rob_morin Member

    Monday... I upgrade ispconfig, since then weird stuff has been happening, cant pin it down.... its all random, but only affecting mail service
     
  6. rob_morin

    rob_morin Member

    it would seem amavis keeps dying ?? i stop and start it, i can telnet to that port then about 30 seconds later i cannot telnet anymore to that port and i get those errors in the logs ??
     
  7. rob_morin

    rob_morin Member

    and now...
    Feb 1 10:32:42 mx1 amavis[2546]: (02546-01) (!)WARN: all primary virus scanners failed, considering backups
    Feb 1 10:32:42 mx1 amavis[2547]: (02547-01) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: No such file or directory
    Feb 1 10:32:42 mx1 amavis[2547]: (02547-01) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (All attempts (1) failed connecting to /var/run/clamav/clamd.ctl) at (eval 115) line 613.
     
  8. rob_morin

    rob_morin Member

    So i rebooted and mail seems to work for the moment...
    but now i see for one domain "mail loops back to myself" 2box.ca my hostname is mx1.2box.ca and in postfix myhostname is that too...
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, so first start to check why clamav server is not running on your system anymore. try to start it and then check if it is running and if it does not start, then check the clamav logs to find out why.
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Ensure that the server hostname is also listed as myhostname in postfix main.cf and in the mydestination line in postfix main.cf.
     
  11. rob_morin

    rob_morin Member

    ok was not listed in mydestination in main.cf, i added it:

    [email protected]:/var/log/clamav# grep mydest /etc/postfix/main.cf
    mydestination = mx1.2box.ca localhost, localhost.localdomain

    [email protected]:/var/log/clamav# grep myhos /etc/postfix/main.cf
    myhostname = mx1.2box.ca

    [email protected]:/var/log/clamav# cat /etc/hostname
    mx1.2box.ca
     
  12. rob_morin

    rob_morin Member

    clam seems ok now after i restarted it, not sure why...
    I will keep an eye on it. Thanks for your help so far.. :)
     

Share This Page