LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-17-2020, 04:36 AM   #1
techcomputerworld
LQ Newbie
 
Registered: Feb 2020
Posts: 5

Rep: Reputation: Disabled
Problem with CentOS 7 and CWP, multiple emails and different domain


Hello very good, the problem I have is the following not having several emails with different domain in CentOS Web Panel, logically I have it well pointed everything from digitalocean that is where I have the VPS (virtual private server). With the records MX, NS, A, and others, we can control it for example.

$ dig default._domainkey.despedidasexclusivas.com TXT @ns1.digitalocean.com

Quote:
; <<>> DiG 9.11.3-1ubuntu1.8-Ubuntu <<>> default._domainkey.despedidasexclusivas.com TXT @ns1.digitalocean.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3082
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;default._domainkey.despedidasexclusivas.com. IN TXT

;; ANSWER SECTION:
default._domainkey.despedidasexclusivas.com. 3600 IN TXT "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBUycaDUpr2h1b6CoBFdAPNetxSIU2pAVoJLMdcoYS5xzXm/269QwSiFU+CVMwJtVTL+1YZncf1V1c/AlsqtBZI+dLjxccIaJ9P0GHflY9A3gtpvwhQaYxh6evEZGkgXA1KUc7WTpqfRgFMfdELnybDAY6y+BlXdWl1QxeACSmcQIDAQAB"

;; Query time: 119 msec
;; SERVER: 173.245.58.51#53(173.245.58.51)
;; WHEN: Mon Feb 17 11:01:37 CET 2020
;; MSG SIZE rcvd: 319
That gives an equal response to work if we put:
$ dig default._domainkey.comoligarbien.com TXT @ns1.digitalocean.com
The fact is that I have well pointed DNS, that is, the problem must be some configuration or something from CentOS 7, that's where I have the problem.
I have left my postix and opendkim settings here
https://gitlab.com/hechicero666/post...im-fix-problem
When I send an email to one of my emails this happens:
Delivered-To: onzulin@gmail.com Received: by 2002:a92:8dc6:0:0:0:0:0 with SMTP id w67csp4599433ill; Sun, 16 Feb 2020 14:13:07 -0800 (PST) X-Google-Smtp-Source: APXvYqz15y6u1gURkjFP1uGOWTIc01D4+y1HmN6j4UuhFE5mLspoJSXwys+1SNqwO2QD96xL6IZm X-Received: by 2002:a17:906:aec7:: with SMTP id me7mr11971085ejb.81.1581891187386; Sun, 16 Feb 2020 14:13:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581891187; cv=none; d=google.com; s=arc-20160816; b=mOYTOdT2MhVKRltj7dqIliJMCEOub4qJV1m612fSnqZcEbrw7TUVunJbYhYJBVxX+q 7Bk1jIhb8LZTyrN+UURwjukSPeKbWndVPmMN/xry/oNhcgeCptTciBoX9vsddZMwThX1 krqOJpDHz8B6+IL8QfKIkI1w7tZpzJ1SkAojXTdJuJGdLx7xK1B9GM0hA+fE8K36idSr +8cwSaRFhQ/3qh2r/fOeKGNlQb9OTlafhkoti84EqIGsnK/Iu7aI1gHI3BZ/5sWU3dYG 3PDYyVv1jMc9YIFYxkH6DKz38gCt46DhjjsndZmgFlBh82LtPyfwYHxQLNBPZYAysfh5 MOhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:user-agent:subject:to:from:date :content-transfer-encoding:mime-version:dkim-signature; bh=g3zLYH4xKxcPrHOD18z9YfpQcnk/GaJedfustWU5uGs=; b=SW3qRKFK2houmt+55uxDxcFqhZimbUmvDtAb0JVT9V5gK4TrqKsJ5xR2/Ekzp7uLQV n+c+TTJo34EJF/YomsGNC9925WS415VQBWFGweq6LJ20o8lcSZFzsPZq95BNZiVk3gPy nEpW3PHWeGO2tGdjnZK4mEEVCzN77sokiciWNfirvSpSWmuZarkiqPPaAG6Mncn0fWbF 7n4slCwzy9lIyynVNgOFDh2k7KHAMZtNZTVwGTxUcyQS5AxWdEd0k1VThzFmwE314Hmw pGp4Tow31JwtM43Ig5ruGlAGNVR6O3Hej43IuaazlWVZGlH3vRerwx9SIEoLo/8NgngZ 4Cvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@comoligarbien.com header.s=default header.b=UsfI+wQT; spf=pass (google.com: domain of info@comoligarbien.com designates 188.166.23.139 as permitted sender) smtp.mailfrom=info@comoligarbien.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=comoligarbien.com Return-Path: <info@comoligarbien.com> Received: from mail.despedidasexclusivas.com (mail.despedidasexclusivas.com. [188.166.23.139]) by mx.google.com with ESMTPS id u6si6205240edy.182.2020.02.16.14.13.07 for <onzulin@gmail.com> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/12; Sun, 16 Feb 2020 14:13:07 -0800 (PST) Received-SPF: pass (google.com: domain of info@comoligarbien.com designates 188.166.23.139 as permitted sender) client-ip=188.166.23.139; Authentication-Results: mx.google.com; dkim=fail header.i=@comoligarbien.com header.s=default header.b=UsfI+wQT; spf=pass (google.com: domain of info@comoligarbien.com designates 188.166.23.139 as permitted sender) smtp.mailfrom=info@comoligarbien.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=comoligarbien.com Received: from localhost (localhost [127.0.0.1]) by mail.despedidasexclusivas.com (Postfix) with ESMTPA id F3A19B0591 for <onzulin@gmail.com>; Sun, 16 Feb 2020 22:13:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=comoligarbien.com; s=default; t=1581891187; bh=g3zLYH4xKxcPrHOD18z9YfpQcnk/GaJedfustWU5uGs=; h=Date:From:To:Subject; b=UsfI+wQT5GLNzeJZS99XFo6JbM3lZHq3cTjuuTKOE6LdEkqTW3v+70GWENm6CYW7v qpx+vntWDrxGrNZqqt7ztgnA9Y2l1KwCTbzqmVEWs2FlT4GLYcsSvCUGKlr1Y1nMex 2mh9nmi3WwLXWEmnTIrWta8fpXuYCzqFgXr6+JdY= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 16 Feb 2020 23:13:01 +0100 From: info@comoligarbien.com To: onzulin@gmail.com Subject: test User-Agent: Roundcube Webmail/1.4.2 Message-ID: <3f486107fcb51be422ad5dff9d38cf87@comoligarbien.com> X-Sender: info@comoligarbien.com
So I don't know how to fix it, I hope you can help me and thank you very much.

Last edited by techcomputerworld; 02-18-2020 at 04:19 AM.
 
Old 02-17-2020, 09:50 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Your post is pretty much unreadable. I’m not sure what happens or what the problem is.

It appears to be the headers of an email, but all run together.
Please edit your post and put the outputs in code tags...see the link in my signature
 
Old 02-18-2020, 04:30 AM   #3
techcomputerworld
LQ Newbie
 
Registered: Feb 2020
Posts: 5

Original Poster
Rep: Reputation: Disabled
Problem with CentOS 7 and CWP, multiple emails and different domain

Hello very good, the problem I have is the following not having several emails with different domain in CentOS Web Panel, logically I have it well pointed everything from digitalocean that is where I have the VPS (virtual private server). With the records MX, NS, A, and others, we can control it for example.
$ dig default._domainkey.despedidasexclusivas.com TXT @ns1.digitalocean.com
the response

Quote:
; <<>> DiG 9.11.3-1ubuntu1.8-Ubuntu <<>> default._domainkey.despedidasexclusivas.com TXT @ns1.digitalocean.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3082
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;default._domainkey.despedidasexclusivas.com. IN TXT

;; ANSWER SECTION:
default._domainkey.despedidasexclusivas.com. 3600 IN TXT "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBUycaDUpr2h1b6CoBFdAPNetxSIU2pAVoJLMdcoYS5xzXm/269QwSiFU+CVMwJtVTL+1YZncf1V1c/AlsqtBZI+dLjxccIaJ9P0GHflY9A3gtpvwhQaYxh6evEZGkgXA1KUc7WTpqfRgFMfdELnybDAY6y+BlXdWl1QxeACSmcQIDAQAB"

;; Query time: 119 msec
;; SERVER: 173.245.58.51#53(173.245.58.51)
;; WHEN: Mon Feb 17 11:01:37 CET 2020
;; MSG SIZE rcvd: 319
That gives an equal response to work if we put:
$ dig default._domainkey.comoligarbien.com TXT @ns1.digitalocean.com
The fact is that I have well pointed DNS, that is, the problem must be some configuration or something from CentOS 7, that's where I have the problem.
I have left my postix and opendkim settings here
https://gitlab.com/hechicero666/post...im-fix-problem
When I send an email to one of my emails this happens:
Quote:
Delivered-To: onzulin@gmail.com
Received: by 2002:a92:8dc6:0:0:0:0:0 with SMTP id w67csp4599433ill;
Sun, 16 Feb 2020 14:13:07 -0800 (PST)
X-Google-Smtp-Source: APXvYqz15y6u1gURkjFP1uGOWTIc01D4+y1HmN6j4UuhFE5mLspoJSXwys+1SNqwO2QD96xL6IZm
X-Received: by 2002:a17:906:aec7:: with SMTP id me7mr11971085ejb.81.1581891187386;
Sun, 16 Feb 2020 14:13:07 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1581891187; cv=none;
d=google.com; s=arc-20160816;
b=mOYTOdT2MhVKRltj7dqIliJMCEOub4qJV1m612fSnqZcEbrw7TUVunJbYhYJBVxX+q
7Bk1jIhb8LZTyrN+UURwjukSPeKbWndVPmMN/xry/oNhcgeCptTciBoX9vsddZMwThX1
krqOJpDHz8B6+IL8QfKIkI1w7tZpzJ1SkAojXTdJuJGdLx7xK1B9GM0hA+fE8K36idSr
+8cwSaRFhQ/3qh2r/fOeKGNlQb9OTlafhkoti84EqIGsnK/Iu7aI1gHI3BZ/5sWU3dYG
3PDYyVv1jMc9YIFYxkH6DKz38gCt46DhjjsndZmgFlBh82LtPyfwYHxQLNBPZYAysfh5
MOhQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
h=message-id:user-agent:subject:to:from:date
:content-transfer-encoding:mime-version:dkim-signature;
bh=g3zLYH4xKxcPrHOD18z9YfpQcnk/GaJedfustWU5uGs=;
b=SW3qRKFK2houmt+55uxDxcFqhZimbUmvDtAb0JVT9V5gK4TrqKsJ5xR2/Ekzp7uLQV
n+c+TTJo34EJF/YomsGNC9925WS415VQBWFGweq6LJ20o8lcSZFzsPZq95BNZiVk3gPy
nEpW3PHWeGO2tGdjnZK4mEEVCzN77sokiciWNfirvSpSWmuZarkiqPPaAG6Mncn0fWbF
7n4slCwzy9lIyynVNgOFDh2k7KHAMZtNZTVwGTxUcyQS5AxWdEd0k1VThzFmwE314Hmw
pGp4Tow31JwtM43Ig5ruGlAGNVR6O3Hej43IuaazlWVZGlH3vRerwx9SIEoLo/8NgngZ
4Cvw==
ARC-Authentication-Results: i=1; mx.google.com;
dkim=fail header.i=@comoligarbien.com header.s=default header.b=UsfI+wQT;
spf=pass (google.com: domain of info@comoligarbien.com designates 188.166.23.139 as permitted sender) smtp.mailfrom=info@comoligarbien.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=comoligarbien.com
Return-Path: <info@comoligarbien.com>
Received: from mail.despedidasexclusivas.com (mail.despedidasexclusivas.com. [188.166.23.139])
by mx.google.com with ESMTPS id u6si6205240edy.182.2020.02.16.14.13.07
for <onzulin@gmail.com>
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Sun, 16 Feb 2020 14:13:07 -0800 (PST)
Received-SPF: pass (google.com: domain of info@comoligarbien.com designates 188.166.23.139 as permitted sender) client-ip=188.166.23.139;
Authentication-Results: mx.google.com;
dkim=fail header.i=@comoligarbien.com header.s=default header.b=UsfI+wQT;
spf=pass (google.com: domain of info@comoligarbien.com designates 188.166.23.139 as permitted sender) smtp.mailfrom=info@comoligarbien.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=comoligarbien.com
Received: from localhost (localhost [127.0.0.1])
by mail.despedidasexclusivas.com (Postfix) with ESMTPA id F3A19B0591
for <onzulin@gmail.com>; Sun, 16 Feb 2020 22:13:03 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=comoligarbien.com;
s=default; t=1581891187;
bh=g3zLYH4xKxcPrHOD18z9YfpQcnk/GaJedfustWU5uGs=;
h=Date:From:To:Subject;
b=UsfI+wQT5GLNzeJZS99XFo6JbM3lZHq3cTjuuTKOE6LdEkqTW3v+70GWENm6CYW7v
qpx+vntWDrxGrNZqqt7ztgnA9Y2l1KwCTbzqmVEWs2FlT4GLYcsSvCUGKlr1Y1nMex
2mh9nmi3WwLXWEmnTIrWta8fpXuYCzqFgXr6+JdY=
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
format=flowed
Content-Transfer-Encoding: 7bit
Date: Sun, 16 Feb 2020 23:13:01 +0100
From: info@comoligarbien.com
To: onzulin@gmail.com
Subject: test
User-Agent: Roundcube Webmail/1.4.2
Message-ID: <3f486107fcb51be422ad5dff9d38cf87@comoligarbien.com>
X-Sender: info@comoligarbien.com
So I don't know how to fix it, I hope you can help me and thank you very much.

Thanks for the reply.

Last edited by techcomputerworld; 02-18-2020 at 04:31 AM.
 
Old 02-18-2020, 08:12 AM   #4
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
I'm sorry, I can't still can't tell what you think the problem is.
Those look like normal email headers to me.
The email you sent was received by gmail.

...and please use [code] tags, not [quote] tags. Code tags will preserve the formatting.
 
Old 02-18-2020, 09:28 AM   #5
techcomputerworld
LQ Newbie
 
Registered: Feb 2020
Posts: 5

Original Poster
Rep: Reputation: Disabled
dkim fail header

if dkim fail header
dkim=fail header.i=@comoligarbien.com header.s=default header.b=UsfI+wQT;
all the emails you send will go to spam
 
Old 02-18-2020, 09:46 AM   #6
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Quote:
Originally Posted by techcomputerworld View Post
if dkim fail header
dkim=fail header.i=@comoligarbien.com header.s=default header.b=UsfI+wQT;
all the emails you send will go to spam
Yes. The email is from comoligarbien.com (info@) That domain has an spf record, and the spf shows pass. I don't know why you think they would go to spam. I don't see a dkim record for that domain, so that's why the dkim-fail

The dkim record you posted is for despedidasexclusivas.com, but I'm not seeing that either:
Code:
$ dig despedidasexclusivas.com txt
despedidasexclusivas.com. 3600  IN      TXT     "v=spf1 +a +mx +ip4:188.166.23.139 ~all"
only spf for that domain, too.

should you have a sub-domain on the despedidasexclusivas.com txt record?
 
Old 02-18-2020, 03:52 PM   #7
techcomputerworld
LQ Newbie
 
Registered: Feb 2020
Posts: 5

Original Poster
Rep: Reputation: Disabled
Ok I am verifying domains
$ dig default._domainkey.comoligarbien.com TXT @ns1.digitalocean.com
Quote:
;; ANSWER SECTION:
default._domainkey.comoligarbien.com. 3600 IN TXT "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBUycaDUpr2h1b6CoBFdAPNetxSIU2pAVoJLMdcoYS5xzXm/269QwSiFU+CVMwJtVTL+1YZncf1V1c/AlsqtBZI+dLjxccIaJ9P0GHflY9A3gtpvwhQaYxh6evEZGkgXA1KUc7WTpqfRgFMfdELnybDAY6y+BlXdWl1QxeACSmcQIDAQAB"
$ dig comoligarbien.com TXT
Quote:
;; ANSWER SECTION:
comoligarbien.com. 3600 IN TXT "v=spf1 +a +mx +ip4:188.166.23.139 ~all"
$ dig -x comoligarbien.com @ns1.digitalocean.com
Quote:
;com.comoligarbien.in-addr.arpa. IN PTR
in this sense it does not seem to be wrong, the problem must be in some configuration in postfix. thank you.
 
Old 03-03-2020, 04:43 AM   #8
techcomputerworld
LQ Newbie
 
Registered: Feb 2020
Posts: 5

Original Poster
Rep: Reputation: Disabled
I really want to know if it is possible to configure a multi domain with CentOS Web Panel, because basically the control panel is costing me money and if you can help me and you are so kind as to tell me how I can configure it thanks
 
Old 03-03-2020, 07:19 AM   #9
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Quote:
Originally Posted by techcomputerworld View Post
I really want to know if it is possible to configure a multi domain with CentOS Web Panel, because basically the control panel is costing me money and if you can help me and you are so kind as to tell me how I can configure it thanks
I suspect it is possible, but you're asking about your DNS setup, specifically DKIM. How is that related to CWP? Is that the tool you use to update your DNS?

Again, is the dkim record setup for comoligarbien.com as it should be. I don't know the answer to that, but it appears not, given the results. Maybe someone else will jump in here.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Web Server Setup Series - Setup Domain Name To Point To CWP Server LXer Syndicated Linux News 0 03-01-2018 10:27 PM
Can anyone give opinions on CentOS Web Panel (CWP)? JordanSimps Linux - Server 1 06-05-2014 01:03 PM
Multiple emails accounts(with different from domains) on multiple domains on 1 server locoputo Linux - Server 0 04-12-2009 06:29 PM
Is Cnet cwp-854 supported?? lalo Linux - Hardware 3 11-11-2006 06:26 AM
CNet CWP-854 and Rt2500 driver objorkum Linux - Hardware 2 02-06-2006 09:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration