What Hostname to keep for Ideal Mail Delivery
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
What Hostname to keep for Ideal Mail Delivery
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
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
Re: What Hostname to keep for Ideal Mail Delivery
Hostname must be Fully Qualified Domain Name (FQDN), such as hostname.expample.com
Personally i use host.domain.com
Personally i use host.domain.com
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: What Hostname to keep for Ideal Mail Delivery
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
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
Re: What Hostname to keep for Ideal Mail Delivery
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.
My convention is server***.domain.tld.
*** denotes the server number, eg. 013.
Re: What Hostname to keep for Ideal Mail Delivery
like mine ?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
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
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: What Hostname to keep for Ideal Mail Delivery
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
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
Re: What Hostname to keep for Ideal Mail Delivery
thanks Mehargags, I have Hosts file not hostname (Centos 5.5) :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
[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
Re: What Hostname to keep for Ideal Mail Delivery
Make it like this:sanna wrote:thanks Mehargags, I have Hosts file not hostname (Centos 5.5) :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
[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
Replace SERVER's_IP with ip assigned to the server and hostname.domain.com with your current domain/ hostname.# 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
Re: What Hostname to keep for Ideal Mail Delivery
ok many thanks:sim wrote:Make it like this:sanna wrote:thanks Mehargags, I have Hosts file not hostname (Centos 5.5) :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
[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
Replace SERVER's_IP with ip assigned to the server and hostname.domain.com with your current domain/ hostname.# 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
# 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.
Re: What Hostname to keep for Ideal Mail Delivery
did you really left blank space?affari@ mclink.it