Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

Problem Email noreply

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
robotini
Posts: 14
Joined: Wed Dec 04, 2013 10:01 am

Problem Email noreply
  • Quote

Post by robotini » Wed Dec 04, 2013 10:12 am

Hi, Im testing the cp and this great, but I noticed that the mail of the notifications don't have extension of the domain, how can I fix that?

The emails arrive with: noreply@mydomain
If my domain is mydomain.com

Sorry for my bad english.

I have installed vestacp on ubntu 13.04, 32 bit.
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: Problem Email noreply
  • Quote

Post by skid » Wed Dec 04, 2013 10:23 am

What does the hostname command return? Most probably system hostname wasn't set as FQDN. You can set it by running following commands

Code: Select all

hostname mydomain.com
echo "mydomain.com" >/etc/hostname
Top

robotini
Posts: 14
Joined: Wed Dec 04, 2013 10:01 am

Re: Problem Email noreply
  • Quote

Post by robotini » Wed Dec 04, 2013 10:37 am

I have done the commands, but when I reboot the server, the hostname getting back without extension.

Code: Select all

root@mydomain:~# hostname
mydomain
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: Problem Email noreply
  • Quote

Post by skid » Wed Dec 04, 2013 10:40 am

Make sure FQDN is defined in /etc/hostname
Top

robotini
Posts: 14
Joined: Wed Dec 04, 2013 10:01 am

Re: Problem Email noreply
  • Quote

Post by robotini » Wed Dec 04, 2013 10:42 am

/etc/hostname

Code: Select all

mydomain
Is not saved after reboot vps.
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: Problem Email noreply
  • Quote

Post by skid » Wed Dec 04, 2013 10:49 am

You can change content of this file using text editor.
Top

robotini
Posts: 14
Joined: Wed Dec 04, 2013 10:01 am

Re: Problem Email noreply
  • Quote

Post by robotini » Wed Dec 04, 2013 10:51 am

I've done it, but not change.
Top

marcelorider
Posts: 7
Joined: Thu Dec 05, 2013 4:39 pm

Re: Problem Email noreply
  • Quote

Post by marcelorider » Thu Dec 05, 2013 5:47 pm

Well i've solved it with this:

Login as root user, then edit the rc.local file with this command:

Code: Select all

vim /etc/rc.local
Then add this code before "exit 0":

Code: Select all

echo exemple.com > /etc/hostname
/etc/init.d/hostname.sh start
After that, reboot, and test if you see something like this:

Code: Select all

hostname
Should return "example.com"

Code: Select all

hostname -f
Should return "example.com"

Just don't forget to setup on your VPS Panel the correct hostname you are using.
Top


Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password