Lock client causes a problem

Discussion in 'General' started by pkaresz11, Feb 5, 2024.

  1. pkaresz11

    pkaresz11 Member

    Hello,
    i locked a client in ISPConfig dashboard. This process causes a big problem with postfix. Nobody didn't send email on the server (too other clients) queue was full 600-800 mail to root e.t.c.. When i unlocked the client and sent "postqueue -f" the mails didn't send. Only a server reboot solved the problem. Do you have any idea?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Never seen that, locking a client disables just functions for this one clients, it does not affect others. You must look at the mail.log to find out why postfix stopped sending emails.
     
  3. pkaresz11

    pkaresz11 Member

    I think something happened with amavis. "connect to 127.0.0.1[127.0.0.1]:10024: Connection refused"
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, so amavis process died. So this was more likely a coincidence.
     
  5. pkaresz11

    pkaresz11 Member

    Last year was the same problem. I think it's not a coincidence
     
  6. pyte

    pyte Well-Known Member HowtoForge Supporter

    Next time you may have a look into these mails and see whats causing them to find the issue
     
  7. pkaresz11

    pkaresz11 Member

    I found in log:
    amavis[52266]: starting. /usr/sbin/amavisd-new at .webtronic.hu amavisd-new-2.11.0 (20160426), Unicode aware, LC_ALL="C", LANG="en_>
    amavis[52274]: Net::Server: Group Not Defined. Defaulting to EGID '129 129'
    amavis[52274]: Net::Server: User Not Defined. Defaulting to EUID '122'
    amavis[52274]: No $altermime, not using it
    amavis[52274]: No ext program for .lrz, tried: lrzip -q -k -d -o -, lrzcat -q -k
    amavis[52274]: No ext program for .rpm, tried: rpm2cpio.pl, rpm2cpio
    amavis[52274]: No ext program for .rar, tried: unrar-free
    amavis[52274]: No ext program for .zoo, tried: zoo
    amavis[52274]: No ext program for .doc, tried: ripole
    amavis[52274]: No ext program for .zip, tried: 7za, 7z
    amavis[52274]: No ext program for .kmz, tried: 7za, 7z
    amavis[52274]: No ext program for .7z, tried: 7zr, 7za, 7z
    amavis[52274]: No ext program for .jar, tried: 7z
    amavis[52274]: No ext program for .rar, tried: 7z
    amavis[52274]: No ext program for .swf, tried: 7z
    amavis[52274]: No ext program for .lha, tried: 7z
    amavis[52274]: No ext program for .iso, tried: 7z
    amavis[52274]: No ext program for .rpm, tried: 7z
    amavis[52274]: No decoder for .7z
    amavis[52274]: No decoder for .F
    amavis[52274]: No decoder for .doc
    amavis[52274]: No decoder for .iso
    amavis[52274]: No decoder for .jar
    amavis[52274]: No decoder for .lha
    amavis[52274]: No decoder for .lrz
    amavis[52274]: No decoder for .rar
    amavis[52274]: No decoder for .rpm
    amavis[52274]: No decoder for .swf
    amavis[52274]: No decoder for .zoo
    amavis[52274]: Using primary internal av scanner code for ClamAV-clamd
    amavis[52274]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan

    Is it the problem maybe?
     
  8. pyte

    pyte Well-Known Member HowtoForge Supporter

    I don't know about the mails but if you want to use amavis for scanning attachments you should install the neccesarry programs to perform these scan.

    You see the commands amavis is trying to use for each of the extensions listed. You need to install these tools to make it work.
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    No, that's a successful amavis start sequence. These programs are optional, if amavis finds them, it uses them, if they are not there, then they simply do not get used. These commands are only used to decode certain archive file formats to allow clamAV to scan the content, these are typically not installed, so that's all fine.
     
    pyte likes this.
  10. pkaresz11

    pkaresz11 Member

    Thanks!
    I still didn't find why stopped amavis and postfix therefore.
     

Share This Page