Page 1 of 1

forward all incoming email to multiple accounts

Posted: Fri Oct 13, 2006 3:02 pm
by kazinvan
I have several users on the system that need email forwarded to several accounts. For example, I have user say John Smith (jsmith), all incoming email needs to go to him, his assistant (also on the scalix server - jdoe), and his blackberry (external email).

In sendmail, I had just set up an alias:

jsmith -> jsmith, jdoe, 38393939@blackberry.net

How can I do this in Scalix? Groups? Can a group name be the same as a system email address?

Thanks,
Mike

Posted: Fri Oct 13, 2006 3:09 pm
by mweichert
Lookup in the forums about a command called sxaa. I haven't used it myself but I know that is what you use to accomplish what you are after.

Regards,
Mike

Posted: Fri Oct 13, 2006 3:11 pm
by mweichert

Posted: Sat Oct 21, 2006 3:52 pm
by kazinvan
Thanks for the replies, I managed to get it working but now have a question about sxaa itself.

I can see the rules:

# sxaa --user user@domain.com
OOF FLT OLK AANO ACTION TITLE STATE
--- --- --- ---- ---------- ------------------------------ --------
600 REDIRECT SXAA REDIRECT:600 enabled
601 REDIRECT SXAA REDIRECT:601 enabled
602 REDIRECT SXAA REDIRECT:602 enabled

How do I actually see where these redirects are going?

Mike

Posted: Sat Oct 21, 2006 8:45 pm
by dkelly
You need to use the --info command which is documented in the README file.

Cheers

Dave

Posted: Sun Oct 22, 2006 12:44 pm
by kazinvan
I already took a look at the readme, that didn't help me out.

The readme states:

----------------------------------------------------------------------------------------
FLT indicates if a condition is applied to this rule.
----------------------------------------------------------------------------------------

And:

----------------------------------------------------------------------------------------
Displaying Conditions
---------------------
If the FLT column for a rule shows that a condition has been supplied, you can view the condition by using the --info option.

sxaa --user user --info reference
----------------------------------------------------------------------------------------

However my rules do not have conditions, when I try to run "sxaa --user user@domain --info reference" I get the same result:

Traceback (most recent call last):
File "/usr/local/bin/sxaa", line 880, in ?
main()
File "/usr/local/bin/sxaa", line 739, in main
action_reference = int(arg)
ValueError: invalid literal for int(): reference

Posted: Sun Oct 22, 2006 1:33 pm
by dkelly
That's because you've literally typed the word "reference" and not the number corresponding to the rule.

Cheers

Dave