1

Topic: status postfix@-.service failed, cant sent mail

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.7.1 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer? iRedMail.sh script
- Linux/BSD distribution name and version: Ubuntu 24.04.1 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Free version
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Dear all,

this is my error,

root@mail:# systemctl status postfix@-.service
× postfix@-.service - Postfix Mail Transport Agent (instance -)
     Loaded: loaded (/usr/lib/systemd/system/postfix@.service; enabled-runtime; preset: enabled)
     Active: failed (Result: exit-code) since Tue 2024-12-17 02:19:24 UTC; 5min ago
       Docs: man:postfix(1)
    Process: 6587 ExecStartPre=/usr/lib/postfix/configure-instance.sh - (code=exited, status=1/FAILURE)
        CPU: 66ms

logs :

2024-12-17T02:10:12.646494+00:00 mail systemd[1]: Starting postfix.service - Postfix Mail Transport Agent...
2024-12-17T02:10:12.647457+00:00 mail systemd[1]: Finished postfix.service - Postfix Mail Transport Agent.
2024-12-17T02:10:31.169644+00:00 mail systemd[1]: Starting postfix@-.service - Postfix Mail Transport Agent (instance -)...
2024-12-17T02:10:31.235102+00:00 mail systemd[1]: postfix@-.service: Control process exited, code=exited, status=1/FAILURE
2024-12-17T02:10:31.235216+00:00 mail systemd[1]: postfix@-.service: Failed with result 'exit-code'.
2024-12-17T02:10:31.235426+00:00 mail systemd[1]: Failed to start postfix@-.service - Postfix Mail Transport Agent (instance -).

root@mail:# systemctl --failed
  UNIT              LOAD   ACTIVE SUB    DESCRIPTION
● postfix@-.service loaded failed failed Postfix Mail Transport Agent (instance -)

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: status postfix@-.service failed, cant sent mail

The service name is just "postfix", not "postfix@" or "postfix@<something>".

3 (edited by yusuf.effendi 2024-12-17 12:00:45)

Re: status postfix@-.service failed, cant sent mail

this is status systemctl failed

root@mail:~# systemctl --failed
  UNIT                     LOAD   ACTIVE SUB    DESCRIPTION
● postfix@-.service loaded failed failed    Postfix Mail Transport Agent (instance -)

status postfix runing....

root@mail:~# systemctl status postfix
● postfix.service - Postfix Mail Transport Agent
     Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; preset: enabled)
    Drop-In: /etc/systemd/system/postfix.service.d
             └─10-start_limit_interval.conf
     Active: active (exited) since Tue 2024-12-17 02:43:32 UTC; 1h 15min ago
       Docs: man:postfix(1)
    Process: 16955 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
   Main PID: 16955 (code=exited, status=0/SUCCESS)
        CPU: 718us

4

Re: status postfix@-.service failed, cant sent mail

you can run
# postfix check
to see if any typo in configuration

5

Re: status postfix@-.service failed, cant sent mail

chris.23lo wrote:

you can run
# postfix check
to see if any typo in configuration

postfix check (no answer) = configuration ok