Hi, I've scheduled a backup with e-mail notification to my account in a proxmox of a client of mine.
FQHN of their proxmox server has a correct domain (a domain is resolved with MX record in internet), like:
# hostname -f
proxmox.mycustomerdomain.it
Neverless I receive mail notivication as "Undelivered Mail Returned to Sender" with the following error message:
The mail system
<myname@mydomain.it>: host mail-mydomain.it [208.36.100.00] said: 550
<root@proxmox.localdomain>: No thank you rejected: Domain not found (in reply to RCPT TO command)
Reporting-MTA: dns; proxmox.localdomain
X-Postfix-Queue-ID: 7BD0D4822CB
X-Postfix-Sender: rfc822; root@proxmox.localdomain
Arrival-Date: Sun, 19 Jul 2009 03:21:33 +0200 (CEST)
Final-Recipient: rfc822; myname@mydomain.it
Action: failed
Status: 5.0.0
Remote-MTA: dns; mail-mydomain.it
Diagnostic-Code: smtp; 550 <root@proxmox.localdomain>: No thank you rejected: Domain not found
I'm not an expert, and I've "fixed" it editing directly /etc/postfix/main.cf and adding to the top a line like:
myhostname = proxmox.mycustomerdomain.it
I'm wondering if is possible having it automatically set by Proxmox Web Interface when you enter System -> DNS -> Hostname and Domain, or if I'm missing something.
Thanks a lot!
FQHN of their proxmox server has a correct domain (a domain is resolved with MX record in internet), like:
# hostname -f
proxmox.mycustomerdomain.it
Neverless I receive mail notivication as "Undelivered Mail Returned to Sender" with the following error message:
The mail system
<myname@mydomain.it>: host mail-mydomain.it [208.36.100.00] said: 550
<root@proxmox.localdomain>: No thank you rejected: Domain not found (in reply to RCPT TO command)
Reporting-MTA: dns; proxmox.localdomain
X-Postfix-Queue-ID: 7BD0D4822CB
X-Postfix-Sender: rfc822; root@proxmox.localdomain
Arrival-Date: Sun, 19 Jul 2009 03:21:33 +0200 (CEST)
Final-Recipient: rfc822; myname@mydomain.it
Action: failed
Status: 5.0.0
Remote-MTA: dns; mail-mydomain.it
Diagnostic-Code: smtp; 550 <root@proxmox.localdomain>: No thank you rejected: Domain not found
I'm not an expert, and I've "fixed" it editing directly /etc/postfix/main.cf and adding to the top a line like:
myhostname = proxmox.mycustomerdomain.it
I'm wondering if is possible having it automatically set by Proxmox Web Interface when you enter System -> DNS -> Hostname and Domain, or if I'm missing something.
Thanks a lot!