dotmanila / pyxbackup

XtraBackup wrapper/manager in Python
GNU General Public License v2.0
85 stars 41 forks source link

os.uname()[1] does not always resolve to FQDN #30

Closed k2patel closed 7 years ago

k2patel commented 7 years ago

os.uname()[1] does not always resolve to FQDN

Which cause following error. Using socket.getfqdn should fix this.

Mar 7 02:32:36 postfix/smtpd[21639]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 504 5.5.2 root@<hostname>: Sender address rejected: need fully-qualified address; from=root@<hostname> to=<user>@<domain> proto=ESMTP helo=<>