Koozali.org: home of the SME Server

Is It Possible

icemannz

Is It Possible
« on: August 31, 2006, 11:19:27 PM »
I would like to do the following,
Run an SME 7 server as a front SMTP server.
It will need to accept mail for  multiple domains.
Email for these domains will need to be forwareded to different servers.
ie: mydomain.com forwarded to 192.168.10.1
    mydomian2.com forwarded to 192.168.10.5
    mydomain3.com forwarded to 192.168.10.6

Also I need to be able to relay for some external people, so I will need to be able to enter in ip addresses that are allowed to relay through the SME server.

Any help is appreciated

frond

Re: Is It Possible
« Reply #1 on: September 01, 2006, 05:21:10 AM »
icemannz

> It will need to accept mail for  multiple domains.
> Email for these domains will need to be forwareded to different servers.

You can only do that for one domain
The earlier panel that dungog was developing had that functionality, but he withdrew it, saying there would be no further development for a long time.


> Also I need to be able to relay for some external people, so I will need > to be able to enter in ip addresses that are allowed to relay through the > SME server.

Try the local networks panel, or just give them secure email access.

icemannz

Is It Possible
« Reply #2 on: September 01, 2006, 05:47:04 AM »
Thanks for the info,
I was able to do this with version 6.0 by editing some of the conf files but I haven't found a way to achive it in version 7

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Is It Possible
« Reply #3 on: September 01, 2006, 05:57:49 AM »
Quote from: "icemannz"
I would like to do the following,
Run an SME 7 server as a front SMTP server.
It will need to accept mail for  multiple domains.
Email for these domains will need to be forwareded to different servers.
ie: mydomain.com forwarded to 192.168.10.1
    mydomian2.com forwarded to 192.168.10.5
    mydomain3.com forwarded to 192.168.10.6


Search the bug tracker. That's already been entered as a Feature request. It may also already have been implemented by Gordon Rowell. If not, I expect he's open to offers of sponsorship to develop the feature.

Offline JonB

  • *
  • 351
  • +0/-0
Is It Possible
« Reply #4 on: September 01, 2006, 08:03:47 AM »
...

frond

Is It Possible
« Reply #5 on: September 01, 2006, 10:41:27 AM »
JonB

> It has already been implemented

My apologies, well done Gordon & the sponsor.

Offline mike_mattos

  • *
  • 313
  • +0/-0
Is It Possible
« Reply #6 on: September 01, 2006, 05:37:35 PM »
Thanks, JohnB

Two thoughts,

1. Which file contains this information so we can review settings when mail isn't where we expect it?

2.  If you register your domains with easydns (a typical DNS provider), you can configure multiple hosts within your "domain" , even if you don't use dynamic name service, and assign mail to the desired host.  Plus they act as a backup mail server and when some idiot severs your phone cables, you can reconfigure & be back on line in a couple of minutes !

Mike

JohnB's method

db domains setprop test.com MailServer 192.168.3.20

where test.com is the virtual domain in question and MailServer is the IP address of the SMTP host.

signal-event email-update

This will send all mail for test.com to SMTP host at 192.168.3.20 but will deliver all the rest locally.

Jon"
...

frond

Is It Possible
« Reply #7 on: September 01, 2006, 06:11:51 PM »
mike_mattos

> Which file contains this information so we can review settings...

/home/e-smith/db/domains

db domains show