Archive for the ‘Emails’ Category

 

Sending emails from a hosted domain

So we have a domain, is being hosted on a server to some hosting  provider
and we want to  send some emails.  It may sound a  simple task, but  these
days, with  so many  protections against  spam, we  can easily  found  our
messages being delivered directly in other people’s junk folders. However,
there are few  things that  can drastically  improve the  chances for  the
message to hit the right spot – the recipient inbox folder. Here they are.
First, be sure that the IP address of your server has a proper reverse DNS
record. Most of the providers will allow you to add your own rDNS  record.
If noti, you’ll have to ask their technical support to do it for you.
For example, if your domain is domain.com and your IP address is
123.234.123.234, be sure that the IP address will resolve to some hostname
from your domain. It could be just the domain name. Most of the time
you’ll see something like mail.domain.com.
[root@server ~]# host -t mx domain.com
domain.com mail is handled by 10 mail.domain.com.
[root@server ~]# host mail.domain.com
mail.domain.com has address 123.234.123.234
[root@server ~]# host 123.234.123.234
234.123.234.123.in-addr.arpa domain name pointer mail.domain.com.
Second, give a  name from  your domain to  your email  server. Some  email
servers default installations use the generic name “localhost.localdomain”
and this is a very  bad idea when it  comes about sending emails.  Sending
messages with this identity will determine your messages to be rejected by
most of the receiving email servers. Please note that not all the time the
system name will be  the email server name  (for example Qmail with  Plesk
control panel).
You can simply check if your server is properly configured from this point
of view by following the few steps described [6]here.
Third, add a proper SPF record to your domain name zone file. A good  page
about this can be found [7]here. The information from this page will  help
you to define your SPF record in no time.

So we have a domain, is being hosted on a server to a hosting  provider and we want to  send some emails.  It may sound a  simple task, but these days, with  so many  protections against  spam, we  can easily  found  our messages being delivered directly in other people’s junk folders. However, there are few  things that  can drastically  improve the  chances for  the message to hit the right spot – the recipient inbox folder. Here they are.

Login