redirect to a diferent server

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

eyalm
Posts: 123
Joined: Mon Feb 27, 2006 12:15 am

redirect to a diferent server

Postby eyalm » Thu Apr 20, 2006 2:11 pm

I have both scalix and Lotus running. (we about to migrate to scalix).
about 10 users are using Scalix for now.
my problem is that I can't populate my SYSTEM address book with everybody b/c scalix will supose all those users are local (right?)
So what I'm doing right now is adding a Directory to outlook pointing to my openldap to those users using Scalix.
Is there a way to syncronize the address book with my openldap but specify that for those users still using lotus, redirect their email to user@domain@lotusIP.. or something like that.

thanks.

leigh
Posts: 109
Joined: Tue Feb 07, 2006 11:35 pm
Location: At my desk.
Contact:

Postby leigh » Thu Apr 20, 2006 9:08 pm

May not be quite the answer you're after, but I'm in a similar situation as far as migrating goes (allbeit with sendmail, etc. rather than lotus), and I've done it this way:
Set up an MX record to a sub-domain of your real domain and point it to the new scalix server. In my case, we have 2 domains anyway, one of which we don't use, so I used it. If you don't have a domain spare (and let's face it, who does?), use something like temp.yourdomain.com
Don't add users to your scalix server until you are ready to migrate them.
On your old server, set up an alias which sends all mail for user@yourdomain.com to user@temp.yourdomain.com
Once that is set up, add the user to your scalix server.
Now all incoming mail for that user goes to the new scalix server, but mail for all other users is sent to the old lotus server. If your other users are not set up on scalix, then the scalix server will not attempt local delivery of their mail, it will simply send it on to the correct server.
For the more paranoid among us, it should be possible to have the alias send a copy on to scalix, and also keep a local copy. (Works OK for sendmail.)
This way you can migrate your users one at a time without all the dramas.
The only gotcha here is the way scalix determines your "from:" address when you send mail. What you need to do is set up your users in SAC, with their real email address at the top of the list, and then add user@temp.domain.com further down the list. Otherwise scalix will send email out with the "from:" address as user@temp.yourdomain.com (I got bitten with that one early on.)

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Fri Apr 21, 2006 3:29 am

Some more things you may be able to use:

1) You can create all the mailboxes and then have some of them auto-forward back to the original server, and have the migrated mailboxes on the original server auto-forward to Scalix.

2) You can create an Internet Mail User (does not have a mailbox) and handle the redirects in sendmail

3) Use omldapsync to auto-create the mailboxes from the original server, then use 1) above (must have LDAP)

There's some automated ways to do this described in the Migration Guide (specifically for Exchange 5.5), but to get access to that you will need to be a SBE or EE customer.

eyalm
Posts: 123
Joined: Mon Feb 27, 2006 12:15 am

Postby eyalm » Fri Apr 21, 2006 9:07 am

Leigh: That's the way I have it right now. my only problem is that I want to see all the users under the SYSTEM address book instead of adding my LDAP directory to Outlook.
I'd also like to have all of them under SYSTEM that way I can start using omldapsync to sync the password of those using Scalix with my openldap.

Valerin:
how do you do item# 2?.


I think in Exim you can do something like have a list of users that are local users but instead of attempting local delivery, smtp forward them to a diferent server (without changing the domain)


thanks guys!

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Fri Apr 21, 2006 10:14 am

Valerion wrote:2) You can create an Internet Mail User (does not have a mailbox) and handle the redirects in sendmail

Example: you have a user "Foo Bar" with address foo@domain.com. Sendmail contains domain.com in local-host-names

In SAC you would Create a user of type Internet Mail User, name it "Foo Bar" and give it email address foo@domain.com

Then in /etc/aliases create a entry
foo: real-address@other-domain.com

that points to your original mail server. I haven't tested any of this, but it should work. May need some tweaking, though.

The auto-forwarding option on existing mailboxes will probably work better in my opinion.

eyalm
Posts: 123
Joined: Mon Feb 27, 2006 12:15 am

Postby eyalm » Fri Apr 21, 2006 10:36 am

I seems like I can do this in sendmail using ldap_routing..
http://groups.google.com/groups?q=autho ... uting+null

any one knows if I can do the same with scalix's sendmail?

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Fri Apr 21, 2006 10:39 am

Scalix use the standard sendmail that comes with the distro. Any addresses Scalix doesn't know how to handle gets passed on to sendmail. So if there's no mailbox / other entity with that address, sendmail will route it for you.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 24 guests

cron