DNS MX records (need seperate sub domain MX record to route mail differently)

I'm having trouble configuring my DNS MX records...

I'm using google aps for the primary mail and have all of their MX records added per their specification and that works fine.

However, I have mailman mailing lists on my server under this same domain, and I need mail sent to the lists to still go to the server and get processed by mailman.

What I did was create an additional A record for mx.domain.com that points to the server IP.
Then I created a new MX record for mx.domain.com that points to domain.com.

The other google MX records are all for domain.com and point to the google mail servers.

So, when I send mail to whatever@mx.domain.com I'm getting this error:
   ----- The following addresses had permanent fatal errors -----
<whatever@mx.domain.com>
    (reason: 553 sorry, that domain isn't in my list of allowed rcpthosts; no valid cert for gatewaying (#5.7.1))

   ----- Transcript of session follows -----
... while talking to domain.com.:
>>> DATA
<<< 553 sorry, that domain isn't in my list of allowed rcpthosts; no valid cert for gatewaying (#5.7.1)
550 5.1.1 <whatever@mx.domain.com>... User unknown
<<< 503 RCPT first (#5.5.1)

Am I going about this the right way or is there another way...  I need some way to differentiate my list mail from normal mail and I was thinking an additional mx record that uses a subdomain that doesn't go to google would work... Maybe I was wrong... ???

I'm running on a FC 9 server with qmail and managing DNS via Plesk.
LVL 17
jasonsbytesAsked:
Who is Participating?
 
nightmare2Connect With a Mentor Commented:
Obviously the problem is not your MX record but your qmail configuration.
Just add your mx.domain.com in the rcpthosts.
Read this article: http://www.palomine.net/qmail/relaying.html
0
 
jasonsbytesAuthor Commented:
hi, thanks for the reply.  I actually had found something on that and already did that, and it did eliminate the error message, but now I get a NEW error message...  I think this one actually is an DNS issue:

------------------------------------------------------------------------------------------------
Hi. This is the qmail-send program at ip-xxx-xxx-xxx-xx.ip.secureserver.net.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<whatever@mx.domain.com>:
Sorry. Although I'm listed as a best-preference MX or A for that host,
it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)
0
 
jasonsbytesAuthor Commented:
hmm, in another attempt, I also got this failure message:

<whatever@mx.domain.com>:
xxx.xxx.xxx.xx failed after I sent the message.
Remote host said: 554 too many hops, this message is looping (#5.4.6)
0
Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

 
jasonsbytesAuthor Commented:
I added mx.domain.com to /var/qmail/control/locals

now I just get this (no explaination):
Hi. This is the qmail-send program at ip-xxx-xxx-xxx-xx.ip.secureserver.net.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<whatever@mx.domain.com>:

and the qmail log:
in.com/"
Jul 28 15:31:47 ip-xxx-xxx-xxx-xx qmail: 1185654707.820073 new msg 7798953
Jul 28 15:31:47 ip-xxx-xxx-xxx-xx qmail: 1185654707.820161 info msg 7798953: bytes 1560 from <me@someotherdomain.com> qp 21482 uid 2020
Jul 28 15:31:47 ip-xxx-xxx-xxx-xx qmail: 1185654707.829706 starting delivery 10: msg 7798953 to local emotivenewsletter@mx.emotivefitness.com
Jul 28 15:31:47 ip-xxx-xxx-xxx-xx qmail: 1185654707.829773 status: local 1/10 remote 0/20
Jul 28 15:31:47 ip-xxx-xxx-xxx-xx qmail: 1185654707.848209 delivery 10: failure:
Jul 28 15:31:47 ip-xxx-xxx-xxx-xx qmail: 1185654707.848288 status: local 0/10 remote 0/20
Jul 28 15:31:47 ip-xxx-xxx-xxx-xx qmail: 1185654707.931526 bounce msg 7798953 qp 21485
Jul 28 15:31:47 ip-xxx-xxx-xxx-xx qmail: 1185654707.931605 end msg 7798953
Jul 28 15:31:47 ip-xxx-xxx-xxx-xx qmail: 1185654707.932741 new msg 7800210
Jul 28 15:31:47 ip-xxx-xxx-xxx-xx qmail: 1185654707.932802 info msg 7800210: bytes 2118 from <> qp 21487 uid 2522
Jul 28 15:31:47 ip-xxx-xxx-xxx-xx qmail: 1185654707.941596 starting delivery 11: msg 7800210 to remote me@someotherdomain.com
Jul 28 15:31:47 ip-xxx-xxx-xxx-xx qmail: 1185654707.941657 status: local 0/10 remote 1/20
0
 
nightmare2Commented:
I'm lost there.
The question was about DNS and it seems to be set up correctly.
I found this tutorial about qmail / mailman to which you might want to have a look: http://www.kroon.co.za/howto.php?howto=qmail_mailman
0
 
jasonsbytesAuthor Commented:
Thanks for your help... I've decided to try a different route...  I"m going to have my server handle all mail and then relay everything that should go to the other mail host...  Of course that isn't working either, so I've posted a related question here:

http://www.experts-exchange.com/OS/Linux/Distributions/Fedora/Q_22726744.html
0
 
nightmare2Commented:
Ok. Good luck ;)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.