Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: icemannz on August 31, 2006, 11:19:27 PM

Title: Is It Possible
Post by: icemannz 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
Title: Re: Is It Possible
Post by: frond 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.
Title: Is It Possible
Post by: icemannz 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
Title: Re: Is It Possible
Post by: CharlieBrady 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.
Title: Is It Possible
Post by: JonB on September 01, 2006, 08:03:47 AM
It has already been implemented. Read

http://bugs.contribs.org/show_bug.cgi?id=1253

http://forums.contribs.org/index.php?topic=32167.0

Jon
Title: Is It Possible
Post by: frond on September 01, 2006, 10:41:27 AM
JonB

> It has already been implemented

My apologies, well done Gordon & the sponsor.
Title: Is It Possible
Post by: mike_mattos 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"
Title: Is It Possible
Post by: frond 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