Mail server different as Hostname

Started by dgitan, April 24, 2019, 10:23:45 AM

Previous topic - Next topic

Starburst

Quote from: CamposMansi on October 25, 2020, 02:00:16 AM
Quote from: dgitan on April 24, 2019, 10:23:45 AM
So in the client mail, I want the possibility to put the SSL parameters as : mail server : mail.tartempion.org, not centos.xxxxx.com

You got it? I'm going crazy....
mail_version = 3.4.7

The current version of CWP 0.9.8.1020 on CentOS 8 it's working OK.
Before installing CWP I setup the Dovecot Repo.

You just have to make sure you have the SSL certificate create a mail.domainname

As long as your DNS is setup correctly, the mail client (I use Thunderbird) will touch the domain and server and auto set it to mail.domainname

CamposMansi

ok, I'll look at the Dovecot Repo, I use Postfix Mail Server that comes in CWP.
But I can't uninstall CWP, so I'll see how to fix it with Dovecot Repo.

Thanks a lot

Starburst

mail.domainname has been working for several revisions also, at least it has on our setup using the repo.

You might also have to rebuild the mail server.

CarlosN

Quote from: Starburst on July 25, 2019, 03:50:06 PM
I'm having this same issue with SSL and Outlook.

Have the Inbound & outbound email server setup as mail.domain.com, but Outlook comes up with a certificate error and shows self signed certificate for the host name.

And you have to accept every time you open Outlook.
cPanel doesn't have this problem.

How do you fix this problem with CWP?


Thanks,
David

I am using CWP Pro and I have the same issue. I get a popup indicating the usage of a certificate than can't be verified. So, it is not possible to fix this and use Outlook just like it works with cPanel?

Starburst

Quote from: CarlosN on January 19, 2021, 08:19:29 PM
Quote

I am using CWP Pro and I have the same issue. I get a popup indicating the usage of a certificate than can't be verified. So, it is not possible to fix this and use Outlook just like it works with cPanel?

We haven't had this issue for awhile now with CWPpro. Even worked with the CWP DNS defaults and the Free SSL certificate.

We are using the Dovecot from their own repo though.

mbdoms

#20
Hello,

I also have a problem with CWP Pro and mail SSL certificates.

I have created the domain example.com and created email account for the same as user@domain.com. Here, domain.com has its own SSL certificate.
When I add the same in mail client (Outlook in my case), I have entered incoming mail server as domain.com and selected all the available options for security (like SSL/TLS, SSL/TLS (Accept all certificates), STARTTLS, STARTTLS (Accept all certificates)). But, the server is rendering only the main hostname certificate instead of the mail address's domain certificate.

Does anyone know how to fix this so when I configuring Outlook it will use certs for domain.com and not from hostname?

Thanks and best regards

CWPpro version: 0.9.8.1047
mail_version = 3.4.7

shannusamosa

CentOS Web Panel (CWP) is a free web hosting control panel that offers easy managemet of multiple servers (both Dedicated and VPS) without the need to access server through SSH for every small task that you need to complete and if want to watch movies on online best site is https://www.ghdsports.net/download/

Sandeep

hi don't update postfix version we'll update it when necessary

joaomach

So I too have this issue and I have a partial fix until postfix 3.x arrives, but there is one little issue left.

I have found that adding a cname record to the users dns zone will receive emails but not send. Adding an account on Android and Thunderbird will not give any certificate errors, will setup the account with no issue. On sending Thunderbird gives the certificate error, if you accept the exception, mail will send with no issue. On Android it says it sent but never arrives.

The CNAME record is from your hostname server to your user domain.
example:

RECORD NAME        TTL                RECORDS             
srv.myserver.com.     14400           mail.bobsdomain.com

the issue is the sending through smtp.bobsdomain.com:587

joaomach

#24
Ok, I got it working!!! You need to have two CNAME records added to the users DNS ZONE, "hostname and domain name".

RECORD NAME           TTL                RECORDS             
srv.myserver.com.     14400           mail.bobsdomain.com

myserver.com.          14400           mail.bobsdomain.com

now mail.bobsdomain.com will work with sending and receiving with no certificate errors

Starburst

Actually you need to spilt off the mail, and not have it as a CNAME.

So you would change your MX to point to mail.domainname
And then create an A record for mail.

Then make sure you have a SSL certificate with the mail. prefix

joaomach

@Starburst so if I may, let me understand correctly, because I want to learn this.

CWP7 serverName: server.com
CWP7 user acct: myuser.com

in DNS zone for myuser.com, create an MX record to point to mail.myuser.com
Then create an A record for mail, correct?

Starburst

#27
Quote from: joaomach on May 29, 2021, 04:53:06 PM
@Starburst so if I may, let me understand correctly, because I want to learn this.

CWP7 serverName: server.com
CWP7 user acct: myuser.com

in DNS zone for myuser.com, create an MX record to point to mail.myuser.com
Then create an A record for mail, correct?

Correct

Then when it connects, as long as you checked the box for mail in the SSL certs, it will read that certificate on connection.

Wonder

Good thread this for me.
But for me, not work.
Hostname: server.mydomain.com
MX record: mail.mydomain.com
A record: mail.mydomain.com

Can't connect to mail with SSL, appears a certificate of CWP not of my domain.

If I configured my client mail with hostname, then, works fine, if configured with mail.mydomain.com appears a certificate of CWP.

SAN create for mail,.mydomain.com

This is my thread: http://forum.centos-webpanel.com/index.php?topic=10971.new;topicseen#new

zakrpa

Hello,
Wanna bring this up again to see is this fixed?
Had same issue but I used my hostname for client configs.

Thank u