This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
271
CSF Firewall / Re: CSF Doesn't appear to be blocking ports?
« on: February 15, 2019, 02:54:03 AM »272
E-Mail / Re: How to configure SendGrid or use SMTP for CWP
« on: February 10, 2019, 02:02:35 AM »
That documentation says users must employ authenticated SMTP relay services, typically connected via TCP port 587 submission, or alike.
Are you configured this port in your CWP server..??
If no, to you enable port 587, edit the file /etc/postfix/master.cf
and remove the # in front of the line:
so that it looks like this:
and restart postfix:
[/code]
systemctl reload postfix
[/code]
So, you will have a submission authenticated port, to you use it.
Are you configured this port in your CWP server..??
If no, to you enable port 587, edit the file /etc/postfix/master.cf
Code: [Select]
nano /etc/postfix/master.cf
and remove the # in front of the line:
Code: [Select]
#submission inet n - n - - smtpd
so that it looks like this:
Code: [Select]
submission inet n - n - - smtpd
and restart postfix:
[/code]
systemctl reload postfix
[/code]
So, you will have a submission authenticated port, to you use it.
273
E-Mail / Re: How to configure SendGrid or use SMTP for CWP
« on: February 09, 2019, 01:44:56 AM »
What are you meaning by "Microsoft Azure is blocked by default and there is no way to change that"..??
The SMTP server in CWP is already configured by default, but the CWP server blocks not authorized relays, not apps.
Regards,
Netino
The SMTP server in CWP is already configured by default, but the CWP server blocks not authorized relays, not apps.
Regards,
Netino
274
Postfix / Re: Wordpress and Postfix Mail Server Problem
« on: February 09, 2019, 01:40:45 AM »
Seems you have problems with the permissions of the file '/etc/postfix/mysql-virtual_vacation.cf':
So, post your permissions of the file '/etc/postfix/mysql-virtual_vacation.cf' with the command:
Regards,
Netino
Code: [Select]
(...)
Feb 5 07:47:29 server postfix/postfix-script[19619]: warning: not owned by root: /etc/postfix/mysql-virtual_vacation.cf
(...)
So, post your permissions of the file '/etc/postfix/mysql-virtual_vacation.cf' with the command:
Code: [Select]
# stat /etc/postfix/mysql-virtual_vacation.cf
Regards,
Netino
275
Information / Re: I want to change the PHP version of only single domain
« on: February 09, 2019, 01:30:57 AM »
Please just let me know if I am wrong, but I am afraid that PHP for only one domain could work only with the Php-CGI version, not Php-FPM.
Has anyone managed to use Php-FPM per domain, and / or along with the feature of choosing versions per directory .. ??
Regards,
Netino
Has anyone managed to use Php-FPM per domain, and / or along with the feature of choosing versions per directory .. ??
Regards,
Netino
276
CentOS Configuration / Re: I can enable ip6 in server? how? For my sites opened in ip6
« on: February 08, 2019, 03:09:15 AM »
Add the following at final of your file '/etc/sysctl.conf':
And execute:
But *BEFORE* check you firewall is configured and enabled to catch ipv6 events.
Regards,
Netino
Code: [Select]
net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
net.ipv6.conf.lo.disable_ipv6 = 0
And execute:
Code: [Select]
# sysctl -p
But *BEFORE* check you firewall is configured and enabled to catch ipv6 events.
Regards,
Netino
277
CentOS 7 Problems / Re: Subdomain always pointing to subfolder
« on: February 08, 2019, 03:02:39 AM »
Yes.
What is your subdomain configuration..??
What is your subdomain configuration..??
278
How to / Re: How to change the default ports for admin login to only URL
« on: February 08, 2019, 03:01:24 AM »
I do not recommend to do it, unless you have your firewall scripts tested and up to date, and you be a paranoic reader of your logfiles, to react to them in case of problems.
Although the "security by obscurity" question, the virtual harassment of your server connected to internet 24x7 will be one step less from crackers, more commonly checked in port 80 than in another port.
I would recommend just to change it to another port, and additionally install something like vddos, and have a "recaptcha" to prevent robots and unknown people from testing your root password all the time.
Regards,
Netino
Although the "security by obscurity" question, the virtual harassment of your server connected to internet 24x7 will be one step less from crackers, more commonly checked in port 80 than in another port.
I would recommend just to change it to another port, and additionally install something like vddos, and have a "recaptcha" to prevent robots and unknown people from testing your root password all the time.
Regards,
Netino
279
E-Mail / Re: Dovecot IMAP/POP3 Server Failed issue
« on: February 08, 2019, 02:50:08 AM »
Check the line 106 of the file '/etc/dovecot/dovecot.conf', and if that file '/etc/pki/tls/certs/serv...' (obviously abbreviated) really exists.
280
Apache / Re: Large domlogs files
« on: February 08, 2019, 02:46:01 AM »
Create it with the following content:
Code: [Select]
/usr/local/apache/domlogs/*.log {
rotate 52
weekly
missingok
notifempty
sharedscripts
delaycompress
postrotate
/bin/kill -HUP `cat /usr/local/apache/logs/httpd.pid 2>/dev/null` 2> /dev/null || true
endscript
}
281
Apache / Re: Large domlogs files
« on: February 07, 2019, 02:49:47 AM »
Wow...!!!
If you don't have logrotate installed, you will have disk space problems briefly!
Logs in the server consume too much disk space.
So, you must install logrotate as soon as possible.
Use:
Regards,
Netino
If you don't have logrotate installed, you will have disk space problems briefly!
Logs in the server consume too much disk space.
So, you must install logrotate as soon as possible.
Use:
Code: [Select]
# yum install logrotate
Regards,
Netino
283
Apache / Re: Large domlogs files
« on: February 06, 2019, 03:07:11 AM »
In file '/etc/logrotate.d/apache' change the line:
to
If you do not want to run out of the rotation of '/usr/local/apache/logs/*_log' files, then instead of changing that file, add a file with that content changed (with any filename) in '/etc/logrotate.d/' directory.
Regards,
Netino
Code: [Select]
/usr/local/apache/logs/*_log {
(...)
to
Code: [Select]
/usr/local/apache/domlogs/*.log {
(...)
(Note the point in the name)If you do not want to run out of the rotation of '/usr/local/apache/logs/*_log' files, then instead of changing that file, add a file with that content changed (with any filename) in '/etc/logrotate.d/' directory.
Regards,
Netino
284
Updates / Re: How to update BIND for EDNS?
« on: January 27, 2019, 07:30:20 PM »
You would need to find an repository, distributing binaries complied to CentOS.
The default is not compiled with EDNS support.
The default is not compiled with EDNS support.
285
PHP / Re: PHP MySQL driver: problem with integer casting as strings, from database
« on: January 27, 2019, 07:28:35 PM »
This could be a specific issue of your server.
You must study the PHP documentation:
http://php.net/manual/pt_BR/book.mysqlnd.php
And check some incompatibility, if any.
Regards,
Netino
You must study the PHP documentation:
http://php.net/manual/pt_BR/book.mysqlnd.php
And check some incompatibility, if any.
Regards,
Netino