[ale] Anyone have experience hosting email for multiple domains?

Richard Bronosky Richard at Bronosky.com
Mon Aug 31 08:25:54 EDT 2009


Huh? If you are right, I'm more confused than ever. As I understand
it, each domain (for which I will be accepting emails) must have (at
least) one MX record.

>From what I have read, all that is required with the PTR is that the
name it gives must resolve to the IP. In code that'd look like:

mx_ptr_test(){
d=$1
mx=$(dig +short $d)
ip=$(dig +short $mx)
ptr=$(dig -x +short $ip)
ptr_ip=$(dig +short $ptr)
[[ $ptr_ip -eq $ip ]] && echo "Ok!" || echo "Fail! $ptr_ip != $ip"
# You do not need $mx = $ptr otherwise you could only host 1 email
domain per domain.
}

Note: I wrote that on a freaking blackberry on a GRTA bus without
testing it. I may have missed something.

On 8/31/09, James Taylor <James.Taylor at eastcobbgroup.com> wrote:
> You only need one PTR  per MX address, not per domain.
> Presumably, all the domains will be using the same server for their MX
> record, so you only need one PTR,
> -jt
>
>
> James Taylor
> The East Cobb Group, Inc.
> 678-697-9420
> james.taylor at eastcobbgroup.com
> http://www.eastcobbgroup.com
>
>
>
>
>>>> Richard Bronosky <Richard at bronosky.com> 8/31/2009  02:23 AM >>>
> I have concerns about #5 too. Since I will have 8 domains, and cand
> have only 1 PTR record... I have to figure that out.
>
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
>

-- 
Sent from my mobile device

.!# RichardBronosky #!.


More information about the Ale mailing list