Page 1 of 1
sxaa - replys are blank
Posted: Fri Dec 22, 2006 5:34 pm
by dei-biea
I've downloaded the latest sxaa, and when I do:
Code: Select all
sxaa --user user --reply reply.txt
It works... Except that the OOF message I get back is blank. It's as if it didn't read the contents of the reply.txt?
Any ideas?
Thanks!
Posted: Tue Dec 26, 2006 12:10 pm
by dei-biea
bump??? Any help here?
Posted: Wed Dec 27, 2006 7:39 am
by ScalixSupport
Hi,
I just tried what you said and I am able to get "
Out of office reply".
I must suggest you to access the URL for rules wizard that would be:
http://<scalix-server-name>/Scalix/rw
Login to the user account for whom the rule has been set. See if you are able to see something similar to
SXAA REPLY:600 under rule name within the rules wizard window.
If yes, click on it and check the Properties and Action for the same.
1. When you are checking Properties see if the check box next to Enabled is checked.
2. When you check Action, see if the drop down menu for "When an incoming message arrives, perform the following action:" is "Out of office reply" and see if the contents of reply.txt file appears in the text box for "
Message:".
Thanks,
Subir
Posted: Wed Dec 27, 2006 11:53 am
by dei-biea
It does show up, both in the rules wizard, and when I simply do a sxaa with the username...
It shows up with a rule id of
However the contents for
Message are blank. it doesn't appear to have transfered the reply.txt
Here is exactly what I did:
Code: Select all
sxaa --user "test user/exchange" --reply reply.txt --title "OOF MESSAGE - IT PLACED"
When I did a
it yields:
Code: Select all
OOF FLT OLK AANO ACTION TITLE STATE
--- --- --- ---- ---------- ------------------------------ --------
500 FORWARD Scalix OOA Auto Action disabled
Y 501 REPLY Scalix OOA Auto Action disabled
Y Y 1000 FILE Scalix Rule: 247 enabled
Y Y 1001 FILE Scalix Rule: arnold rule enabled
Y 1002 REPLY OOF MESSAGE - IT PLACED enabled
Posted: Thu Dec 28, 2006 7:26 am
by ScalixSupport
Hi!
If the file reply.txt was created in a Windows machine and trasferred to Linux machine
for use with sxaa, then use the following command to convert plain text file in DOS/MAC format to UNIX format:
Disable the current OOF reply rule using the command:
Code: Select all
sxaa --user "test user/exchange" --off 1002Check if the current OOF reply rule has been disabled using:
Now, create the rule once again using the following command:
Code: Select all
sxaa --user "test user/exchange" --reply reply.txt --title "OOF MESSAGE - IT PLACED"
Now, check the results once again, if you now get the OOF mail with the contents of reply.txt.
Thanks,
Subir
Posted: Thu Dec 28, 2006 1:12 pm
by dei-biea
The file was created in unix. on the scalix box itself..
I'll try to specify the maildomain exchange, and see what it does
Posted: Thu Dec 28, 2006 1:13 pm
by dei-biea
oh. wait. I did specify "exchange"
so.. no. same problem.
Posted: Thu Dec 28, 2006 1:21 pm
by dei-biea
I'd be happy using another way to gain access to the users box instead of using the sxaa, but how can I ??
i.e. if I try to gain access to the rules wizard with mboxadmin... like I can with imap, but it doesn't work with the
http://server/Scalix/rw login
i.e. I can't use
mboxadmin:setup:username when I login... it doesn't work.
How else can I login as a user to modify the rules wizard??
Posted: Thu Dec 28, 2006 1:37 pm
by ScalixSupport
The sxaa.readme file gives this as the usage:
sxaa --user user --reply --text file.txt
Please give that a try.
Regards,
Don
Posted: Thu Dec 28, 2006 1:47 pm
by dei-biea
This is the latest sxaa... in which it's said the --text funtion with the --reply was taken out...
and... hence...
Code: Select all
(primary) corpmail:~# sxaa --user "testuser/exchange" --reply --text reply.txt
cp: unrecognized option `--text'
Try `cp --help' for more information.
or... if I simply do :
Code: Select all
primary) corpmail:~# sxaa --user "testuser/exchange" --text reply.txt
OOF FLT OLK AANO ACTION TITLE STATE
--- --- --- ---- ---------- ------------------------------ --------
Y Y 1000 FILE Scalix Rule: 247 enabled
Y Y 1001 FILE Scalix Rule: arnold rule enabled
Y 1002 REPLY SXAA REPLY:1002 enabled
(primary) corpmail:~#
[quote][/quote]shows up.. but when I login to the rw.. it still shows no text.
If I cat out reply.txt
it yields..
Code: Select all
(primary) corpmail:~# cat reply.txt
Hello, you've reached a test Out of Office e-mail. This is a test
(primary) corpmail:~#
Posted: Fri Dec 29, 2006 7:30 am
by ScalixSupport
Hi!
To come to your terms, even I created a user by name "test user"
[root@subir-rhel4 ~]# omaddu -n "test user/subir-rhel4" -p pass
omaddu : The user was added successfully
[root@subir-rhel4 ~]# omshowu -n "test user/subir-rhel4"
Authentication ID:
test.user@subir-rhel4.scalix.co.inGlobally Unique ID: 1f10000040412854-211.301.861.291
User Name : test user /CN=test user
MailNode : subir-rhel4
Internet Address : "test user" <test.user@subir-rhel4.scalix.co.in>
System Login : 60539
Password : set
Admin Capabilities : NO
Mailbox Admin Capabilities : NO
Language : C
Mail Account: Unlocked
Last Signon : Never.
Receipt of mail : ENABLED
Service level : 0
Excluded from Tidying : NO
Recovery Folder visible : NO
User Class : Full
SIS URL :
sxidx://subir-rhel4.scalix.co.in/0f1000 ... 01.861.291[root@subir-rhel4 ~]#
What result do you get when you run the command omshowu as below:
omshowu -n "test user/exchange"
You could also use the Rules Wizard for the user available in SWA, from the menu bar choose Tools -> Rules Wizard.
Warm Regards,
Subir