• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Need help with DNS and mail server settings

Hi egomaniacXFR,

it's totally UP TO YOU, which name you choose for your server. You can choose HONOLULU, SCHOKOMOCKO, WHATEVERYOULIKE, or even "doksana" as your desired name.
 
I've made a screenshot of the file's content and changed the hostname file so now it contains "doksana.doksana.net".

Re. DMARC: I've phoned with my ISP but they couldn't help me via telephone. They'll mail me instead. I'm still waiting for it.
 

Attachments

  • Unbenannt.jpg
    Unbenannt.jpg
    16.5 KB · Views: 8
Hi egomaniacXFR,

please remove line 3 from your "/etc/hosts" -file to avoid issues/faulires/problems.

Please keep in mind to change now as well "/etc/hostname" to "doksana.doksana.net", to meet your changes from "/etc/hosts".

Did you manually change something at "/etc/postfix/*" ? Because connecting to your mail-server still replies with
[000.160] Connected to server
[000.524] <-- 220 localhost.localdomain ESMTP Postfix (Ubuntu)
[000.524] We are allowed to connect
[000.525] --> EHLO checktls.com
[000.684] <-- 250-localhost.localdomain
...
... which will still lead to errors/failures/problems.


As mentioned before, you should change the reverse DNS entry of your IP ( you previously changed it to "doksana.net", which now should be "doksana.doksana.net" ) over your server hostings control panel ( 1&1 ).
 
I removed that line in /etc/hosts. The hostname file is correct too.

No, I didn't changed something at postfix but I forgot to tell that Plesk says my hostname is still "localhost.localdomain" (see picture).

In /etc/postfix/main.cf I've found the entries:

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
myhostname = localhost.localdomain
mydestination = localhost, localhost.localdomain, , localhost

Do I have to change the entries in that file or somewhere else?

Edit: Fixed the Reverse DNS entry.
 

Attachments

  • plesk.jpg
    plesk.jpg
    16 KB · Views: 6
Ok, changed them. Plesk still shows localhost.localdomain as the hostname. Is that a problem?

SMTP Reverse DNS Mismatch OK - 82.223.18.195 resolves to doksana.doksana.net
SMTP Valid Hostname OK - Reverse DNS is a valid Hostname
SMTP Banner Check OK - Reverse DNS matches SMTP Banner
SMTP TLS OK - Supports TLS.
SMTP Connection Time 1.109 seconds - Good on Connection time
SMTP Open Relay OK - Not an open relay.
SMTP Transaction Time 3.500 seconds - Good on Transaction Time

Still no answer from the ISP. I'll give an update as soon as I receive a mail.
 
Hi egomaniacXFR,

please go to:

Home > Tools & Settings > Server Settings

... and change there as well the configuration to "doksana.doksana.net", so that Plesk will show your correct server configuration.
 
... and just to confirm... now you have EVERYTHING setup correctly! Congratulations!
( apart from the missing DMARC - entry. ^^ )

Code:
[000.161]        Connected to server
[001.334]    <--    220 doksana.doksana.net ESMTP Postfix (Ubuntu)
[001.334]        We are allowed to connect
[001.334]    -->    EHLO checktls.com
[001.495]    <--    250-doksana.doksana.net
...

Code:
doksana.net.                21599   IN      SOA     ns-de.1and1-dns.de. hostmaster.kundenserver.de. 2015112601 28800 7200 604800 600

doksana.net.                21599   IN      NS      ns-de.1and1-dns.biz.
doksana.net.                21599   IN      NS      ns-de.1and1-dns.de.
doksana.net.                21599   IN      NS      ns-de.1and1-dns.org.
doksana.net.                21599   IN      NS      ns-de.1and1-dns.com.

doksana.net.                3599    IN      A       82.223.18.195

doksana.net.                3599    IN      TXT     "v=spf1 +a +mx +a:doksana.doksana.net +ip4:82.223.18.195 ?all"

doksana.net.                3599    IN      MX      10 mail.doksana.net.


Your IP "82.223.18.195" resolves to:

195.18.223.82.in-addr.arpa.    21599    IN        PTR        doksana.doksana.net.
 
Yay :D Thank you! That took a while ^^
Still no mail from the ISP. I'll additionally open a thread in their support forum and give an update if I got something new.
 
Back
Top