[BlueOnyx:18482] Problem with aventurine VPS sendmail and hosts file
Simone Capra
capra at erweb.it
Fri Oct 9 03:50:44 -05 2015
Hi all,
i am experincing this problem: i have an aventurine box with one VPS in
it (the vps is 5106R).
The problem is that the VPS, after a reboot, is sending out emails as
localhost.localdomain
Looking at /etc/hosts file it looks like:
# /etc/hosts
# Auto-generated file. Keep your customizations at the bottom of this file.
#END of auto-generated code. Customize beneath this line.
127.0.0.1 localhost.localdomain localhost srv017srv.erweb.it
srv017srv.erweb.it
# Auto-generated hostname. Please do not remove this comment.
81.29.192.189 srv017srv.erweb.it srv017srv-venet0:0
srv017srv-venet0:0.erweb.it srv017srv
::1 localhost
### Begin - Nuonce hosts Fix
127.0.0.1 srv017srv.erweb.it
127.0.0.1 srv017srv.erweb.it
81.29.192.189 srv017srv.erweb.it
### End - Nuonce hosts Fix
While, looking into a backup, the file looked like this:
# /etc/hosts
# Auto-generated file. Keep your customizations at the bottom of this file.
127.0.0.1 localhost localhost.localdomain
81.29.192.189 srv017srv.erweb.it srv017srv-venet0:0.erweb.it
srv017srv-venet0:0
#END of auto-generated code. Customize beneath this line.
### Begin - Nuonce hosts Fix
127.0.0.1 srv017srv.erweb.it
127.0.0.1 srv017srv.erweb.it
81.29.192.189 srv017srv.erweb.it
### End - Nuonce hosts Fix
if i replace the file and restart sendmail all goes ok.
if i reboot the vps the file gets scrumbled again...
Any suggestions?
TKS
Simone
More information about the Blueonyx
mailing list