Solved - Email system error

Discussion in 'Installation/Configuration' started by Thilak, Sep 23, 2018.

  1. Thilak

    Thilak Member

    I have rebooted the server by removing additional domains added in mydomain of main.cf and sent a mail to the created mail id from another gmail. here is the result.
    IMAP/POP access is not showing any mails. Roundcube also showing 0 mails in inbox

    systemctl --state=failed result:

    UNIT LOAD ACTIVE SUB DESCRIPTION
    ● clamav-daemon.service loaded failed failed Clam AntiVirus userspace daemon
    ● fail2ban.service loaded failed failed Fail2Ban Service

    LOAD = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB = The low-level unit activation state, values depend on unit type.

    2 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.


    Mail.err:
    Sep 25 10:59:50 hosting spampd[1116]: 2018/09/25-10:59:50 Can't connect to TCP port 10025 on 127.0.0.1 [Address already in use]#012 at line 64 in file /usr/share/perl5/Net/Server/Proto/TCP.pm
    Sep 25 11:33:45 hosting amavis[1458]: (01458-01) (!!)AV: ALL VIRUS SCANNERS FAILED


    fuser -n tcp 10025 result:
    10025/tcp: 1043

    ps -ef | grep 1043 result:
    root 1043 1 0 10:59 ? 00:00:00 /usr/lib/postfix/sbin/master -w
    postfix 1054 1043 0 10:59 ? 00:00:00 pickup -l -t unix -u -c
    postfix 1055 1043 0 10:59 ? 00:00:00 qmgr -l -t unix -u
    postfix 1574 1043 0 11:00 ? 00:00:00 tlsmgr -l -t unix -u -c
    postfix 4892 1043 0 12:00 ? 00:00:00 anvil -l -t unix -u -c
    root 4960 4768 0 12:03 pts/0 00:00:00 grep --color=auto 1043


    netstat -ltnp result:
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 658/dovecot
    tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 658/dovecot
    tcp 0 0 127.0.0.1:10023 0.0.0.0:* LISTEN 878/postgrey --pidf
    tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN 1071/amavisd-new (m
    tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 1043/master
    tcp 0 0 127.0.0.1:10026 0.0.0.0:* LISTEN 1071/amavisd-new (m
    tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 809/mysqld
    tcp 0 0 127.0.0.1:10027 0.0.0.0:* LISTEN 1043/master
    tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 1043/master
    tcp 0 0 127.0.0.1:11211 0.0.0.0:* LISTEN 659/memcached
    tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 658/dovecot
    tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 658/dovecot
    tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 1043/master
    tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 952/pure-ftpd (SERV
    tcp 0 0 10.47.0.6:53 0.0.0.0:* LISTEN 640/named
    tcp 0 0 159.89.172.161:53 0.0.0.0:* LISTEN 640/named
    tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 640/named
    tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 496/systemd-resolve
    tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 734/sshd
    tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 1043/master
    tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 640/named
    tcp6 0 0 :::443 :::* LISTEN 854/apache2
    tcp6 0 0 :::993 :::* LISTEN 658/dovecot
    tcp6 0 0 :::995 :::* LISTEN 658/dovecot
    tcp6 0 0 ::1:10023 :::* LISTEN 878/postgrey --pidf
    tcp6 0 0 ::1:10024 :::* LISTEN 1071/amavisd-new (m
    tcp6 0 0 ::1:10026 :::* LISTEN 1071/amavisd-new (m
    tcp6 0 0 :::587 :::* LISTEN 1043/master
    tcp6 0 0 :::110 :::* LISTEN 658/dovecot
    tcp6 0 0 :::143 :::* LISTEN 658/dovecot
    tcp6 0 0 :::8080 :::* LISTEN 854/apache2
    tcp6 0 0 :::80 :::* LISTEN 854/apache2
    tcp6 0 0 :::465 :::* LISTEN 1043/master
    tcp6 0 0 :::8081 :::* LISTEN 854/apache2
    tcp6 0 0 :::21 :::* LISTEN 952/pure-ftpd (SERV
    tcp6 0 0 :::53 :::* LISTEN 640/named
    tcp6 0 0 :::22 :::* LISTEN 734/sshd
    tcp6 0 0 :::25 :::* LISTEN 1043/master
    tcp6 0 0 ::1:953 :::* LISTEN 640/named
     

    Attached Files:

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I start to believe that you did not use our installation instructions or you did not start with a clean system, in our instructions you are not told to add any domains in main.cf and also the software spampd which fails now is not installed on any ISPConfig system.
     
  3. Thilak

    Thilak Member

    I had followed this document to install using auto install script. Additional domain added to main.cf myself to troubleshoot mail error.
    I can rebuild my server. Any working linux distro is OK for me (Ubuntu or Debian). If you let me know which document to refer, I will rebuild the server and install from begenning. Because, I have not hosted any domains in that server till now due to this mail error.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The autoinstall script does not install spampd, so my guess is that your system was not a minimal / empty setup or you had a different controlpanel installed first.

    The official installation guides are listed on ISPConfig.org:

    https://www.ispconfig.org/documentation/

    For Debian, use e.g. this one:

    https://www.howtoforge.com/tutorial...-9-stretch-apache-bind-dovecot-ispconfig-3-1/

    and for Ubuntu use this one:

    https://www.howtoforge.com/tutorial...l-pureftpd-bind-postfix-doveot-and-ispconfig/

    It does not matter if you use Debian or Ubuntu, both work fine.
     
    Thilak likes this.
  5. Thilak

    Thilak Member

    Thank you dude, after reinstall everything the problem got solved. You saved me;)
     
  6. Thilak

    Thilak Member

    Is there any way to create the FTP account specific to a directory? I mean I want to give access to only single directory for my client inside his domain folder. Is it possible?
     
  7. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    You should start a new thread. That question has nothing to do with current thread.
    Could you in that new thread describe more what you want. Why would the client have directories he or she can not access?
     
  8. Thilak

    Thilak Member

    Sure. I will create new thread. Thank you
     

Share This Page