[ale] Anyone have experience hosting email for multiple domains?
Matt Rideout
mrideout at windserve.com
Mon Aug 31 09:47:19 EDT 2009
You need one PTR record per IP that you'll be using, and a matching A
record. Multiple domains on each IP are fine.
You also need at least one MX record per domain that's receiving email
that points to your mail server's address.
Richard Bronosky wrote, On 08/31/2009 08:25 AM:
> 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
>>
>>
>
>
More information about the Ale
mailing list