sxaa - replys are blank

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

dei-biea
Posts: 13
Joined: Fri Nov 24, 2006 12:13 am

sxaa - replys are blank

Postby dei-biea » Fri Dec 22, 2006 5:34 pm

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!

dei-biea
Posts: 13
Joined: Fri Nov 24, 2006 12:13 am

Postby dei-biea » Tue Dec 26, 2006 12:10 pm

bump??? Any help here?

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Dec 27, 2006 7:39 am

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

dei-biea
Posts: 13
Joined: Fri Nov 24, 2006 12:13 am

Postby dei-biea » Wed Dec 27, 2006 11:53 am

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

Code: Select all


sxaa --user "test user/exchange"




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


ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu Dec 28, 2006 7:26 am

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:

Code: Select all

dos2unix reply.txt


Disable the current OOF reply rule using the command:

Code: Select all

sxaa --user "test user/exchange" --off 1002


Check if the current OOF reply rule has been disabled using:

Code: Select all

sxaa --user "test user/exchange"


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

dei-biea
Posts: 13
Joined: Fri Nov 24, 2006 12:13 am

Postby dei-biea » Thu Dec 28, 2006 1:12 pm

The file was created in unix. on the scalix box itself..

I'll try to specify the maildomain exchange, and see what it does

dei-biea
Posts: 13
Joined: Fri Nov 24, 2006 12:13 am

Postby dei-biea » Thu Dec 28, 2006 1:13 pm

oh. wait. I did specify "exchange"


so.. no. same problem.

dei-biea
Posts: 13
Joined: Fri Nov 24, 2006 12:13 am

Postby dei-biea » Thu Dec 28, 2006 1:21 pm

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??

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu Dec 28, 2006 1:37 pm

The sxaa.readme file gives this as the usage:

sxaa --user user --reply --text file.txt

Please give that a try.

Regards,
Don

dei-biea
Posts: 13
Joined: Fri Nov 24, 2006 12:13 am

Postby dei-biea » Thu Dec 28, 2006 1:47 pm

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:~#                   



ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Dec 29, 2006 7:30 am

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.in
Globally 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


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 3 guests

cron