Author Topic: Job for postfix.service failed  (Read 27 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Job for postfix.service failed
« on: August 04, 2020, 06:38:36 PM »
Hello, m using CWP-pro

Postfix Mail Server has been stopped and when i try to start it shows me an error

Code: [Select]
Job for postfix.service failed because the control process exited with error code. See "systemctl status postfix.service" and "journalctl -xe" for details.

tried to fix it with
Code: [Select]
touch /etc/postfix/postfix-files
and
Code: [Select]
nano /etc/postfix/main.cfadded below code on top of the file
Code: [Select]
meta_directory = /usr/share/postfixand tried to start Postfix with below command
Code: [Select]
systemctl start postfix
it still throwing same error.

here are the details:
Code: [Select]
systemctl status postfix.service
Quote
postfix.service - Postfix Mail Transport Agent
   Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2020-08-04 20:29:36 CEST; 11s ago
  Process: 8854 ExecStart=/usr/sbin/postfix start (code=exited, status=1/FAILURE)
  Process: 8850 ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=0/SUCCESS)
  Process: 8846 ExecStartPre=/usr/libexec/postfix/aliasesdb (code=exited, status=0/SUCCESS)
 Main PID: 1204 (code=killed, signal=TERM)

Aug 04 20:29:35 vmi379050.contaboserver.net systemd[1]: Starting Postfix Mail...
Aug 04 20:29:35 vmi379050.contaboserver.net postfix[8854]: warning: valid_hos...
Aug 04 20:29:35 vmi379050.contaboserver.net postfix[8854]: fatal: file /etc/p...
Aug 04 20:29:36 vmi379050.contaboserver.net systemd[1]: postfix.service: cont...
Aug 04 20:29:36 vmi379050.contaboserver.net systemd[1]: Failed to start Postf...
Aug 04 20:29:36 vmi379050.contaboserver.net systemd[1]: Unit postfix.service ...
Aug 04 20:29:36 vmi379050.contaboserver.net systemd[1]: postfix.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
.
Code: [Select]
journalctl -xe
.
Quote
Aug 04 20:36:01 vmi379050.contaboserver.net crond[541]: sendmail: fatal: file /e
Aug 04 20:36:01 vmi379050.contaboserver.net postfix/sendmail[10863]: fatal: file
Aug 04 20:36:01 vmi379050.contaboserver.net CROND[10855]: (slashub) MAIL (mailed
                                                          )
Aug 04 20:36:01 vmi379050.contaboserver.net CROND[10854]: (slashub) MAIL (mailed
                                                          )
Aug 04 20:36:01 vmi379050.contaboserver.net CROND[10852]: (slashub) MAIL (mailed
                                                          )
Aug 04 20:36:01 vmi379050.contaboserver.net CROND[10853]: (slashub) MAIL (mailed
                                                          )
Aug 04 20:36:02 vmi379050.contaboserver.net systemd[1]: Removed slice User Slice
-- Subject: Unit user-1000.slice has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit user-1000.slice has finished shutting down.
Aug 04 20:36:04 vmi379050.contaboserver.net kernel: Firewall: *TCP_IN Blocked* I
Aug 04 20:36:08 vmi379050.contaboserver.net kernel: Firewall: *TCP_IN Blocked* I
Aug 04 20:36:10 vmi379050.contaboserver.net kernel: Firewall: *TCP_IN Blocked* I
Aug 04 20:36:12 vmi379050.contaboserver.net kernel: Firewall: *TCP_IN Blocked* I
Aug 04 20:36:23 vmi379050.contaboserver.net kernel: Firewall: *TCP_IN Blocked* I
Aug 04 20:36:33 vmi379050.contaboserver.net kernel: Firewall: *TCP_IN Blocked* I
Aug 04 20:36:41 vmi379050.contaboserver.net kernel: Firewall: *TCP_IN Blocked* I
lines 2027-2049/2049 (END)