View Single Post
Old 28th March 2013, 14:15
horrorshow horrorshow is offline
Junior Member
Join Date: Mar 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Cool ISPConfig - Mail() does not route to remote MX when to domain on local server


I hate to ask a question for my first post, but I have a route added to transport to google's IP. This is added under Advanced Email Routing. The domain uses google apps.

When I try to send an email using PHP's mail() function to any other email address, it works fine. When sending to an email address of a site on the local server, it tries to route it to localhost:

Mar 28 15:01:31 vds1 postfix/smtpd[582]: NOQUEUE: reject: RCPT from localhost[]: 550 5.1.1 <>: Recipient address rejected: User unknown in relay recipient table; from=<> to=<> proto=ESMTP helo=<>

Mar 28 15:01:31 vds1 sendmail[652]: r2SC1UVX000652:, (48/48), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30079, relay=[] [], dsn=5.1.1, stat=User unknown

The domain is added as a site, but not a mail domain. Do I have this configured wrong, or is something else wrong? This is causing a form to not properly deliver emails.

Reply With Quote
Sponsored Links