Koozali.org: home of the SME Server

SME 7 forward to SME6 can this be done

Offline mcp_dk

  • **
  • 34
  • +0/-0
    • http://lillenet.dk
SME 7 forward to SME6 can this be done
« on: June 21, 2006, 09:34:35 PM »
I have a SME6 running roughly 30 websites for friends and relatives and other. Its running in "server only" mode behind a normal router.

If i make a new SME7 box and use it "Server+gateway" mode can i then make som kind of forward rules that when someone tries to access domain1.com it is forwarded to my SME6 box and when someone tries to access Domain40.com it gets directed to the proper ibay on my SME7?

I would then over a period of time move my domains and users to the SME7 box and then shut down the SME6 box.

The reason i don't want to do an upgrade of the SME6 is that there is soo much customisation and dead users and domains and i just don't have the energy to clean it up. It would be so much easier to do a clean sme7 and move the relevant users and domains over one by one.

I hope you understand my question.
Who is General Failure and why is he reading my harddrive?

Offline mcp_dk

  • **
  • 34
  • +0/-0
    • http://lillenet.dk
SME 7 forward to SME6 can this be done
« Reply #1 on: June 27, 2006, 02:28:50 PM »
is there really no one who can give me a simple Yes og No to this question ?
Who is General Failure and why is he reading my harddrive?

Offline kmccarn

  • ****
  • 112
  • +0/-0
SME 7 forward to SME6 can this be done
« Reply #2 on: June 28, 2006, 01:42:05 PM »
Should be able to just set it up and forward port 80, 443, 22, 25, 110, etc....

And it should be fine.

Just forward the same ports that are forwarded on your router.

 :-D
Kevin in WV 8-)......

Offline mcp_dk

  • **
  • 34
  • +0/-0
    • http://lillenet.dk
SME 7 forward to SME6 can this be done
« Reply #3 on: July 03, 2006, 11:36:22 AM »
okay.. but wouldn't that do it for ALL domains? I only want to do it for some domains and leave some domains on SME6 server
So it is like this

internet-->[SME6-Server] --> [SME7-Server]
.................Domain 1...............Domain 4
.................Domain 2...............Domain 6
.................Domain 3...............Domain 7...
.................Domain 5...
Who is General Failure and why is he reading my harddrive?

wallyrp

SME 7 forward to SME6 can this be done
« Reply #4 on: July 04, 2006, 02:37:59 AM »
Good Evening,

Ok, I've tried to port forward everything in the world that I can think of that deals with email to the internal SME v6.x email server-only box with no luck. I'm port forwarding from an SME v7.x RC3. I have the following on my email settings on the SME v7.x RC3:

E-mail settings
   POP3 server access  Disabled
IMAP server access  Disabled
Webmail access  Disabled
Change e-mail access settings
--------------------------------------------------------------------------------
Virus scanning  Enabled
Spam filtering  Enabled
Executable content blocking  Disabled
Change e-mail filtering settings
--------------------------------------------------------------------------------
E-mail retrieval mode  Standard (SMTP)
SMTP authentication  Allow SSMTP (secure)
Change e-mail reception settings
--------------------------------------------------------------------------------
Forwarding address for administrative notices  admin@domain.name
E-mail to unknown users  Return to sender
Address of internal mail server  x.x.x.x
Address of Internet provider's mail server  
Change e-mail delivery settings

NOTE: I hid the actual email and IP addresses for security.

Here are the ports I have forwarded from the SME v7 RC3 box:

TCP 22 x.x.x.x 22 Remove
TCP 25 x.x.x.x 25 Remove
TCP 21 x.x.x.x 21 Remove
TCP 443 x.x.x.x 443 Remove
TCP 80 x.x.x.x 80 Remove
TCP 110 x.x.x.x 110 Remove

NOTE: I hid the actual IP addresses for security.

I have ASSP installed on the SME v6.x box and would also like to use SpamAssassin that is installed on the SME v7 RC3 box together. I want SpamAssassin to filter stuff and then forward to ASSP so it can filter again. That is the utopia that I would like to reach. If I can't reach that, I would like to at least use ASSP only.

I can send email out from the SME v6.x box just fine but cannot receive any.

wallyrp

SME 7 forward to SME6 can this be done
« Reply #5 on: July 04, 2006, 03:08:06 AM »
Good Evening,

One more thing to add, on the SME v7 RC3 box, I've also modified the hostnames section:

contentfilter.domain.name Self x.x.x.1      
ftp.domain.name Self x.x.x.1   Modify  Remove  
mail.domain.name Remote x.x.x.2   Modify  Remove  
proxy.domain.name Self x.x.x.1   Modify  Remove  
wpad.domain.name Self x.x.x.1   Modify  Remove  
www.domain.name Remote x.x.x.2   Modify  Remove  

NOTE: I hid the actual IP and domain name for security. All the x.x.x is local IP addressing.

wallyrp

SME 7 forward to SME6 can this be done
« Reply #6 on: July 04, 2006, 03:27:48 AM »
Good Evening,

Still scratching my head here. One more thing:

Quote
The server's transparent SMTP proxy works to reduce virus traffic from infected client hosts by forcing all outgoing SMTP traffic through this server. If you wish to use an alternate SMTP server, and this server is your gateway to it, disable this proxy.
 
SMTP proxy status Disabled


I'm assuming that I need to set this to Disabled if I'm forwarding everything to an internal email server?

Offline raem

  • *
  • 3,972
  • +4/-0
SME 7 forward to SME6 can this be done
« Reply #7 on: July 04, 2006, 08:15:20 AM »
wallyrp

> Still scratching my head here.

Better stop that or you'll get a bald spot !
Search instead !

I think the simple answer is to create ProxyPass entries for each domain, one by one as required.
There is a contrib for sme6 too.
http://www.tech-geeks.org/contrib/loveless/proxypass/dmc-mitel-proxypass-0.0.1-3.noarch.rpm
or sme7
http://forums.contribs.org/index.php?topic=32041.msg135291#msg135291
...

Offline mcp_dk

  • **
  • 34
  • +0/-0
    • http://lillenet.dk
SME 7 forward to SME6 can this be done
« Reply #8 on: July 04, 2006, 09:52:16 AM »
it seems that my thread got hijacked.... any chance of an answer to my question ?
Who is General Failure and why is he reading my harddrive?

Offline raem

  • *
  • 3,972
  • +4/-0
SME 7 forward to SME6 can this be done
« Reply #9 on: July 04, 2006, 09:59:58 AM »
mcp_dk

> it seems that my thread got hijacked.... any chance of an answer to my question ?

The answer was for you. I quoted the wrong poster.

I think the simple answer is to create ProxyPass entries for each domain, one by one as required.
There is a contrib for sme6 too.
http://www.tech-geeks.org/contrib/loveless/proxypass/dmc-mitel-proxypass-0.0.1-3.noarch.rpm
or sme7
http://forums.contribs.org/index.php?topic=32041.msg135291#msg135291
...

Offline raem

  • *
  • 3,972
  • +4/-0
Re: SME 7 forward to SME6 can this be done
« Reply #10 on: July 04, 2006, 10:04:20 AM »
mcp_dk

> It would be so much easier to do a clean sme7 and move the relevant users and domains over one by one.

I tend to agree with that approach on a heavily modified server.
It will probably save you a lot of headaches and a lot of time.
...

Offline NickCritten

  • *
  • 245
  • +0/-0
SME 7 forward to SME6 can this be done
« Reply #11 on: July 04, 2006, 03:10:56 PM »
mcp_dk

Could you set up your new server with a different Public IP address, then copy your websites across to the new server, and update your public DNS entries with the new IP address.

this way you wouldn't have to set up proxypass, and you can move your domains one by one at your leisure.

Of course, the is dependant upon you having multiple Public IP's, which you may not have. :-)
...
Nick

"No good deed goes unpunished." :-x...

wallyrp

SME 7 forward to SME6 can this be done
« Reply #12 on: July 04, 2006, 04:36:08 PM »
Good Morning,

OK, well, I'm trying to get this resolved before I leave today or else I'll have to put the old server back online. I thought that I'd post in this thread because of the title is directly related to my issue.

Do ya'll have any idea'rs or suggestions?

Offline NickCritten

  • *
  • 245
  • +0/-0
SME 7 forward to SME6 can this be done
« Reply #13 on: July 04, 2006, 05:09:11 PM »
Wally, someone has already told you to RTFM..

I'm tempted to do the same, but I'm feeling charitable.

You are REALLY mixed up by the look of things.


All you have to do is Fresh install your SME7 (local ip of say 192.168.0.1) and in Server-Manager -> e-mail -> 'change e-mail delivery settings'
Put the ip address of your SME6 box you want to do the email.. (e.g. 192.168.0.2)

Thats it.
...
Nick

"No good deed goes unpunished." :-x...

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
SME 7 forward to SME6 can this be done
« Reply #14 on: July 04, 2006, 05:10:07 PM »
Quote
Could you set up your new server with a different Public IP address, then copy your websites across to the new server, and update your public DNS entries with the new IP address.


Nick, just what the doctor ordered, thanks!
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.