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 General Discussion
  • Search

What Hostname to keep for Ideal Mail Delivery

General questions about VestaCP
Post Reply
  • Print view
Advanced search
20 posts
  • 1
  • 2
  • Next
mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
What Hostname to keep for Ideal Mail Delivery
  • Quote

Post by mehargags » Sun Feb 15, 2015 4:50 pm

Hi Imperio & other Seniors...

I'm going on a bit of confusion...
Can you suggest in general case, what should we keep as out VPS Server's Hostname for a mulch-domain hosting ?

for eg: I have my domain name as mehargags.com.
Should I have my VPS hostname as mehargags.com or something like srv.mehargags.com ?

I'm asking this in the context of Email Delivery and other Authenticity checks that are done for IP's and Mailhosts.

I have one of my server's hostname set = domain.com but then I find that server isn't able to route mail to its own domain name with : exim -bt [email protected].

Or is there a better way to configure all this ?

Pls suggest
Top

sim
Posts: 101
Joined: Sat Nov 22, 2014 7:47 pm

Re: What Hostname to keep for Ideal Mail Delivery
  • Quote

Post by sim » Sun Feb 15, 2015 7:03 pm

Hostname must be Fully Qualified Domain Name (FQDN), such as hostname.expample.com
Personally i use host.domain.com
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: What Hostname to keep for Ideal Mail Delivery
  • Quote

Post by mehargags » Sun Feb 15, 2015 7:36 pm

Sim,
I do understand hostname should be a resolvable FQDN, however that was not my question.

My Question is: Is it OK to have a domain.tld as your VPS's Hostname ? or will it have any consequences or other problems ?

I also want to know what generally people tend to do when they make their Servers/ VPS
Top

ivanh
Posts: 41
Joined: Sun Mar 23, 2014 6:40 am

Re: What Hostname to keep for Ideal Mail Delivery
  • Quote

Post by ivanh » Mon Feb 16, 2015 3:59 am

I can't imagine you running into any issues not using a subdomain as a hostname though I haven't used it myself.

My convention is server***.domain.tld.

*** denotes the server number, eg. 013.
Top

sanna
Posts: 53
Joined: Thu Feb 12, 2015 11:54 am

Re: What Hostname to keep for Ideal Mail Delivery
  • Quote

Post by sanna » Tue Feb 24, 2015 11:32 pm

mehargags wrote:Hi Imperio & other Seniors...

I'm going on a bit of confusion...
Can you suggest in general case, what should we keep as out VPS Server's Hostname for a mulch-domain hosting ?

for eg: I have my domain name as mehargags.com.
Should I have my VPS hostname as mehargags.com or something like srv.mehargags.com ?

I'm asking this in the context of Email Delivery and other Authenticity checks that are done for IP's and Mailhosts.

I have one of my server's hostname set = domain.com but then I find that server isn't able to route mail to its own domain name with : exim -bt [email protected].

Or is there a better way to configure all this ?

Pls suggest
like mine ?
2015-02-13 04:25:15 Start queue run: pid=24860
2015-02-13 04:25:15 1YLpf0-0003VB-2L Message is frozen
2015-02-13 04:25:15 1YMC8Y-0005vT-GT Message is frozen
2015-02-13 04:25:15 1YMC8U-0005tU-Dd Message is frozen
2015-02-13 04:25:15 1YLTBm-0002OS-FY Unfrozen by errmsg timer
2015-02-13 04:25:15 1YLTBm-0002OS-FY ** [email protected]: Unrouteable address
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: What Hostname to keep for Ideal Mail Delivery
  • Quote

Post by mehargags » Wed Feb 25, 2015 7:24 am

sanna
you don't seem to have your hostname setup properly.
pls check /etc/hostname and make proper entries.
Need to check your Exim configs too
Top

sanna
Posts: 53
Joined: Thu Feb 12, 2015 11:54 am

Re: What Hostname to keep for Ideal Mail Delivery
  • Quote

Post by sanna » Wed Feb 25, 2015 1:38 pm

mehargags wrote:sanna
you don't seem to have your hostname setup properly.
pls check /etc/hostname and make proper entries.
Need to check your Exim configs too
thanks Mehargags, I have Hosts file not hostname (Centos 5.5) :
[root@srv1 etc]#
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
Top

sim
Posts: 101
Joined: Sat Nov 22, 2014 7:47 pm

Re: What Hostname to keep for Ideal Mail Delivery
  • Quote

Post by sim » Wed Feb 25, 2015 3:23 pm

sanna wrote:
mehargags wrote:sanna
you don't seem to have your hostname setup properly.
pls check /etc/hostname and make proper entries.
Need to check your Exim configs too
thanks Mehargags, I have Hosts file not hostname (Centos 5.5) :
[root@srv1 etc]#
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
Make it like this:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
SERVER's_IP hostname.domain.com hostname
Replace SERVER's_IP with ip assigned to the server and hostname.domain.com with your current domain/ hostname.
Top

sanna
Posts: 53
Joined: Thu Feb 12, 2015 11:54 am

Re: What Hostname to keep for Ideal Mail Delivery
  • Quote

Post by sanna » Wed Feb 25, 2015 4:10 pm

sim wrote:
sanna wrote:
mehargags wrote:sanna
you don't seem to have your hostname setup properly.
pls check /etc/hostname and make proper entries.
Need to check your Exim configs too
thanks Mehargags, I have Hosts file not hostname (Centos 5.5) :
[root@srv1 etc]#
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
Make it like this:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
SERVER's_IP hostname.domain.com hostname
Replace SERVER's_IP with ip assigned to the server and hostname.domain.com with your current domain/ hostname.
ok many thanks:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
104.194.14.77 srv1.iacserver.com srv1

I do a echo "MailCheck- Test Mail sent $(date +"%T")" | mail -s Testing affari@ mclink.it
but no email in my inbox

Exim main.log:
2015-02-25 11:05:22 1YQeSg-0002i8-Qz <= [email protected] U=root P=local S=384
2015-02-25 11:05:25 1YQeSg-0002i8-Qz ** [email protected] R=dnslookup T=remote_smtp: SMTP error from remote mail server after MAIL FROM:<[email protected]> SIZE=1418: host mx1.mclink.it [195.78.215.100]: 553 #5.1.8 Domain of sender address <[email protected]> does not exist
2015-02-25 11:05:25 1YQeSj-0002iB-OA <= <> R=1YQeSg-0002i8-Qz U=exim P=local S=1390
2015-02-25 11:05:25 1YQeSg-0002i8-Qz Completed
2015-02-25 11:05:25 1YQeSj-0002iB-OA ** [email protected]: Unrouteable address
2015-02-25 11:05:25 1YQeSj-0002iB-OA Frozen (delivery error message)
Last edited by sanna on Wed Feb 25, 2015 4:20 pm, edited 1 time in total.
Top

sim
Posts: 101
Joined: Sat Nov 22, 2014 7:47 pm

Re: What Hostname to keep for Ideal Mail Delivery
  • Quote

Post by sim » Wed Feb 25, 2015 4:13 pm

affari@ mclink.it
did you really left blank space?
Top


Post Reply
  • Print view

20 posts
  • 1
  • 2
  • Next

Return to “General Discussion”



  • 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
 

 

cron

Login  •  Register

I forgot my password