Author Topic: How to Rebuild Postfix Mail Server  (Read 62185 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Re: How to Rebuild Postfix Mail Server
« Reply #15 on: January 13, 2017, 06:21:04 AM »
in the cwp menu you have postfix manager where you can rebuild the mail server
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: How to Rebuild Postfix Mail Server
« Reply #16 on: January 13, 2017, 11:25:57 PM »
Thanks, but running Posfix is what I believed started the problem. The server has only been running for a couple of weeks, and I didn't have a problem right after installing the panel until I ran Posfix. I was hoping a set of commands would just let me remove and re-install the mail services to fix my problem.

Offline
*
Re: How to Rebuild Postfix Mail Server
« Reply #17 on: February 26, 2019, 11:37:01 PM »
mas @arifin @lexz

Try to keep amavis, clam and spamassasin running but let postfix bypass them all..
in mail.cf comment this line "content_filter = smtp-amavis:[127.0.0.1]:10024"
in master.cf comment this line "-o content_filter=smtp-amavis:127.0.0.1:10024"
restart postfix, will make it ignore both amavis, clam and spamassasin

then one by one enable them

do you want to say main.cf ??

Offline
*
Re: How to Rebuild Postfix Mail Server
« Reply #18 on: September 11, 2019, 06:18:03 PM »
Hello everyone,

I am using CWP on the fourth server, according to CloudLinux, and in this last installation I can not use option to recompile the mail server (MailServer Manager), the recompilation is interrupted and then the log is displayed with the errors, which are Below, I don't know what else to do.

log Installing DKIM & SPF

Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from CLN.
No Packages marked for removal
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from CLN.
Loading mirror speeds from cached hostfile
 * epel: mirror.ci.ifes.edu.br
Resolving Dependencies
-> Running transaction check
---> Package clamd.x86_64 0: 0.101.4-1.el7 will be installed
-> Processing Dependency: clamav-filesystem = 0.101.4-1.el7 for package: clamd-0.101.4-1.el7.x86_64
-> Processing Dependency: clamav-lib = 0.101.4-1.el7 for package: clamd-0.101.4-1.el7.x86_64
-> Finished Dependency Resolution
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from CLN.
Loading mirror speeds from cached hostfile
 * epel: mirror.ci.ifes.edu.br
Package opendkim-2.11.0-0.1.el7.x86_64 already installed and latest version
Package libopendkim-2.11.0-0.1.el7.x86_64 already installed and latest version
Package perl-Mail-DKIM-0.39-8.el7.noarch
Package perl-Mail-SPF-2.8.0-4.el7.noarch already installed and latest version
Resolving Dependencies
-> Running transaction check
---> Package clamd.x86_64 0: 0.101.4-1.el7 will be installed
-> Processing Dependency: clamav-filesystem = 0.101.4-1.el7 for package: clamd-0.101.4-1.el7.x86_64
-> Processing Dependency: clamav-lib = 0.101.4-1.el7 for package: clamd-0.101.4-1.el7.x86_64
---> Package pypolicyd-spf.noarch 0: 1.3.2-5.el7 will be installed
-> Processing Dependency: python-ipaddr for package: pypolicyd-spf-1.3.2-5.el7.noarch
-> Processing Dependency: python-pyspf for package: pypolicyd-spf-1.3.2-5.el7.noarch
-> Running transaction check
---> Package clamd.x86_64 0: 0.101.4-1.el7 will be installed
-> Processing Dependency: clamav-filesystem = 0.101.4-1.el7 for package: clamd-0.101.4-1.el7.x86_64
-> Processing Dependency: clamav-lib = 0.101.4-1.el7 for package: clamd-0.101.4-1.el7.x86_64
---> Package python-ipaddr.noarch 0: 2.1.11-2.el7 will be installed
---> Package python-pyspf.noarch 0: 2.0.11-5.el7 will be installed
-> Processing Dependency: python-pydns for package: python-pyspf-2.0.11-5.el7.noarch
-> Running transaction check
---> Package clamd.x86_64 0: 0.101.4-1.el7 will be installed
-> Processing Dependency: clamav-filesystem = 0.101.4-1.el7 for package: clamd-0.101.4-1.el7.x86_64
-> Processing Dependency: clamav-lib = 0.101.4-1.el7 for package: clamd-0.101.4-1.el7.x86_64
---> Package python-pydns.noarch 0: 2.3.6-2.el7 will be installed
-> Finished Dependency Resolution
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
You have a troubles with yum. Fix it before install!

Offline
***
Re: How to Rebuild Postfix Mail Server
« Reply #19 on: December 16, 2021, 11:45:49 PM »
Seems you have a problem in yum or RPM database.

Try:
https://www.tecmint.com/rebuild-corrupted-rpm-database-in-centos/

Regards,
Netino