Mail is not responding

NethServer Version: NS8
Module: Mail Version 1.7.11

A user reported issues with the email client.

At first, I suspected a certificate problem.

However, upon checking, it turned out that the DNS and TLS were working correctly, but the SMTP service was not responding.

My attempt to get to the bottom of it was clearly misguided.

root@ns-srv01:~# runagent -m mail2 systemctl status postfix
Unit postfix.service could not be found.

What should I do? Even restarting the computer hasn’t solved the problem.

Strangely enough, test emails arrive in other accounts and can be replied to.

Best regards, MArko

From here SMTP is reachable.

Maybe CrowdSec is blocking the users IP?

It’s a user service:

runagent -m mail2 systemctl --user status postfix

I will check crwodsec.

root@ns-srv01:~# runagent -m mail2 systemctl --user status postfix
● postfix.service - Postfix MTA/MSA server
     Loaded: loaded (/home/mail2/.config/systemd/user/postfix.service; enabled; preset: enabled)
     Active: active (running) since Mon 2026-04-20 16:40:07 CEST; 35min ago
    Process: 3477 ExecStartPre=/bin/rm -f /run/user/1004/postfix.pid /run/user/1004/postfix.ctr-id (code=exited, st>
    Process: 3478 ExecStartPre=/bin/mkdir -vp pcdb (code=exited, status=0/SUCCESS)
    Process: 3479 ExecStartPre=runagent discover-services (code=exited, status=0/SUCCESS)
    Process: 3510 ExecStart=/usr/bin/podman run --detach --conmon-pidfile=/run/user/1004/postfix.pid --cidfile=/run>
    Process: 5295 ExecReload=runagent discover-services (code=exited, status=0/SUCCESS)
    Process: 5299 ExecReload=bash -c cd tls-certs ; umask 177 ; cat server.key server.pem > fullchain.pem ; touch ->
    Process: 5301 ExecReload=runagent /usr/bin/podman exec --env-file=discovery.env --env=POSTFIX_* postfix reload->
   Main PID: 3555 (conmon)
      Tasks: 1 (limit: 9483)
     Memory: 15.3M
        CPU: 2.137s
     CGroup: /user.slice/user-1004.slice/user@1004.service/app.slice/postfix.service
             └─3555 /usr/bin/conmon --api-version 1 -c 1345019439dec31767fe85016ea9274fd1213d21c22a384ebcf7d05e2a40>

Apr 20 16:40:07 ns-srv01 podman[3510]: 2026-04-20 16:40:07.803540999 +0200 CEST m=+2.452184580 container start 1345>
Apr 20 16:40:07 ns-srv01 postfix[3510]: 1345019439dec31767fe85016ea9274fd1213d21c22a384ebcf7d05e2a400241
Apr 20 16:40:07 ns-srv01 systemd[3374]: Started postfix.service - Postfix MTA/MSA server.
Apr 20 16:40:09 ns-srv01 postfix[3555]: postfix/postlog: starting the Postfix mail system
Apr 20 16:55:58 ns-srv01 systemd[3374]: Reloading postfix.service - Postfix MTA/MSA server...
Apr 20 16:55:59 ns-srv01 postfix[5295]: systemctl --user --quiet is-enabled clamav.service
Apr 20 16:55:59 ns-srv01 podman[5301]: 2026-04-20 16:55:59.418277726 +0200 CEST m=+0.069310734 container exec 13450>

The validator had a glitch, but is now working perfectly again.