Author Topic: Issues with "ALL" Gmail  (Read 3955 times)

0 Members and 1 Guest are viewing this topic.

Offline
****
Re: Issues with "ALL" Gmail
« Reply #15 on: December 21, 2023, 07:40:30 PM »
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

Offline
*
Re: Issues with "ALL" Gmail
« Reply #16 on: December 22, 2023, 03:58:28 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.
« Last Edit: December 22, 2023, 04:02:41 AM by DragoCom »

Offline
****
Re: Issues with "ALL" Gmail
« Reply #17 on: December 22, 2023, 04:18:01 AM »
post the log from

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

Offline
*
Re: Issues with "ALL" Gmail
« Reply #18 on: December 22, 2023, 04:58:36 AM »
[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.

Offline
****
Re: Issues with "ALL" Gmail
« Reply #19 on: December 22, 2023, 05:20:52 AM »
does "   systemctl status named  "   show that it is running?
Google Hangouts:  rcschaff82@gmail.com

Offline
*
Re: Issues with "ALL" Gmail
« Reply #20 on: December 22, 2023, 05:25:38 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 ~]#

Offline
****
Re: Issues with "ALL" Gmail
« Reply #21 on: December 22, 2023, 05:59:33 AM »
If it's running, then everything is good.  You must have fixed the reason it failed.
Google Hangouts:  rcschaff82@gmail.com

Offline
***
Re: Issues with "ALL" Gmail
« Reply #22 on: December 22, 2023, 12:11:36 PM »
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.

Offline
*
Re: Issues with "ALL" Gmail
« Reply #23 on: December 22, 2023, 07:44:41 PM »
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>

Offline
****
Re: Issues with "ALL" Gmail
« Reply #24 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.
Google Hangouts:  rcschaff82@gmail.com

Offline
*
Re: Issues with "ALL" Gmail
« Reply #25 on: December 22, 2023, 08:17:39 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.

Offline
*
Re: Issues with "ALL" Gmail
« Reply #26 on: December 23, 2023, 05:03:51 AM »
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