Control Web Panel

WebPanel => Postfix => Topic started by: liviudiaconu85 on February 20, 2020, 09:33:16 AM

Title: Postfix not strat(cwp Pro)
Post by: liviudiaconu85 on February 20, 2020, 09:33:16 AM
good morning
After updating, my server has stopped working right.
I have no idea how to fix it.
Thanks greetings.


Code: [Select]
-- The start-up result is done.
Feb 20 10:30:23 prime.appnet.cf systemd[1]: Starting Postfix Mail Transport Agent...
-- Subject: Unit postfix.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit postfix.service has begun starting up.
Feb 20 10:30:23 prime.appnet.cf postfix[5902]: Postfix is running with backwards-compatible default settings
Feb 20 10:30:23 prime.appnet.cf postfix[5902]: See http://www.postfix.org/COMPATIBILITY_README.html for details
Feb 20 10:30:23 prime.appnet.cf postfix[5902]: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
Feb 20 10:30:23 prime.appnet.cf postfix[5902]: /usr/libexec/postfix/post-install: Error: /etc/postfix/postfix-files is not a file.
Feb 20 10:30:23 prime.appnet.cf postfix/postfix-script[5920]: fatal: unable to create missing queue directories
Feb 20 10:30:24 prime.appnet.cf postfix/postfix-script[5921]: fatal: Postfix integrity check failed!
Feb 20 10:30:24 prime.appnet.cf kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=00:50:56:3e:c8:01:28:99:3a:4d:23:91:08:00 SRC=185.232.30.130 DST=207.180.207.24 LEN=40 TOS=0x00 PREC=0x00 TTL=248 ID=46984 PROTO=TCP SPT=50355 DPT=29999 WINDOW=1024 RES=0x00 SYN URGP=0
Feb 20 10:30:25 prime.appnet.cf systemd[1]: postfix.service: control process exited, code=exited status=1
Feb 20 10:30:25 prime.appnet.cf systemd[1]: Failed to start Postfix Mail Transport Agent.
-- Subject: Unit postfix.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit postfix.service has failed.
--
-- The result is failed.
Feb 20 10:30:25 prime.appnet.cf systemd[1]: Unit postfix.service entered failed state.
Feb 20 10:30:25 prime.appnet.cf systemd[1]: postfix.service failed.
Title: Re: Postfix not strat(cwp Pro)
Post by: Gani Karaoğlu on February 20, 2020, 10:45:42 AM
Same problem after updating postfix from http://repos.oostergo.net/7/postfix-3.2/ (http://repos.oostergo.net/7/postfix-3.2/)

The file seems to be installed in /usr/share/postfix/ though, so a better solution than simply creating an empty file is probably to copy it to the location where post-install expects to find it:

cp -a /usr/share/postfix/postfix-files /etc/postfix/

Title: Re: Postfix not strat(cwp Pro)
Post by: liviudiaconu85 on February 20, 2020, 11:02:05 AM
Yes.. Is work
thanks
Title: Re: Postfix not strat(cwp Pro)
Post by: studio4host on February 20, 2020, 11:57:37 AM
the solution is:
touch /etc/postfix/postfix-files
Title: Re: Postfix not strat(cwp Pro)
Post by: Sandeep on February 20, 2020, 03:00:01 PM
search before posting
http://forum.centos-webpanel.com/index.php?topic=8316.msg28765;topicseen#msg28765