Operating System & Version
CENTOS 6.10
cPanel & WHM Version
v86.0.40

Willianix

Member
May 17, 2022
8
0
1
Brazil
cPanel Access Level
Root Administrator
Hello!

We have a project here at the Company. We will be migrating some emails from a server of ours with Microsoft to our server on cPanel.

- We have a domain A - which is with Microsoft.
- And we have a domain B - which is on cPanel.

But we are not going to migrate all the Microsoft email to cPanel.

And also, our main Group accounts, will stay in Microsoft, for now. For example, [email protected]ínio.net / [email protected], among others.

So what we need to do is enable the accounts that will come to cPanel, to send emails through the domain that is on the Microsoft server without problems.

Example:

Email - [email protected] (which is in cPanel)
Send through - [email protected] (which is in Microsoft).

-------

Internally, if I send through domain B, using domain A to a recipient who is on domain A or who is on domain B. They receive it normally.

But if I send to a recipient outside one of these domains, the message is blocked.

-------

On both servers I have already added them as external domain and put in all possible permissions.

-------

What can we do to get it to send outside these domains in the above scenario.
Any questions as to what is being done, I am happy to oblige.

NOTE 1 - Both domains I am the Administrator.
NOTE 2 - I cannot, at this time, put both into cPanel or both into Microsoft.

Translated with www.DeepL.com/Translator (free version)
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
13,300
2,096
363
cPanel Access Level
Root Administrator
Hey there! You mention that "if I send to a recipient outside one of these domains, the message is blocked" - can you share the specific error or bounce message you receive? That might help us give you better information.
 

Willianix

Member
May 17, 2022
8
0
1
Brazil
cPanel Access Level
Root Administrator
Hi,

Sure, below is the return message.

Evento:failure
Usuário:onetele
Domínio:onetele.com.br
Endereço de origem:[email protected]
Remetente:[email protected]
Hora do envio:3 de nov. de 2022 17:29:17
Host do remetente:192.168.1.134
IP do remetente:177.39.223.20
Autenticação:dovecot_plain
Pontuação de spam:
Destinatário:[email protected]
Usuário da entrega:-system-
Domínio de entrega:
Entregue a:
Roteador:lookuphost
Transporte:remote_smtp
Tempo a expirar:3 de nov. de 2022 17:29:17
ID:1oqgqJ-0003Pi-G2
Host de entrega:gmail-smtp-in.l.google.com
IP de entrega:172.217.192.26
Tamanho:721 de bytes
Resultado:ECDHE-ECDSA-AES128-GCM-SHA256:128 CV=yes: SMTP error from remote mail server after end of data: 550-5.7.26 The MAIL FROM domain [onetelecom.net.br] has an SPF record with a\n550-5.7.26 hard fail policy (-all) but it fails to pass SPF checks with the ip:\n550-5.7.26 [128.201.164.225]. To best protect our users from spam and phishing,\n550-5.7.26 the message has been blocked. Please visit\n550-5.7.26 Prevent mail to Gmail users from being blocked or sent to spam - Gmail Help for more\n550 5.7.26 information. fe4-20020a05622a4d4400b0035d0b7c8d3esi1415076qtb.159 - gsmtp

1667820589806.png
 

kodeslogic

Well-Known Member
PartnerNOC
Apr 26, 2020
543
254
138
IN
cPanel Access Level
Root Administrator
You need to correct the SPF record for the concerned domain.
 
  • Like
Reactions: cPRex