Show Posts

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.


Messages - zeejdeej

Pages: 1 ... 3 4 [5] 6
61
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 :)

62
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.

63
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

64
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

65
wow .... .thanks .... it worked  8)

66
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

67
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

68
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 ....  :)

69
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

70


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


71
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?

72
thanks bro.... issue was resolved by stop and start of dovecot service.

[root@server dovecot]# service dovecot status -l
Redirecting to /bin/systemctl status  -l dovecot.service
● dovecot.service - Dovecot IMAP/POP3 email server
   Loaded: loaded (/usr/lib/systemd/system/dovecot.service; enabled; vendor pres                                                                                                             et: disabled)
   Active: active (running) since Fri 2020-05-08 13:26:15 CEST; 58s ago
     Docs: man:dovecot(1)
           http://wiki2.dovecot.org/
  Process: 4885 ExecStop=/usr/bin/doveadm stop (code=exited, status=0/SUCCESS)
  Process: 4992 ExecStart=/usr/sbin/dovecot (code=exited, status=0/SUCCESS)
  Process: 4989 ExecStartPre=/usr/sbin/portrelease dovecot (code=exited, status=                                                                                                             0/SUCCESS)
  Process: 4982 ExecStartPre=/usr/libexec/dovecot/prestartscript (code=exited, s                                                                                                             tatus=0/SUCCESS)
 Main PID: 4995 (dovecot)
   CGroup: /system.slice/dovecot.service
           ├─4995 /usr/sbin/dovecot
           ├─4996 dovecot/anvil
           ├─4997 dovecot/log
           ├─4999 dovecot/config
           └─5058 dovecot/auth

May 08 13:26:15 server.smartwebsolutions.club systemd[1]: Starting Dovecot IMAP/                                                                                                             POP3 email server...
May 08 13:26:15 server.smartwebsolutions.club systemd[1]: Started Dovecot IMAP/P                                                                                                             OP3 email server.

73
Hello,

i am having master.pid file cant be found error as below. i have check /var/run/dovecot/master.pid exists with the following permissions. can someone suggest me why i am getting this error as the file and folder already exists with valid pid info inside.


[root@server ~]# service dovecot status -l
Redirecting to /bin/systemctl status  -l dovecot.service
● dovecot.service - Dovecot IMAP/POP3 email server
   Loaded: loaded (/usr/lib/systemd/system/dovecot.service; enabled; vendor preset: disabled)
   Active: active (running) since Fri 2020-05-08 02:09:15 CEST; 10h ago
     Docs: man:dovecot(1)
           http://wiki2.dovecot.org/
  Process: 29745 ExecStop=/usr/bin/doveadm stop (code=exited, status=0/SUCCESS)
  Process: 29797 ExecStart=/usr/sbin/dovecot (code=exited, status=0/SUCCESS)
  Process: 29794 ExecStartPre=/usr/sbin/portrelease dovecot (code=exited, status=0/SUCCESS)
  Process: 29787 ExecStartPre=/usr/libexec/dovecot/prestartscript (code=exited, status=0/SUCCESS)
 Main PID: 29801 (dovecot)
   CGroup: /system.slice/dovecot.service
           ├─19670 dovecot/ssl-params
           ├─29801 /usr/sbin/dovecot
           ├─29802 dovecot/anvil
           ├─29803 dovecot/log
           └─29805 dovecot/config

May 08 02:09:14 server.smartwebsolutions.club systemd[1]: Starting Dovecot IMAP/POP3 email server...
May 08 02:09:15 server.smartwebsolutions.club systemd[1]: Can't open PID file /var/run/dovecot/master.pid (yet?) after start: No such file or directory
May 08 02:09:15 server.smartwebsolutions.club systemd[1]: Started Dovecot IMAP/POP3 email server.
[root@server ~]# ll /var/run/dovecot/
total 8
srw------- 1 root    root       0 May  8 02:09 anvil
srw------- 1 root    root       0 May  8 02:09 anvil-auth-penalty
srw------- 1 dovecot root       0 May  8 02:09 auth-client
srw------- 1 dovecot root       0 May  8 02:09 auth-login
srw------- 1 root    root       0 May  8 02:09 auth-master
-rw------- 1 root    root      32 May  6 02:54 auth-token-secret.dat
srw-rw-rw- 1 vmail   mail       0 May  8 02:09 auth-userdb
srw------- 1 dovecot root       0 May  8 02:09 auth-worker
srw------- 1 root    root       0 May  8 02:09 config
srw-rw-rw- 1 vmail   mail       0 May  8 02:09 dict
srw------- 1 root    root       0 May  8 02:09 dict-async
srw------- 1 root    root       0 May  8 02:09 director-admin
srw-rw-rw- 1 root    root       0 May  8 02:09 dns-client
srw------- 1 root    root       0 May  8 02:09 doveadm-server
lrwxrwxrwx 1 root    root      25 May  8 02:09 dovecot.conf -> /etc/dovecot/dovecot.conf
drwxr-xr-x 2 root    root      40 May  6 00:54 empty
srw------- 1 root    root       0 May  8 02:09 imap-hibernate
srw------- 1 root    root       0 May  8 02:09 imap-master
srw-rw-rw- 1 root    root       0 May  8 02:09 imap-urlauth
srw------- 1 dovecot root       0 May  8 02:09 imap-urlauth-worker
srw-rw-rw- 1 root    root       0 May  8 02:09 indexer
srw------- 1 dovecot root       0 May  8 02:09 indexer-worker
srw------- 1 root    root       0 May  8 02:09 ipc
srw-rw-rw- 1 root    root       0 May  8 02:09 lmtp
srw------- 1 root    root       0 May  8 02:09 log-errors
drwxr-x--- 2 root    dovenull 160 May  8 02:09 login
srw------- 1 root    root       0 May  8 02:09 master
-rw------- 1 root    root       6 May  8 02:09 master.pid
srw------- 1 root    root       0 May  8 02:09 replication-notify
prw------- 1 root    root       0 May  8 02:09 replication-notify-fifo
srw------- 1 dovecot root       0 May  8 02:09 replicator
srw-rw-rw- 1 root    root       0 May  8 02:09 ssl-params
srw-rw--w- 1 root    root       0 May  8 02:09 stats
prw------- 1 root    root       0 May  8 02:09 stats-mail
prw------- 1 root    root       0 May  8 02:09 stats-user
drwxr-x--- 2 root    dovenull  80 May  8 02:09 token-login

74
hello,

i am getting following denied messages for my named service. anybody kindly suggest
-----------------------------------------------------------------------------------------------------------------------------------------
[root@server ~]# service named status -l
Redirecting to /bin/systemctl status  -l named.service
● named.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
   Active: active (running) since Sun 2020-05-03 22:04:56 CEST; 11h ago
  Process: 835 ExecStart=/usr/sbin/named -u named -c ${NAMEDCONF} $OPTIONS (code=exited, status=0/SUCCESS)
  Process: 782 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=0/SUCCESS)
 Main PID: 868 (named)
   CGroup: /system.slice/named.service
           └─868 /usr/sbin/named -u named -c /etc/named.conf

May 04 09:47:52 server.smartwebsolutions.club named[868]: client @0x7f9c80041c20 127.0.0.1#32918 (.): query (cache) './NS/IN' denied
May 04 09:47:52 server.smartwebsolutions.club named[868]: client @0x7f9c7801d450 127.0.0.1#38424 (.): query (cache) './NS/IN' denied
May 04 09:48:12 server.smartwebsolutions.club named[868]: client @0x7f9c800d42f0 210.202.200.22#64976 (125.10.10.10.in-addr.arpa): query (cache) '125.10.10.10.in-addr.arpa/PTR/IN' denied
May 04 09:49:05 server.smartwebsolutions.club named[868]: client @0x7f9c800d42f0 210.202.200.22#64976 (66.10.10.10.in-addr.arpa): query (cache) '66.10.10.10.in-addr.arpa/PTR/IN' denied
May 04 09:52:52 server.smartwebsolutions.club named[868]: client @0x7f9c80041c20 127.0.0.1#50594 (.): query (cache) './NS/IN' denied
May 04 09:52:52 server.smartwebsolutions.club named[868]: client @0x7f9c780486e0 127.0.0.1#38502 (.): query (cache) './NS/IN' denied
May 04 09:56:25 server.smartwebsolutions.club named[868]: client @0x7f9c800c5cc0 210.202.200.22#64976 (111.10.10.10.in-addr.arpa): query (cache) '111.10.10.10.in-addr.arpa/PTR/IN' denied
May 04 09:56:57 server.smartwebsolutions.club named[868]: client @0x7f9c800c5cc0 210.202.200.22#64976 (211.10.10.10.in-addr.arpa): query (cache) '211.10.10.10.in-addr.arpa/PTR/IN' denied
May 04 09:57:52 server.smartwebsolutions.club named[868]: client @0x7f9c80041c20 127.0.0.1#36754 (.): query (cache) './NS/IN' denied
May 04 09:57:52 server.smartwebsolutions.club named[868]: client @0x7f9c800b7150 127.0.0.1#38550 (.): query (cache) './NS/IN' denied
[root@server ~]#

75
and where is that option , i cant find it....  nproc/nofile limit ....what should be the limit set??? details plz

Pages: 1 ... 3 4 [5] 6