Author Topic: hostname and postfix config borked  (Read 6727 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
hostname and postfix config borked
« on: January 29, 2018, 04:50:30 AM »
Hi Guys,
Thought I'd give feedback on my first use of CWP.
Very straight forward, excellent install instructions and simple install process.
Now, here's the grief.
#1 hostname borked.
As part of the install instructions you set your hostname and reboot. After reboot I had my new hostname, and proceeded with downloading and running the install script.
After the installer rebooted the PC and my hostname is back to localhost.localdomain.
#2 postfix config borked.
I ran through the install on a Centos 7.1708 minimal install.
Install steps used / followed: http://centos-webpanel.com/installation-instructions
After the install, when viewing the postfix config file: /etc/postfix/main.cf, there's a configuration option soft_bounce=yes. Please note that setting this will force failed emails to be retried forever with no timeout or expiry. For example an email to an address that doesn't exist, a resend attempt will be made over and over, instead of sending the NDR back to the original sender. This will go on for weeks until someone notices and does something about it. Either the receiving party blocks your IP or you run out of disk space due to log build up.

Anyway, thought I'd share in the hope that the product can be improved. Spammers use these sorts of products and they tend not to not have the most up-to-date records, nor give a hoot about things like never-ending-email-resends. Removing that config option (the postfix default is soft_bounce=no) will result in that much less bandwidth getting wasted.

Offline
*
Re: hostname and postfix config borked
« Reply #1 on: January 30, 2018, 07:29:46 AM »
OK, I've done some more digging on the soft_bounce=yes issue and it has been around since at least Feburary 2017, see here for a great example of the end results: http://forum.centos-webpanel.com/postfix/please-help-my-server-keep-try-to-sending-spam/

The offending config is in the file downloaded from the install script here: http://dl1.centos-webpanel.com/files/mail/el7/mail_server.zip
This is downloaded to / and extracted, overwriting the etc/postfix/main.cf file with a config that has soft_bounce=yes.

Would love to see this file updated to a more internet-friendly version.

Offline
*
Re: hostname and postfix config borked
« Reply #2 on: February 13, 2018, 11:44:38 PM »
tnx for reporting, this has been fixed!



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