Control Web Panel
WebPanel => Postfix => Topic started by: theri on April 04, 2018, 08:39:23 AM
-
hi i am a noob here trying to fix mail server for my site but unable to do it. please help me on this. i have set rdns and working https://prnt.sc/j0mwvp
Postfix Mail Server Manager shows, https://prnt.sc/j0mqz1
-
your provider sets the rDNS you'd need to contact them to give the rDNS pointer a name.
-
your provider sets the rDNS you'd need to contact them to give the rDNS pointer a name.
i can set the rdns through solusVM cp.
i found it is a problem with /etc/hosts i modified it like below and got working. but if i rebooted it get reverted back to the old one.
# Auto-generated hostname. Please do not remove this comment.
host file is controlled by some process and when i searched for this, it said to be dealt with openvz.
what i did to solve it,
Edited the line in /etc/hosts like this
127.0.0.1 xx.example.com xx localhost localhost.localdomain
Locked the host file from auto modification
chattr +i /etc/hosts
Rebooted. Done
-
for openvz you need to set the hostname in your vps panel.
-
for openvz you need to set the hostname in your vps panel.
it has been already set to my hostname, i gave it when i ordered vps.
-
your provider sets the rDNS you'd need to contact them to give the rDNS pointer a name.
i can set the rdns through solusVM cp.
i found it is a problem with /etc/hosts i modified it like below and got working. but if i rebooted it get reverted back to the old one.
# Auto-generated hostname. Please do not remove this comment.
host file is controlled by some process and when i searched for this, it said to be dealt with openvz.
what i did to solve it,
Edited the line in /etc/hosts like this
127.0.0.1 xx.example.com xx localhost localhost.localdomain
Locked the host file from auto modification
chattr +i /etc/hosts
Rebooted. Done
Worked for me.
-
your provider sets the rDNS you'd need to contact them to give the rDNS pointer a name.
i can set the rdns through solusVM cp.
i found it is a problem with /etc/hosts i modified it like below and got working. but if i rebooted it get reverted back to the old one.
# Auto-generated hostname. Please do not remove this comment.
host file is controlled by some process and when i searched for this, it said to be dealt with openvz.
what i did to solve it,
Edited the line in /etc/hosts like this
127.0.0.1 xx.example.com xx localhost localhost.localdomain
Locked the host file from auto modification
chattr +i /etc/hosts
Rebooted. Done
Worked for me.
Update, this did not work for me. It broke Opendkim. Very seriously considering canceling my monthly donation since the admins don't seem to want to support their product.
-
Update, this did not work for me. It broke Opendkim. Very seriously considering canceling my monthly donation since the admins don't seem to want to support their product.
it worked for me without any problem with OpenDKIM. yeah no one will try this if there is no open source version of cwp, they want everyone to be a pro and not interested on free one.
-
hostname setup is up to you, you should have hostname set properly before CWP installation as this is the first thing you need to do after connecting to the server for the first time, also there is no any difference in any version for hostname setup as this needs to be set from your vps panel for openVZ and then also CWP if not set before installation.