• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved server name&resolve

Noam Harel

Regular Pleskian
Hi

One of our clients has a CentOS 7 container with plesk 12.5.
we have a problem with mail sent from mail() php script.

after investigation I have found that the problem occurs with one domain, it turned out that this domain name is the name of the server also. so i had changed the server name through:
# hostnamectl set-hostname

also restarted BIND and checked that there is no zone with this name. still pinging that domain name results with the same result

please your opinion or resolve to the issue

Noam
 
ok,

no need, i have found out that someone manualy add a record inside /etc/hosts to the domain with the issue, after commenting the line all worked out fine. (for newbis: i had removed from the "hosts" file the line with the domain name)

BTW - i noticed maillog is not logging the mail reports, what can cause that?
 
Last edited:
Back
Top