Email module problem

Discussion in 'Installation/Configuration' started by I. Teleki, Jul 6, 2024.

  1. I. Teleki

    I. Teleki New Member

    Hello there!

    I've got a problem with my ISPConfig Version: 3.2.12
    On the "Email" page, theres no visible configuration possibility:
    upload_2024-7-6_11-57-59.png

    I can provide the HTF report file here:
    Code:
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Debian GNU/Linux 12 (bookworm)
    
    [INFO] uptime:  11:40:45 up 110 days, 22:29, 16 users,  load average: 0.12, 0.08, 0.02
    
    [INFO] memory:
                   total        used        free      shared  buff/cache   available
    Mem:           5.8Gi       4.6Gi       915Mi       258Mi       816Mi       1.2Gi
    Swap:             0B          0B          0B
    
    [INFO] systemd failed services status:
      UNIT                   LOAD      ACTIVE SUB    DESCRIPTION
    ● certbot.service        loaded    failed failed Certbot
    ● networking.service     loaded    failed failed Raise network interfaces
    ● nextpvr-server.service not-found failed failed nextpvr-server.service
    ● postgrey.service       loaded    failed failed Postfix greylisting policy server
    
    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.
    4 loaded units listed.
    
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.2.11p2
    
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 8.2.18
    [INFO] php-cgi (used for cgi php in default vhost!) is version 8.2.18
    
    ##### PORT CHECK #####
    
    
    ##### MAIL SERVER CHECK #####
    
    [WARN] I found no "smtps" entry in your postfix master.cf
    [INFO] this is not critical, but if you want to offer SSL for smtp (not TLS) connections you have to enable this.
    
    ##### RUNNING SERVER PROCESSES #####
    
    [INFO] I found the following web server(s):
            Apache 2 (PID 60709)
    [INFO] I found the following mail server(s):
            Unknown process (smtpd) (PID 305511)
    [INFO] I found the following pop3 server(s):
            Dovecot (PID 331062)
    [INFO] I found the following imap server(s):
            Dovecot (PID 331062)
    [INFO] I found the following ftp server(s):
            PureFTP (PID 331263)
    
    ##### LISTENING PORTS #####
    (only           ()
    Local           (Address)
    [localhost]:6379                (2212729/redis-serve)
    [localhost]:11211               (2219518/memcached)
    [localhost]:11333               (330986/rspamd:)
    [localhost]:11332               (330986/rspamd:)
    [localhost]:11334               (330986/rspamd:)
    [anywhere]:443          (60709/apache2)
    [anywhere]:465          (330977/master)
    [anywhere]:25           (305511/smtpd)
    [anywhere]:21           (331263/pure-ftpd)
    [anywhere]:22           (495/sshd:)
    [anywhere]:110          (331062/dovecot)
    [anywhere]:80           (60709/apache2)
    [anywhere]:143          (331062/dovecot)
    [anywhere]:993          (331062/dovecot)
    [anywhere]:995          (331062/dovecot)
    ***.***.***.***:53              (2231114/named)
    ***.***.***.***:53              (2231114/named)
    ***.***.***.***:53              (2231114/named)
    ***.***.***.***:53              (2231114/named)
    [anywhere]:587          (330977/master)
    [localhost]:53          (2231114/named)
    [localhost]:53          (2231114/named)
    [localhost]:53          (2231114/named)
    [localhost]:53          (2231114/named)
    ***.***.***.***:8000            (1308012/wgrest)
    [anywhere]:3306         (330552/mariadbd)
    [anywhere]:8096         (1034794/jellyfin)
    [anywhere]:8081         (60709/apache2)
    [anywhere]:8080         (60709/apache2)
    [localhost]:953         (2231114/named)
    [localhost]:953         (2231114/named)
    [localhost]:953         (2231114/named)
    [localhost]:953         (2231114/named)
    ***.***.***.***:53              (2231114/named)
    ***.***.***.***:53              (2231114/named)
    ***.***.***.***:53              (2231114/named)
    ***.***.***.***:53              (2231114/named)
    *:*:*:*::*:465          (330977/master)
    *:*:*:*::*:25           (305511/smtpd)
    *:*:*:*::*:21           (331263/pure-ftpd)
    *:*:*:*::*:22           (495/sshd:)
    [localhost]10           (331062/dovecot)
    [localhost]43           (331062/dovecot)
    *:*:*:*::*:993          (331062/dovecot)
    *:*:*:*::*:995          (331062/dovecot)
    *:*:*:*::*:587          (330977/master)
    *:*:*:*::*:3306         (330552/mariadbd)
    *:*:*:*::*:953          (2231114/named)
    *:*:*:*::*:953          (2231114/named)
    *:*:*:*::*:953          (2231114/named)
    *:*:*:*::*:953          (2231114/named)
    
    
    
    
    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    f2b-postfix-sasl  6    --  [anywhere]/0            [anywhere]/0            multiport dports 25
    f2b-pure-ftpd  6    --  [anywhere]/0            [anywhere]/0            multiport dports 21
    f2b-sshd   6    --  [anywhere]/0            [anywhere]/0            multiport dports 22
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    DOCKER-USER  0    --  [anywhere]/0            [anywhere]/0
    DOCKER-ISOLATION-STAGE-1  0    --  [anywhere]/0            [anywhere]/0
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0            ctstate RELATED,ESTABLISHED
    DOCKER     0    --  [anywhere]/0            [anywhere]/0
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0
    
    
    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    f2b-postfix-sasl  6    --  [anywhere]/0            [anywhere]/0            multiport dports 25
    f2b-pure-ftpd  6    --  [anywhere]/0            [anywhere]/0            multiport dports 21
    f2b-sshd   6    --  [anywhere]/0            [anywhere]/0            multiport dports 22
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    DOCKER-USER  0    --  [anywhere]/0            [anywhere]/0
    DOCKER-ISOLATION-STAGE-1  0    --  [anywhere]/0            [anywhere]/0
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0            ctstate RELATED,ESTABLISHED
    DOCKER     0    --  [anywhere]/0            [anywhere]/0
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0
    ACCEPT     0    --  [anywhere]/0            [anywhere]/0
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    
    Chain DOCKER (1 references)
    target     prot opt source               destination
    
    Chain DOCKER-ISOLATION-STAGE-1 (1 references)
    target     prot opt source               destination
    DOCKER-ISOLATION-STAGE-2  0    --  [anywhere]/0            [anywhere]/0
    RETURN     0    --  [anywhere]/0            [anywhere]/0
    
    Chain DOCKER-ISOLATION-STAGE-2 (1 references)
    target     prot opt source               destination
    DROP       0    --  [anywhere]/0            [anywhere]/0
    RETURN     0    --  [anywhere]/0            [anywhere]/0
    
    Chain DOCKER-USER (1 references)
    target     prot opt source               destination
    RETURN     0    --  [anywhere]/0            [anywhere]/0
    
    Chain f2b-postfix-sasl (1 references)
    target     prot opt source               destination
    REJECT     0    --  ***.***.***.***         [anywhere]/0            reject-with icmp-port-unreachable
    RETURN     0    --  [anywhere]/0            [anywhere]/0
    
    Chain f2b-pure-ftpd (1 references)
    target     prot opt source               destination
    RETURN     0    --  [anywhere]/0            [anywhere]/0
    
    Chain f2b-sshd (1 references)
    target     prot opt source               destination
    REJECT     0    --  ***.***.***.***        [anywhere]/0            reject-with icmp-port-unreachable
    RETURN     0    --  [anywhere]/0            [anywhere]/0
    
    
    
    
    ##### LET'S ENCRYPT #####
    [WARN] You have both certbot and acme.sh installed. This can lead to problems.
    Certbot: /usr/bin/letsencrypt
    acme.sh: /root/.acme.sh/acme.sh
    
    What can I do, can you help me please?

    Thanks in advance.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You dod not describe when this happened, is this a fresh installation or did you used it for some time, and what did you change in the configuration manually which caused the issue.

    Your screenshots show PHP code, so there must be an issue with your PHP configuration, or the files got manually edited.

    Possible reasons are that you either changed something in the php.ini file globally, which causes this and prevents PHP from getting parsed correctly, or you changed code files from ISPConfig, or you created a global alias for /mail instead of /webmail for an email client.

    Besides that, you can aly try to update ISPConfig is the issue was caused by manual editing you made in one of the ISPConfig code files.
     
  3. I. Teleki

    I. Teleki New Member

    Hello Till!
    Thanks for your reply. This is indeed a new install. Everything besides the Email works fine. I didn't edit the php files.
    As for your advice, I tried "ispconfig_update.sh --force" and updated everything. Then I reconfigured the php.ini file with the debian standard one. I also checked in the apache2 config, there's indeed the 000-ispconfig.vhost file which contains an "/mail" alias. I did change that and restarted apache2 service, but the result is the same.

    As for the problem, to be a little more specific. Some submenus work, so for example the "Email Forward" menu works:
    upload_2024-7-6_12-33-37.png

    But the following three menus don't work:
    - Domain
    - Domain Alias
    - Email Alias

    I tried to look at the logs, too, but without any luck.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    But if this is a new install, how is it possible that your system runs services on ports not belonging to an ISPConfig setup? Any new install must be started from an empty system, as mentioned in the prerequisites of the install guides. So my guess is you did not start from a completely empty server, and your PHP was already installed and configured, and this is why it fails now.

    To your issue, its something wrong with your PHP setup which does not seem to parse all PHP files
     
    ahrasis likes this.
  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    On the HTF report I can read:
    Code:
    ##### LET'S ENCRYPT #####
    [WARN] You have both certbot and acme.sh installed. This can lead to problems.
    Certbot: /usr/bin/letsencrypt
    acme.sh: /root/.acme.sh/acme.sh
    The system seems a bit messy.
    Perhaps best way is to install ISPConfig again, starting from an empty server and following the instructions in https://www.howtoforge.com/ispconfig-autoinstall-debian-ubuntu/
     

Share This Page