Problem with CentOS 7 and CWP, multiple emails and different domain
by techcomputerworld from LinuxQuestions.org on (#4ZFFF)
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
; <<>> 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.


$ dig default._domainkey.despedidasexclusivas.com TXT @ns1.digitalocean.com
; <<>> 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.