Page 1 of 1

How to set up an alias/forward address?

Posted: Mon May 08, 2006 3:38 pm
by Chris 1974CE
I've searched and searched, but I just can't find the answer to what I hope is a simple question.

How does one set up a forwarding address in Scalix?

For example, I want all mail sent to jsmith@ourdomain.com (on my Scalix server) to be automatically redirected to johns@otherdomain.com (on some random server out there).

Thanks!

Posted: Mon May 08, 2006 5:30 pm
by pete
sxaa --add --username user --forward [address@domain | S=Last/G=First/OU1=mailnode] [--text file.txt]

Posted: Wed May 10, 2006 11:44 am
by Chris 1974CE
pete wrote:sxaa --add --username user --forward [address@domain | S=Last/G=First/OU1=mailnode] [--text file.txt]


Thanks for getting me started! However, this isn't quite what is needed. Here is the final solution:

omaddu -n <username>/<mailnode>/internet-addr=<username>@<domain>
sxaa --user <username>@<domain> --redirect <otheraddress>

sxaa doesn't have an --add option, so omaddu must be run first. Also, the --redirect option should be used instead of --forward so the mail doesn't pile up in the placeholder account.

Thanks again!

Posted: Wed May 17, 2006 2:56 pm
by Mythrol
Cool that worked for me as well... thanks...

How does one disable redirect?

Posted: Wed May 31, 2006 6:05 pm
by vlaurenz
Mythrol wrote:How does one disable redirect?


bump, because I'd like to know as well.

Posted: Wed May 31, 2006 8:40 pm
by ScalixSupport
What do you mean by disable redirect?

You can use sxaa to delete the rule you created with sxaa.

What am I missing?

Regards,
Don

Posted: Thu Feb 01, 2007 12:24 am
by les
Chris 1974CE wrote:
pete wrote:sxaa --add --username user --forward [address@domain | S=Last/G=First/OU1=mailnode] [--text file.txt]


Thanks for getting me started! However, this isn't quite what is needed. Here is the final solution:

omaddu -n <username>/<mailnode>/internet-addr=<username>@<domain>
sxaa --user <username>@<domain> --redirect <otheraddress>

sxaa doesn't have an --add option, so omaddu must be run first. Also, the --redirect option should be used instead of --forward so the mail doesn't pile up in the placeholder account.

Thanks again!


Thought i might just alert you to this......

I did the same in Version 11 of scalix,

however the concerning thing is that the user gets created without a password, and i could login to SWA without a password!!! All sorts of security problems with that, among other ways to access the box......

you should at least add the following switches.....

--swa N --class limited --lock-password

thus no login and only a standard license used. If the user graduates to a fully fledged mail user, then set the password and unlock it via sac and enable SWA etc.