Control Web Panel

WebPanel => Postfix => Topic started by: theri on April 04, 2018, 08:39:23 AM

Title: Help me to fix this issue
Post 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
Title: Re: Help me to fix this issue
Post by: Darkroom on April 05, 2018, 02:32:13 AM
your provider sets the rDNS you'd need to contact them to give the rDNS pointer a name.
Title: Re: Help me to fix this issue
Post by: theri on April 06, 2018, 07:56:31 AM
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.

Code: [Select]
# 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
Code: [Select]
127.0.0.1   xx.example.com xx localhost localhost.localdomain
Locked the host file from auto modification
Code: [Select]
chattr +i /etc/hosts
Rebooted. Done
Title: Re: Help me to fix this issue
Post by: studio4host on April 06, 2018, 11:27:25 AM
for openvz you need to set the hostname in your vps panel.
Title: Re: Help me to fix this issue
Post by: theri on April 06, 2018, 02:12:25 PM
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.
Title: Re: Help me to fix this issue
Post by: joekirk on April 09, 2018, 12:08:43 AM
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.

Code: [Select]
# 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
Code: [Select]
127.0.0.1   xx.example.com xx localhost localhost.localdomain
Locked the host file from auto modification
Code: [Select]
chattr +i /etc/hosts
Rebooted. Done

Worked for me.
Title: Re: Help me to fix this issue
Post by: joekirk on April 09, 2018, 05:36:05 PM
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.

Code: [Select]
# 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
Code: [Select]
127.0.0.1   xx.example.com xx localhost localhost.localdomain
Locked the host file from auto modification
Code: [Select]
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.
Title: Re: Help me to fix this issue
Post by: theri on April 11, 2018, 08:58:34 AM
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.
Title: Re: Help me to fix this issue
Post by: studio4host on April 11, 2018, 11:25:33 AM
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.