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.
31
Postfix / Re: warning: database /etc/postfix/vmail_ssl.map.db is older than source file /etc/p
« on: May 26, 2020, 08:24:55 AM »
the service postfix reload had no effect so i tried service postfix stop and service postfix start. and now the warning has changed to as below:
what should be the correct ower for the below two files? i tried changing it to root and the postfix service crashed and failed to restart
?
: warning: not owned by root: /etc/postfix/./vacation.php
: warning: not owned by root: /etc/postfix/./mysql-virtual_vacation.cf
[root@server run]# ll /etc/postfix/.
total 296
-rw-r--r-- 1 root root 21535 Sep 25 2019 access
-rw-r--r-- 1 root root 13194 Sep 25 2019 canonical
-rw-r--r-- 1 root root 10221 Sep 25 2019 generic
-rw-r--r-- 1 root root 23802 Sep 25 2019 header_checks
-rw-r--r-- 1 root root 3521 May 22 21:29 main.cf
-rw-r--r-- 1 root root 3420 May 22 08:44 main.cf_backup
-rw-r--r-- 1 root root 4738 May 22 08:44 master.cf
-rw-r--r-- 1 root root 4628 May 22 08:44 master.cf_backup
-rw-r--r-- 1 root root 317 Mar 27 2017 mynetworks
-rw-r----- 1 root mail 144 May 22 08:44 mysql-relay_domains_maps.cf
-rw-r----- 1 root mail 242 May 22 08:44 mysql-virtual_alias_default_maps.cf
-rw-r----- 1 root mail 159 May 22 08:44 mysql-virtual_alias_maps.cf
-rw-r----- 1 root mail 150 May 22 08:44 mysql-virtual_alias_pipe_maps.cf
-rw-r----- 1 root mail 161 May 22 08:44 mysql-virtual_domains_maps.cf
-rw-r----- 1 root mail 144 May 22 08:44 mysql-virtual_mailbox_limit_maps.cf
-rw-r----- 1 root mail 146 May 22 08:44 mysql-virtual_mailbox_maps.cf
-rw-r----- 1 vacation mail 217 May 22 08:44 mysql-virtual_vacation.cf
-rw-r--r-- 1 root root 0 Mar 19 19:22 postfix-files
-rw-r--r-- 1 root root 6929 Sep 25 2019 relocated
-rw-r--r-- 1 root root 153 Mar 27 2017 sender_blacklist
-rw-r--r-- 1 root root 12288 Mar 21 15:29 sender_blacklist.db
-rw-r--r-- 1 root root 137 Mar 27 2017 sender_whitelist
-rw-r--r-- 1 root root 12288 Mar 21 15:29 sender_whitelist.db
-rw-r--r-- 1 root root 50 May 22 08:44 transport
-rw-r--r-- 1 root root 12288 May 22 08:44 transport.db
-rw-r--r-- 1 root root 4714 Apr 26 16:27 vacation_class.php
-rw-r--r-- 1 root root 135 Mar 27 2017 vacation.conf
-rwxr-xr-x 1 vacation root 2599 Mar 10 01:47 vacation.php
-rw-r--r-- 1 root root 24211 Mar 27 2017 vacation.pl
-rw-r--r-- 1 root root 2394 Apr 26 16:27 vacation.zip
-rw-r--r-- 1 root root 13963 Sep 25 2019 virtual
-rw-r--r-- 1 root root 12288 May 22 23:17 virtual.db
-rw-r--r-- 1 root root 0 Mar 19 19:21 virtual_regexp
-rw-r--r-- 1 root root 488 May 22 22:05 vmail_ssl.map
-rw-r--r-- 1 root root 45056 May 26 10:11 vmail_ssl.map.db
what should be the correct ower for the below two files? i tried changing it to root and the postfix service crashed and failed to restart

: warning: not owned by root: /etc/postfix/./vacation.php
: warning: not owned by root: /etc/postfix/./mysql-virtual_vacation.cf
[root@server run]# ll /etc/postfix/.
total 296
-rw-r--r-- 1 root root 21535 Sep 25 2019 access
-rw-r--r-- 1 root root 13194 Sep 25 2019 canonical
-rw-r--r-- 1 root root 10221 Sep 25 2019 generic
-rw-r--r-- 1 root root 23802 Sep 25 2019 header_checks
-rw-r--r-- 1 root root 3521 May 22 21:29 main.cf
-rw-r--r-- 1 root root 3420 May 22 08:44 main.cf_backup
-rw-r--r-- 1 root root 4738 May 22 08:44 master.cf
-rw-r--r-- 1 root root 4628 May 22 08:44 master.cf_backup
-rw-r--r-- 1 root root 317 Mar 27 2017 mynetworks
-rw-r----- 1 root mail 144 May 22 08:44 mysql-relay_domains_maps.cf
-rw-r----- 1 root mail 242 May 22 08:44 mysql-virtual_alias_default_maps.cf
-rw-r----- 1 root mail 159 May 22 08:44 mysql-virtual_alias_maps.cf
-rw-r----- 1 root mail 150 May 22 08:44 mysql-virtual_alias_pipe_maps.cf
-rw-r----- 1 root mail 161 May 22 08:44 mysql-virtual_domains_maps.cf
-rw-r----- 1 root mail 144 May 22 08:44 mysql-virtual_mailbox_limit_maps.cf
-rw-r----- 1 root mail 146 May 22 08:44 mysql-virtual_mailbox_maps.cf
-rw-r----- 1 vacation mail 217 May 22 08:44 mysql-virtual_vacation.cf
-rw-r--r-- 1 root root 0 Mar 19 19:22 postfix-files
-rw-r--r-- 1 root root 6929 Sep 25 2019 relocated
-rw-r--r-- 1 root root 153 Mar 27 2017 sender_blacklist
-rw-r--r-- 1 root root 12288 Mar 21 15:29 sender_blacklist.db
-rw-r--r-- 1 root root 137 Mar 27 2017 sender_whitelist
-rw-r--r-- 1 root root 12288 Mar 21 15:29 sender_whitelist.db
-rw-r--r-- 1 root root 50 May 22 08:44 transport
-rw-r--r-- 1 root root 12288 May 22 08:44 transport.db
-rw-r--r-- 1 root root 4714 Apr 26 16:27 vacation_class.php
-rw-r--r-- 1 root root 135 Mar 27 2017 vacation.conf
-rwxr-xr-x 1 vacation root 2599 Mar 10 01:47 vacation.php
-rw-r--r-- 1 root root 24211 Mar 27 2017 vacation.pl
-rw-r--r-- 1 root root 2394 Apr 26 16:27 vacation.zip
-rw-r--r-- 1 root root 13963 Sep 25 2019 virtual
-rw-r--r-- 1 root root 12288 May 22 23:17 virtual.db
-rw-r--r-- 1 root root 0 Mar 19 19:21 virtual_regexp
-rw-r--r-- 1 root root 488 May 22 22:05 vmail_ssl.map
-rw-r--r-- 1 root root 45056 May 26 10:11 vmail_ssl.map.db
32
Postfix / warning: database /etc/postfix/vmail_ssl.map.db is older than source file /etc/p
« on: May 26, 2020, 08:18:08 AM »
hello,
postfix is giving this warning : warning: database /etc/postfix/vmail_ssl.map.db is older than source file /etc/postfix/vmail_ssl.map
i tried to run the below suggested commands from cwp forum thread : http://forum.centos-webpanel.com/postfix/i-can-send-email-but-i-can%27t-receive/
$ postmap -F hash:/etc/postfix/vmail_ssl.map
$ service postfix reload
but no luck , the warning is still appearing .
can someone suggest me a workaround for this ?
Regards,
Zeeshan Javed
postfix is giving this warning : warning: database /etc/postfix/vmail_ssl.map.db is older than source file /etc/postfix/vmail_ssl.map
i tried to run the below suggested commands from cwp forum thread : http://forum.centos-webpanel.com/postfix/i-can-send-email-but-i-can%27t-receive/
$ postmap -F hash:/etc/postfix/vmail_ssl.map
$ service postfix reload
but no luck , the warning is still appearing .
can someone suggest me a workaround for this ?
Regards,
Zeeshan Javed
33
E-Mail / Re: emails to hostmail and outlook always goes to spam
« on: May 17, 2020, 09:20:28 AM »
dont long back by adding txt record to DNS as well as adding a CNAME record as below , but both the verification fails . error below for reference.
1. Add the TXT to the DNS configuration for smartwebsolutions.club
TXT record:
google-site-verification=7b2jKwBukYwFh8utyD4mT0HeJYuotKjNL_MCYVr1U1A
2. Add the CNAME record below to the DNS configuration for smartwebsolutions.club
CNAME Label/Host:
vgt6ki7kyrwk.smartwebsolutions.club
CNAME Destination/Target:
gv-55mz3ucpo364al.dv.googlehosted.com
Your DNS CNAME verification record was not found. You might need to wait a few minutes before Google sees your changes to the CNAME records. Please try again.
Your DNS TXT verification record was not found. You might need to wait a few minutes before Google sees your changes to the TXT records. Please try again.
1. Add the TXT to the DNS configuration for smartwebsolutions.club
TXT record:
google-site-verification=7b2jKwBukYwFh8utyD4mT0HeJYuotKjNL_MCYVr1U1A
2. Add the CNAME record below to the DNS configuration for smartwebsolutions.club
CNAME Label/Host:
vgt6ki7kyrwk.smartwebsolutions.club
CNAME Destination/Target:
gv-55mz3ucpo364al.dv.googlehosted.com
Your DNS CNAME verification record was not found. You might need to wait a few minutes before Google sees your changes to the CNAME records. Please try again.
Your DNS TXT verification record was not found. You might need to wait a few minutes before Google sees your changes to the TXT records. Please try again.
34
E-Mail / emails to hostmail and outlook always goes to spam
« on: May 17, 2020, 08:34:28 AM »
hello,
i have configured SPF, DKIM, DMARC records for my domain and rDns is matching the SMTP banner. my email spam test score is 10/10 still all emails to hotmail and outlook going to spam folder. i have even contacted hotmail team to unblock my IP as it has clean reputation and not reported in any of the ban/spam list but they always reply your domain/IP is doesn't qualify for mitigation.
see the attached snaps for reference. kindly suggest what else i can do to fix this issue.


i have configured SPF, DKIM, DMARC records for my domain and rDns is matching the SMTP banner. my email spam test score is 10/10 still all emails to hotmail and outlook going to spam folder. i have even contacted hotmail team to unblock my IP as it has clean reputation and not reported in any of the ban/spam list but they always reply your domain/IP is doesn't qualify for mitigation.
see the attached snaps for reference. kindly suggest what else i can do to fix this issue.
35
E-Mail / Re: postfix dovecot limits
« on: May 17, 2020, 08:10:27 AM »
thanks for your reply. i will do the installation and will share with you the results

36
E-Mail / Re: postfix dovecot limits
« on: May 17, 2020, 07:57:41 AM »
Thanks for your reply. For this project I will have 8 cores 30Gb ram 800GB ssd drive with unlimited monthly bandwidth @600 Mbit/sec port. With this much RAM do I still need swap?
I am always confused which domain to put in hostname, should it be the main domain for which I am setting up the email server for? Or it should be any other domain to access the server only?
Should I put mydomain.com as hostname or make it server.mydomain.com? And then how to Configure ssl for the hostname so that access to cpanel for admin and user are secured via ssl.

I am always confused which domain to put in hostname, should it be the main domain for which I am setting up the email server for? Or it should be any other domain to access the server only?
Should I put mydomain.com as hostname or make it server.mydomain.com? And then how to Configure ssl for the hostname so that access to cpanel for admin and user are secured via ssl.
37
E-Mail / postfix dovecot limits
« on: May 17, 2020, 07:16:49 AM »
hello,
i want to deploy an email server which is suppose to receive 5000 email per hour max and 20000 a day in total. is postfix and dovecot can handle this much incoming email traffic smoothly by default setting with cwp pro? or do i have to fine tune some setting/parameters to optimize the mail server performance?
kindly suggest if cwp pro can be used to manage email server on large scale? how stable is it ? did someone tested it on a busy server.
Regards,
Zeeshan Javed
i want to deploy an email server which is suppose to receive 5000 email per hour max and 20000 a day in total. is postfix and dovecot can handle this much incoming email traffic smoothly by default setting with cwp pro? or do i have to fine tune some setting/parameters to optimize the mail server performance?
kindly suggest if cwp pro can be used to manage email server on large scale? how stable is it ? did someone tested it on a busy server.
Regards,
Zeeshan Javed
38
DNS / Re: can i change main domain in cwp pro
« on: May 14, 2020, 05:12:21 AM »
yes i added smartwebsolutions.club in hostname cert manually. now in the cwp user panel i am using the same domain i.e. smartwebsolutions.club to host my website and i have created several subdomains. after i change the hostname to sws.pk , do i have to manually change anything in the cwp user panel for the main site and its subdomains to work with new domain i.e. sws.pk
i think i have to create custom name servers with this new domain sws.pk to point to my server right ? i.e. ns1.sws.pk & ns2.sws.pk
i think i have to create custom name servers with this new domain sws.pk to point to my server right ? i.e. ns1.sws.pk & ns2.sws.pk
39
Dovecot / Re: Can't open PID file /var/run/dovecot/master.pid (yet?) after start: No such file
« on: May 14, 2020, 04:35:28 AM »
wow .... .thanks .... it worked

40
DNS / Re: can i change main domain in cwp pro
« on: May 14, 2020, 04:32:42 AM »
but the hostname is different i.e. server.smartwebsolutions.club , isn't that the name of the server itself? SSL is configured and working for smartwebsolutions.club:2031 , actually i am using the same domain name in cwp client panel to host sites
if i change hostname to sws.pk will all the subdomains created with smartwebsolutions.club will automatically be changed ? all the sites will work smoothly after changing hostname ?
Your Hostname is: server.smartwebsolutions.club and it resolves to IP: 62.171.139.109 [Check Black List] [Check CWP SSL] [Check WebServers SSL]
rDNS/PTR = server.smartwebsolutions.club SUCCESS [Check SenderBase]
rDNS/PTR check for IP 62.171.139.109 = server.smartwebsolutions.club
CWP Admin Panel Link (by hostname)
CWP Admin Panel Link: http://server.smartwebsolutions.club:2030
CWP Admin Panel Link: http://server.smartwebsolutions.club:2086
CWP Admin Panel SSL Link: https://server.smartwebsolutions.club:2031
CWP Admin Panel SSL Link: https://server.smartwebsolutions.club:2087
CWP User Panel Link (by hostname)
CWP User Panel Link: http://server.smartwebsolutions.club:2082
CWP User Panel SSL Link: https://server.smartwebsolutions.club:2083
if i change hostname to sws.pk will all the subdomains created with smartwebsolutions.club will automatically be changed ? all the sites will work smoothly after changing hostname ?
Your Hostname is: server.smartwebsolutions.club and it resolves to IP: 62.171.139.109 [Check Black List] [Check CWP SSL] [Check WebServers SSL]
rDNS/PTR = server.smartwebsolutions.club SUCCESS [Check SenderBase]
rDNS/PTR check for IP 62.171.139.109 = server.smartwebsolutions.club
CWP Admin Panel Link (by hostname)
CWP Admin Panel Link: http://server.smartwebsolutions.club:2030
CWP Admin Panel Link: http://server.smartwebsolutions.club:2086
CWP Admin Panel SSL Link: https://server.smartwebsolutions.club:2031
CWP Admin Panel SSL Link: https://server.smartwebsolutions.club:2087
CWP User Panel Link (by hostname)
CWP User Panel Link: http://server.smartwebsolutions.club:2082
CWP User Panel SSL Link: https://server.smartwebsolutions.club:2083
41
Dovecot / Re: Can't open PID file /var/run/dovecot/master.pid (yet?) after start: No such file
« on: May 14, 2020, 04:16:33 AM »
the first time i stop and start dovecot service the issue was resolved .... but unfortunately after i had to reboot the server , the issue appears back again and this time stop start the dovecot service doesn't help.
someone at plesk forum is suggesting to fix the permissions for : # chown root:dovecot /var/run/dovecot as its root:root in my case if you see my output shared before.
should i change the dovecot folder permission as above ? how it was working fine before with root:root ? anyidea
someone at plesk forum is suggesting to fix the permissions for : # chown root:dovecot /var/run/dovecot as its root:root in my case if you see my output shared before.
should i change the dovecot folder permission as above ? how it was working fine before with root:root ? anyidea
42
DNS / Re: can i change main domain in cwp pro
« on: May 14, 2020, 04:08:39 AM »
i want to change the root domain which i setup initially to access my server i.e. smartwebsolutions.club:2031 , how can i change it to sws.pk:2031 , will all the subdomain sites will be working on new domain as it is ? is there a script to change it in all configuration files needed.... ?
i hope i am able to explain what i want to do ....
i hope i am able to explain what i want to do ....

43
DNS / can i change main domain in cwp pro
« on: May 14, 2020, 01:29:09 AM »
hello,
can i change the main domain in my currently running live cwp pro server ? how to change it without having issues with current site and subdomains.
is there a way to smoothly change the main domain and private nameservers on my vps running cwp pro? kindly suggest the best possible solution.
Regards,
Zeeshan Javed
can i change the main domain in my currently running live cwp pro server ? how to change it without having issues with current site and subdomains.
is there a way to smoothly change the main domain and private nameservers on my vps running cwp pro? kindly suggest the best possible solution.
Regards,
Zeeshan Javed
44
DNS / SOA Test results for my domain at leafdns.com (need suggestion)
« on: May 09, 2020, 12:11:00 AM »SOA Tests
Your SOA record according to ns2.smartwebsolutions.club. is:
Field
Value
Master Nameserver:
ns1.smartwebsolutions.club.
Hostmaster E-Mail Address:
admin@smartwebsolutions.club
Serial #:
2020050689
Refresh:
3600
Retry:
7200
FAIL: This value is extremely high. A good suggestion would be between 300-3600 (5 minutes to 1 hour). This value is even higher than the refresh value which makes very little sense. This should be adjusted.
Expire:
1209600
Default TTL:
86400
FAIL: This value is a little high. The recommended values per RFC1912 are 3600-10800 (1 to 3 hours). This value is primarily used for negative caching. This is how long a dns cache will cache that a record does not exist before trying to look it up again.
Successes: 6 Tests Passed
Failures: 1 Failure
Warnings: 1 Warning
in cwp panel the recommended values are shown as :
------------------------------------------------------------
Refresh Recommended: 86400
Retry Recommended: 7200
Expire Recommended: 3600000
TTL Recommended: 172800
------------------------------------------------------------
in both the zone files i.e. : ns1.smartwebsolutions.club.db & ns2.smartwebsolutions.club.db
MNAME is set to : ns1.smartwebsolutions.club
RNAME is set to : info.centos-webpanel.com
kindly suggest of this is correct or for ns2 MNAME should be ns2.smartwebsolutions.club and what should be in RNAME for both
45
Mod_Security / Re: Status engine is currently disabled
« on: May 08, 2020, 06:35:34 PM »
what is the benifit of turning on status engine for modsecurity?