Koozali.org: home of the SME Server

multiple domain email - forward 1 domain? [solved]

jscramlin

multiple domain email - forward 1 domain? [solved]
« on: October 09, 2006, 03:05:19 PM »
Is there a way to configure my SME box to not process email for one of the domains I'm hosting?  

1 of the domains I'm hosting is using his own exchange server box & mail from the outside world is correctly getting routed to his server.  However, when email is sent thru my SME server, it resolves his domain locally and doesn't forward the email to his exchange server.  

I'm a SME newbie & haven't figured out how or if I can change this.  Ideas?

Thanks, Jeff

Offline mmccarn

  • *
  • 2,656
  • +10/-0
multiple domain email - forward 1 domain? [solved]
« Reply #1 on: October 09, 2006, 03:56:46 PM »
Take a look at http://forums.contribs.org/index.php?topic=32167.0.

Then intention of the "MailServer" record is to specify an Internal mail server, but it should work with an off-site mail server, too (at least it did on SME 6).

If that doesn't work (unlikely!), you could locate the sections in /etc/httpd/conf/httpd.conf that pertain to the domain in question and create your own custom templates to duplicate them, then delete the domain from "virtual domains".

- Michael

jscramlin

multiple domain email - forward 1 domain? [solved]
« Reply #2 on: October 09, 2006, 08:02:19 PM »
Worked beautifully!  Thanks for the help!!

Offline mmccarn

  • *
  • 2,656
  • +10/-0
multiple domain email - forward 1 domain? [solved]
« Reply #3 on: October 09, 2006, 08:05:07 PM »
Glad to hear it!

Be sure to make a note somewhere - the next time their email changes (new mx records, new ISP, whatever) you'll have to remember to change the MailServer setting on your box for their domain...

jscramlin

multiple domain email - forward 1 domain? [solved]
« Reply #4 on: October 09, 2006, 08:11:59 PM »
Will do.  I printed that command out & will put it in my little black book for future reference.