New in CWP Edge / LTSFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers. Available now in the Edge-Latest and LTS-Stable versions. Discuss in the forum

LSPHP / Cache ›
CWP Secure KernelKernel-level protectionEvery site in its own sandbox

Every PHP site, cron job and SSH session runs in its own profile that the kernel enforces. A hacked WordPress cannot read other accounts’ files, and crypto miners and unexpected processes are stopped. Discuss in the forum

Secure Kernel ›
CWP DataCenter PanelFree for CWPpro serversAll your servers on one screen

Manage all your CWP servers from one panel: live health, every hosting account, CWP and OS updates on many servers at once, backups, SSL, firewall and Telegram alerts. Discuss in the forum

DataCenter Panel ›
CWP Backup ServerFree for CWPpro serversBackups that ransomware cannot reach

Protected backups of all your CWP servers on a separate machine. Snapshots a hosting server cannot delete, and restore of files, databases, mail and whole accounts in the admin and user panel. Discuss in the forum

Backup Server ›
WordPress ManagerIncluded & freeWordPress managed from the panel

Install, secure, update, back up and clone WordPress sites without FTP. Updates are tested on a staging clone first and applied to the live site only when they pass, with a backup taken first. Discuss in the forum

WordPress Manager ›
CWP CageIsolationEvery account in its own cage

Per-account isolation built from Linux namespaces and cgroups. A break-in or a runaway script on one site cannot reach another account, the panel or the rest of the server; resource limits per hosting package. Discuss in the forum

CWP Cage ›
Script InstallerOne-click appsWordPress, Joomla, Moodle and more in one click

CWP’s own script installer in the user panel: pick an app, choose the domain and folder, and it is live in seconds with its database and admin login created automatically. Ready for LSPHP and LSAPI-Cache. Discuss in the forum

Script Installer ›
DNS ClusterFor every control panelOne DNS cluster for all your servers

Your servers keep creating domains as usual; the zones are collected into one authoritative PowerDNS cluster you control, with DNSSEC, roles and a full activity trail. Accepts CWP, cPanel, Plesk, DirectAdmin and BIND. Discuss in the forum

DNS Cluster ›
CWP BillingFree to useBilling and support system for hosting providers

Clients, services, invoices, payments, domains, server provisioning and support tickets in one place. All gateways, server modules and registrars are free, with free migration from WHMCS, ClientExec and Blesta. Discuss in the forum

CWP Billing ›
CWPproFrom $1.49 per monthEvery CWP feature unlocked

CWPpro is the professional version of Control Web Panel: all features, unlimited accounts, the latest CWP version and security fixes first. $1.49 per month or $11.99 per year. Discuss in the forum

Get CWPpro ›

Issues with "ALL" Gmail

Started by DragoCom, December 21, 2023, 04:01:22 AM

Previous topic - Next topic

rcschaff

Bind can be configured several way.  The way it is configured for CWP is to be an Authoritive server, which  means it will only respond to request for domains it holds, when requested from the outside world.  I would not be concerned about opening UDP 53 for this purpose.
Google Hangouts:  rcschaff82@gmail.com

DragoCom

#16
Quote from: rcschaff on December 21, 2023, 06:18:16 AM
If a video I just watched, you can register ns1 and ns2 for your domain name by clicking on Management Tools -> Register Glue records

add ns1  ->  Your server IP
add ns2  ->  Your Server IP

Next go to your domain.  Change the nameserver to ns1.yourdomain.com  and ns2.yourdomain.com

Finally.  In CWP Root.  Goto DNS Functions -> Edit Nameserver IPS

Change those to NS1 and NS2 of the domain you just did in freenom, and don't forget to change the IP's to your servers IP As well.   

Once your main domain resolves, you can safely change the nameservers of every other domain hosted on your server

This domain is not the servers primary domain so I cannot change the server nameservers to these. I have tons of domain names and only a few are freenom domains for small sites, not primary for the server. I have registered the ns1 and ns2 for this domain and will try it in a bit when it propagates.

EDIT: Tried it and restarted dns and got the following error from cwp:

WARNING!
Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details.

I changed the nameservers for upward.cf in the dns file and saved it and restarted dns, apache and nginx.

rcschaff

post the log from

journalctl -xe -u named
Google Hangouts:  rcschaff82@gmail.com

DragoCom

[root@dragon ~]# journalctl -xe -u named
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: network unreachable resolving './NS/IN': 2001:500:1::53#53
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: network unreachable resolving './DNSKEY/IN': 2001:7fd::1#53
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: network unreachable resolving './NS/IN': 2001:7fd::1#53
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: network unreachable resolving './DNSKEY/IN': 2001:dc3::35#53
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: network unreachable resolving './NS/IN': 2001:dc3::35#53
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: network unreachable resolving './DNSKEY/IN': 2001:503:ba3e::2:30#53
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: network unreachable resolving './NS/IN': 2001:503:ba3e::2:30#53
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: network unreachable resolving './DNSKEY/IN': 2001:500:a8::e#53
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: network unreachable resolving './NS/IN': 2001:500:a8::e#53
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: network unreachable resolving './DNSKEY/IN': 2001:500:2f::f#53
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: network unreachable resolving './NS/IN': 2001:500:2f::f#53
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: network unreachable resolving './DNSKEY/IN': 2001:7fe::53#53
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: network unreachable resolving './NS/IN': 2001:7fe::53#53
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: network unreachable resolving './DNSKEY/IN': 2001:503:c27::2:30#53
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: network unreachable resolving './NS/IN': 2001:503:c27::2:30#53
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: network unreachable resolving './DNSKEY/IN': 2001:500:12::d0d#53
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: network unreachable resolving './NS/IN': 2001:500:12::d0d#53
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: network unreachable resolving './DNSKEY/IN': 2001:500:2::c#53
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: network unreachable resolving './NS/IN': 2001:500:2::c#53
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: network unreachable resolving './DNSKEY/IN': 2001:500:9f::42#53
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: network unreachable resolving './NS/IN': 2001:500:9f::42#53
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: managed-keys-zone: Key 20326 for zone . acceptance timer complete: key now trusted
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: resolver priming query complete
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: checkhints: b.root-servers.net/A (170.247.170.2) missing from hints
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: checkhints: b.root-servers.net/A (199.9.14.201) extra record in hints
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: checkhints: b.root-servers.net/AAAA (2801:1b8:10::b) missing from hints
Dec 21 23:06:16 dragon.gplgoods.xyz named[11138]: checkhints: b.root-servers.net/AAAA (2001:500:200::b) extra record in hints
Dec 21 23:08:54 dragon.gplgoods.xyz named[11138]: client @0x7f0c100a8b20 127.0.0.1#54090 (.): query (cache) './NS/IN' denied
Dec 21 23:08:54 dragon.gplgoods.xyz named[11138]: client @0x7f0c100b7150 127.0.0.1#45076 (.): query (cache) './NS/IN' denied
Dec 21 23:10:01 dragon.gplgoods.xyz named[11138]: client @0x7f0c100e2d70 192.0.91.177#50948 (www.xxxxxxxxxx.tk): query (cache) 'www.xxxxxxxxxx.tk/A/IN' denied
Dec 21 23:10:01 dragon.gplgoods.xyz named[11138]: client @0x7f0c100e2d70 172.71.165.217#55567 (www.xxxxxxxxxx.tk): query (cache) 'www.xxxxxxxxxx.tk/A/IN' denied
Dec 21 23:18:54 dragon.gplgoods.xyz named[11138]: client @0x7f0c100a8b20 127.0.0.1#38034 (.): query (cache) './NS/IN' denied
Dec 21 23:18:54 dragon.gplgoods.xyz named[11138]: client @0x7f0c100b7150 127.0.0.1#45402 (.): query (cache) './NS/IN' denied
Dec 21 23:19:39 dragon.gplgoods.xyz named[11138]: client @0x7f0c100e2d70 172.253.6.4#39259 (maiL.TMFPrOD.tk): query (cache) 'maiL.TMFPrOD.tk/AAAA/IN' denied
Dec 21 23:19:39 dragon.gplgoods.xyz named[11138]: client @0x7f0c100c5e30 172.253.237.5#34821 (MAil.TMFpROd.tK): query (cache) 'MAil.TMFpROd.tK/A/IN' denied
Dec 21 23:19:39 dragon.gplgoods.xyz named[11138]: client @0x7f0c100c5e30 172.253.4.4#48524 (MaIL.tMfprOD.tK): query (cache) 'MaIL.tMfprOD.tK/A/IN' denied
Dec 21 23:19:39 dragon.gplgoods.xyz named[11138]: client @0x7f0c100c5e30 74.125.179.131#53062 (MAiL.tMfpRoD.Tk): query (cache) 'MAiL.tMfpRoD.Tk/AAAA/IN' denied
Dec 21 23:19:40 dragon.gplgoods.xyz named[11138]: client @0x7f0c100c5e30 172.253.237.2#36231 (mAiL.TmFPRoD.Tk): query (cache) 'mAiL.TmFPRoD.Tk/A/IN' denied
Dec 21 23:19:40 dragon.gplgoods.xyz named[11138]: client @0x7f0c100c5e30 172.253.4.2#43887 (mAil.tmfProD.tk): query (cache) 'mAil.tmfProD.tk/AAAA/IN' denied
Dec 21 23:19:40 dragon.gplgoods.xyz named[11138]: client @0x7f0c100e2d70 172.253.5.5#62471 (MaIL.Tmfprod.Tk): query (cache) 'MaIL.Tmfprod.Tk/AAAA/IN' denied
Dec 21 23:19:40 dragon.gplgoods.xyz named[11138]: client @0x7f0c100e2d70 172.253.237.3#60447 (MaiL.tmfpRoD.Tk): query (cache) 'MaiL.tmfpRoD.Tk/A/IN' denied


I xxxx'd out a customers domain from the log.

rcschaff

does "   systemctl status named  "   show that it is running?
Google Hangouts:  rcschaff82@gmail.com

DragoCom

Quote from: rcschaff on December 22, 2023, 05:20:52 AM
does "   systemctl status named  "   show that it is running?

[root@dragon ~]# systemctl status named
● named.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2023-12-21 23:58:10 EST; 26min ago
  Process: 14036 ExecStop=/bin/sh -c /usr/sbin/rndc stop > /dev/null 2>&1 || /bin/kill -TERM $MAINPID (code=exited, status=0/SUCCESS)
  Process: 14051 ExecStart=/usr/sbin/named -u named -c ${NAMEDCONF} $OPTIONS (code=exited, status=0/SUCCESS)
  Process: 14048 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: 14053 (named)
   CGroup: /system.slice/named.service
           └─14053 /usr/sbin/named -u named -c /etc/named.conf

Dec 22 00:23:56 dragon.gplgoods.xyz named[14053]: client @0x7efefc041dd0 127.0.0.1#54376 (.): query (cache) './NS/IN' denied
Dec 22 00:23:56 dragon.gplgoods.xyz named[14053]: client @0x7efeec002720 127.0.0.1#48174 (.): query (cache) './NS/IN' denied
[root@dragon ~]#

rcschaff

If it's running, then everything is good.  You must have fixed the reason it failed.
Google Hangouts:  rcschaff82@gmail.com

Namaste

Quote from: DragoCom on December 21, 2023, 04:13:14 AM
Quote from: rcschaff on December 21, 2023, 04:09:30 AM
admin/index.php?module=dkim


/admin/index.php?module=spf

/admin/index.php?module=postfix_manager

Check the box to enable for all new accounts.

Yes I know this and is done already but every email I send from my server to gmail get bounced with that message. So there is n9othing in spf/dkim config to change this. Been through the settings a hundred times now. :(


If you are using the DNS management where your domains are registered, configuring dkim spf will have no effect unless you modifiy  dns record there.
Listen to everything Pixelpadre says.

DragoCom

Quote from: rcschaff on December 22, 2023, 05:59:33 AM
If it's running, then everything is good.  You must have fixed the reason it failed.

My wowonder script states that the password is incorrect and I have changed it in cwp user email accounts as well as in cwp root to the same password and it still fails but works just fine in getting mail in gmail web client.

2023-12-22 19:43:11 SERVER -&gt; CLIENT: 220 dragon.gplgoods.xyz ESMTP Postfix<br>
2023-12-22 19:43:11 CLIENT -&gt; SERVER: EHLO www.upward.cf<br>
2023-12-22 19:43:11 SERVER -&gt; CLIENT: 250-dragon.gplgoods.xyz250-PIPELINING250-SIZE 204800000250-ETRN250-AUTH PLAIN LOGIN250-AUTH=PLAIN LOGIN250-ENHANCEDSTATUSCODES250-8BITMIME250-DSN250 CHUNKING<br>
2023-12-22 19:43:11 CLIENT -&gt; SERVER: AUTH LOGIN<br>
2023-12-22 19:43:11 SERVER -&gt; CLIENT: 334 VXNlcm5hbWU6<br>
2023-12-22 19:43:11 CLIENT -&gt; SERVER: [credentials hidden]<br>
2023-12-22 19:43:11 SERVER -&gt; CLIENT: 334 UGFzc3dvcmQ6<br>
2023-12-22 19:43:11 CLIENT -&gt; SERVER: [credentials hidden]<br>
2023-12-22 19:43:13 SERVER -&gt; CLIENT: 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6<br>
2023-12-22 19:43:13 SMTP ERROR: Password command failed: 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6<br>
SMTP Error: Could not authenticate.<br>
2023-12-22 19:43:13 CLIENT -&gt; SERVER: QUIT<br>
2023-12-22 19:43:13 SERVER -&gt; CLIENT: 221 2.0.0 Bye<br>
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting<br>

rcschaff

If your password contains special characters, at lot of PHP mail programs will screw up the password.
Google Hangouts:  rcschaff82@gmail.com

DragoCom

Quote from: rcschaff on December 22, 2023, 07:59:33 PM
If your password contains special characters, at lot of PHP mail programs will screw up the password.

Does the same thing with a password with nothing but letters.

DragoCom

Can't win for losing now getting this with admin at upward . cf

The response from the remote server was:
554 5.7.1 Service unavailable; Client host [209.85.221.49] blocked using zen.spamhaus.org; Error: open resolver; https://www.spamhaus.org/returnc/pub/172.71.97.10