ich habe in cockpit gesehen, dass ich bei den Diensten eine Fehlermeldung habe.
"Failed to start Postfix Mail Transport Agent"
Wozu brauche ich einen Postfix Mail Transport agent
Was bedeutet die Fehlermeldung ? Wie kann ich das beheben ?
ich habe in cockpit gesehen, dass ich bei den Diensten eine Fehlermeldung habe.
"Failed to start Postfix Mail Transport Agent"
Wozu brauche ich einen Postfix Mail Transport agent
Was bedeutet die Fehlermeldung ? Wie kann ich das beheben ?
Mail Transfer Agent – Wikipedia
Der wird auch intern zum versenden von Systemmails benutzt.
Poste einmal ausgeführt als root:
linux-notebook:/home/peter # systemctl status postfix.service
× postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Thu 2026-05-07 18:48:40 CEST; 3h 20min ago
Invocation: d924a7da831a40429ff7bacc4b3ba004
Process: 1995 ExecStartPre=/bin/echo Starting mail service (Postfix) (code=exited, status=0/SUCCESS)
Process: 2000 ExecStartPre=/usr/bin/touch /var/spool/postfix/pid/master.pid (code=exited, status=0/SUCCESS)
Process: 2036 ExecStartPre=/sbin/restorecon -Rv /var/spool/postfix/pid/master.pid (code=exited, status=0/SUCCESS)
Process: 2051 ExecStartPre=/usr/lib/postfix/systemd/config_postfix (code=exited, status=0/SUCCESS)
Process: 2076 ExecStartPre=/usr/lib/postfix/systemd/update_chroot (code=exited, status=0/SUCCESS)
Process: 2100 ExecStartPre=/usr/lib/postfix/systemd/update_postmaps (code=exited, status=1/FAILURE)
Process: 2145 ExecStopPost=/usr/lib/postfix/systemd/cond_slp deregister (code=exited, status=0/SUCCESS)
CPU: 331ms
Mai 07 18:48:37 linux-notebook systemd[1]: Starting Postfix Mail Transport Agent...
Mai 07 18:48:37 linux-notebook echo[1995]: Starting mail service (Postfix)
Mai 07 18:48:38 linux-notebook update_postmaps[2116]: postconf: fatal: parameter inet_interfaces: no local interface found for ::1
Mai 07 18:48:39 linux-notebook update_postmaps[2100]: Not supported database
Mai 07 18:48:39 linux-notebook systemd[1]: postfix.service: Control process exited, code=exited, status=1/FAILURE
Mai 07 18:48:39 linux-notebook cond_slp[2147]: /usr/sbin/postconf: fatal: parameter inet_interfaces: no local interface found for ::1
Mai 07 18:48:40 linux-notebook systemd[1]: postfix.service: Failed with result 'exit-code'.
Mai 07 18:48:40 linux-notebook systemd[1]: Failed to start Postfix Mail Transport Agent.
linux-notebook:/home/peter #
Alles anzeigen
linux-notebook cond_slp[2147]: /usr/sbin/postconf: fatal: parameter inet_interfaces: no local interface found for ::1
Dann ist diese IP nicht gesetzt?
meine aktive IP Adresse geht über WLAN1
peter@linux-notebook:~> su
Passwort:
linux-notebook:/home/peter # ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: em1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether ec:f4:bb:03:b5:be brd ff:ff:ff:ff:ff:ff
altname eno1
altname enp0s25
altname enxecf4bb03b5be
3: wwp0s29u1u6i6: <BROADCAST,MULTICAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 92:bc:f1:83:35:60 brd ff:ff:ff:ff:ff:ff
4: wlan1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether e0:9d:31:02:92:70 brd ff:ff:ff:ff:ff:ff
altname wlp2s0
altname wlxe09d31029270
inet 192.168.2.218/24 brd 192.168.2.255 scope global wlan1
valid_lft forever preferred_lft forever
5: br-64ed8e9990b8: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
link/ether ce:21:68:c7:54:2c brd ff:ff:ff:ff:ff:ff
inet 172.18.0.1/16 brd 172.18.255.255 scope global br-64ed8e9990b8
valid_lft forever preferred_lft forever
6: br-2b87cb510561: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:12:f7:d0:d7:15 brd ff:ff:ff:ff:ff:ff
inet 172.19.0.1/16 brd 172.19.255.255 scope global br-2b87cb510561
valid_lft forever preferred_lft forever
7: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
link/ether fa:84:ab:40:04:9e brd ff:ff:ff:ff:ff:ff
inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
valid_lft forever preferred_lft forever
8: vethbe87ada@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-2b87cb510561 state UP group default
link/ether 5e:de:87:35:1b:9d br
Alles anzeigen
wie kann ich die Adresse für postfix ändern ? Ist es /etc/postfix/main.cf
Oder:
ich habe es gelöst durch Änderungen in /etc/postfix/main.cf
das Ergebnis
linux-notebook:/home/peter # systemctl status postfix.service
● postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; preset: enabled)
Active: active (running) since Fri 2026-05-08 09:09:22 CEST; 7s ago
Invocation: 7e630692d9cf4fd98040e24c4b0af565
Process: 7421 ExecStartPre=/bin/echo Starting mail service (Postfix) (code=exited, status=0/SUCCESS)
Process: 7423 ExecStartPre=/usr/bin/touch /var/spool/postfix/pid/master.pid (code=exited, status=0/SUCCESS)
Process: 7424 ExecStartPre=/sbin/restorecon -Rv /var/spool/postfix/pid/master.pid (code=exited, status=0/SUCCESS)
Process: 7426 ExecStartPre=/usr/lib/postfix/systemd/config_postfix (code=exited, status=0/SUCCESS)
Process: 7429 ExecStartPre=/usr/lib/postfix/systemd/update_chroot (code=exited, status=0/SUCCESS)
Process: 7431 ExecStartPre=/usr/lib/postfix/systemd/update_postmaps (code=exited, status=0/SUCCESS)
Process: 7449 ExecStart=/usr/sbin/postfix start (code=exited, status=0/SUCCESS)
Process: 7523 ExecStartPost=/usr/lib/postfix/systemd/wait_qmgr 60 (code=exited, status=0/SUCCESS)
Process: 7527 ExecStartPost=/usr/lib/postfix/systemd/cond_slp register (code=exited, status=0/SUCCESS)
Main PID: 7519 (master)
Tasks: 3 (limit: 9210)
CPU: 1.603s
CGroup: /system.slice/postfix.service
├─7519 /usr/lib/postfix/bin//master -w
├─7520 pickup -l -t fifo -u
└─7521 qmgr -l -t fifo -u
Mai 08 09:09:22 linux-notebook postfix[7524]: To disable backwards compatibility use "postconf compatibility_level=3.6" and "postfix reload"
Mai 08 09:09:22 linux-notebook cond_slp[7534]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: support for parameter "disable_dns_lookups" will be removed; instead, specify "smt>
Mai 08 09:09:22 linux-notebook cond_slp[7534]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: support for parameter "smtp_enforce_tls" will be removed; instead, specify "smtp_t>
Mai 08 09:09:22 linux-notebook cond_slp[7534]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: support for parameter "smtp_use_tls" will be removed; instead, specify "smtp_tls_s>
Mai 08 09:09:22 linux-notebook cond_slp[7534]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: support for parameter "smtpd_use_tls" will be removed; instead, specify "smtpd_tls>
Mai 08 09:09:22 linux-notebook systemd[1]: Started Postfix Mail Transport Agent.
Mai 08 09:09:22 linux-notebook cond_slp[7540]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: support for parameter "disable_dns_lookups" will be removed; instead, specify "smt>
Mai 08 09:09:22 linux-notebook cond_slp[7540]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: support for parameter "smtp_enforce_tls" will be removed; instead, specify "smtp_t>
Mai 08 09:09:22 linux-notebook cond_slp[7540]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: support for parameter "smtp_use_tls" will be removed; instead, specify "smtp_tls_s>
Mai 08 09:09:22 linux-notebook cond_slp[7540]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: support for parameter "smtpd_use_tls" will be removed; instead, specify "smtpd_tls>
...skipping...
● postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; preset: enabled)
Active: active (running) since Fri 2026-05-08 09:09:22 CEST; 7s ago
Invocation: 7e630692d9cf4fd98040e24c4b0af565
Process: 7421 ExecStartPre=/bin/echo Starting mail service (Postfix) (code=exited, status=0/SUCCESS)
Process: 7423 ExecStartPre=/usr/bin/touch /var/spool/postfix/pid/master.pid (code=exited, status=0/SUCCESS)
Process: 7424 ExecStartPre=/sbin/restorecon -Rv /var/spool/postfix/pid/master.pid (code=exited, status=0/SUCCESS)
Process: 7426 ExecStartPre=/usr/lib/postfix/systemd/config_postfix (code=exited, status=0/SUCCESS)
Process: 7429 ExecStartPre=/usr/lib/postfix/systemd/update_chroot (code=exited, status=0/SUCCESS)
Process: 7431 ExecStartPre=/usr/lib/postfix/systemd/update_postmaps (code=exited, status=0/SUCCESS)
Process: 7449 ExecStart=/usr/sbin/postfix start (code=exited, status=0/SUCCESS)
Process: 7523 ExecStartPost=/usr/lib/postfix/systemd/wait_qmgr 60 (code=exited, status=0/SUCCESS)
Process: 7527 ExecStartPost=/usr/lib/postfix/systemd/cond_slp register (code=exited, status=0/SUCCESS)
Main PID: 7519 (master)
Tasks: 3 (limit: 9210)
CPU: 1.603s
CGroup: /system.slice/postfix.service
├─7519 /usr/lib/postfix/bin//master -w
├─7520 pickup -l -t fifo -u
└─7521 qmgr -l -t fifo -u
Mai 08 09:09:22 linux-notebook postfix[7524]: To disable backwards compatibility use "postconf compatibility_level=3.6" and "postfix reload"
Mai 08 09:09:22 linux-notebook cond_slp[7534]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: support for parameter "disable_dns_lookups" will be removed; instead, specify "smt>
Mai 08 09:09:22 linux-notebook cond_slp[7534]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: support for parameter "smtp_enforce_tls" will be removed; instead, specify "smtp_t>
Mai 08 09:09:22 linux-notebook cond_slp[7534]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: support for parameter "smtp_use_tls" will be removed; instead, specify "smtp_tls_s>
Mai 08 09:09:22 linux-notebook cond_slp[7534]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: support for parameter "smtpd_use_tls" will be removed; instead, specify "smtpd_tls>
Mai 08 09:09:22 linux-notebook systemd[1]: Started Postfix Mail Transport Agent.
Mai 08 09:09:22 linux-notebook cond_slp[7540]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: support for parameter "disable_dns_lookups" will be removed; instead, specify "smt>
Mai 08 09:09:22 linux-notebook cond_slp[7540]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: support for parameter "smtp_enforce_tls" will be removed; instead, specify "smtp_t>
Mai 08 09:09:22 linux-notebook cond_slp[7540]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: support for parameter "smtp_use_tls" will be removed; instead, specify "smtp_tls_s>
Mai 08 09:09:22 linux-notebook cond_slp[7540]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: support for parameter "smtpd_use_tls" will be removed; instead, specify "smtpd_tls>
~
~
~
linux-notebook:/home/peter # postconf | grep smtp_bind_address
postconf: warning: /etc/postfix/main.cf: support for parameter "disable_dns_lookups" will be removed; instead, specify "smtp_dns_support_level"
postconf: warning: /etc/postfix/main.cf: support for parameter "smtp_use_tls" will be removed; instead, specify "smtp_tls_security_level"
postconf: warning: /etc/postfix/main.cf: support for parameter "smtp_enforce_tls" will be removed; instead, specify "smtp_tls_security_level"
postconf: warning: /etc/postfix/main.cf: support for parameter "smtpd_use_tls" will be removed; instead, specify "smtpd_tls_security_level"
smtp_bind_address = 192.2.168.218
smtp_bind_address6 =
smtp_bind_address_enforce = no
linux-notebook:/home/peter #
Alles anzeigen
Jetzt ist der Fehler für den Dienst auch in Cockpit weg und der Dienst läuft. Vermisst habe ich ihn bisher nicht
Schön das es funktioniert.
danke für Deine Hilfe