admin setting user's vacation message

imsimta version:

SunOS mars 5.10 Generic_125100-08 sun4u sparc SUNW,Sun-Fire-V240

Sun Java(tm) System Messaging Server 6.3-0.15 (built Feb 9 2007)

libimta.so 6.3-0.15 (built 19:27:56, Feb 9 2007)

We have need to have an admin set a person's vacation message. The person could set their own by going to Messenger Express, but we have guidelines saying that we should not use web mail; we are reluctant to have people see the web mail interface when setting their vacation settings under the options tab. We don't want to have to tell them they can't use the web mail part.

I don't see where the vacation message can be set under the Delegated Administrator -- the field doesn't exist.

The Communications Express for "admin" gives just gives options for address book.

We can't log on to Messenger Express as admin -- we get the error:

SMIME not supported in Comm Express with old interface. Use

applet_fs_lr.html.

Maybe that is where we need to fix something.

One work around we thought of was to change the user's password, log in to Messenger Express and then reset the password (via ldapmodify options), but we really don't want to work that hard.

So, is there a way to set a user's vacation message as an administrator?

Hal Huntley

[1331 byte] By [halsria] at [2007-11-27 8:29:00]
# 1

Hi,

> imsimta version:

> SunOS mars 5.10 Generic_125100-08 sun4u sparc

> SUNW,Sun-Fire-V240

> Sun Java(tm) System Messaging Server 6.3-0.15 (built

> Feb 9 2007)

> libimta.so 6.3-0.15 (built 19:27:56, Feb 9 2007)

>

> We have need to have an admin set a person's vacation

> message. The person could set their own by going to

> Messenger Express, but we have guidelines saying that

> we should not use web mail; we are reluctant to have

> people see the web mail interface when setting their

> vacation settings under the options tab. We don't

> want to have to tell them they can't use the web mail

> part.

Are you using UWC? This also has a vacation message interface.

If a user is already logged into UWC, they can access just the vacation interface by going to:

http://uwc.system.com/uwc/base/MailPreferencesVacation

This is the trick that the Outlook Connector uses when you click on the 'out-of-office' option, it first logs you into the interface then redirects you to the page above. That way the end-user never has to 'see' that UWC exists.

> I don't see where the vacation message can be set

> under the Delegated Administrator -- the field

> doesn't exist.

Correct. Although you could add it in theory. Look at "Chapter 4 Customizing Delegated Administrator" in the delegated administrator administration guide.

> The Communications Express for "admin" gives just

> gives options for address book.

CE/UWC is not a user-administration tool for anybody other then the user who is logged in.

> One work around we thought of was to change the

> user's password, log in to Messenger Express and then

> reset the password (via ldapmodify options), but we

> really don't want to work that hard.

You can proxyauth into the customers account if you need to access the ME interface of a user:

http://iMSserver.whatever.com:port/login.msc?user=admin&password=admin& fmt-out=text/html&proxyauth=realuser

> So, is there a way to set a user's vacation message

> as an administrator?

Edit the vacation message LDAP attributes directly. At my previous organisation this is what we did - and created a front-end web-interface for end-users to change it themselves if they needed to.

Regards,

Shane.

shane_hjortha at 2007-7-12 20:19:10 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

Shane,

Thank you for the message.

> Are you using UWC? This also has a vacation message interface.

We have UWC -- going to the server/uwc gets me to the Sun Java System Communications Express login page.Is there any difference between "UWC" and "Communications Express"? We have version 6.3.

When I log in to my uwc, I get tabs for only for calendar, address book and options (which has calendar settings mostly).

> If a user is already logged into UWC, they can access

> just the vacation interface by going to:

>

> http://uwc.system.com/uwc/base/MailPreferencesVacation

I tried going to MailPreferencesVacation under my login under uwc and I got the following error:

An error occurred during this operation

The application is unable to process the request. Contact your

administrator.

Doh! -- I have to contact me :-)! -- and I don't know the answer.

Obviously, I need to configure some option or plug-in?

> This is the trick that the Outlook Connector uses

> when you click on the 'out-of-office' option, it

> first logs you into the interface then redirects you

> to the page above. That way the end-user never has to

> 'see' that UWC exists.

The concept is good -- I only need to get the MailPreferencesVacation going then?

> > I don't see where the vacation message can be set

> > under the Delegated Administrator -- the field doesn't exist.

> Correct. Although you could add it in theory. Look at

> "Chapter 4 Customizing Delegated Administrator" in

> the delegated administrator administration guide.

Again -- good. I looked at chapter 4 and the section on enabling plug-ins. Which jdapi do I enable? Or should I be looking at something else?

> CE/UWC is not a user-administration tool for anybody

> other then the user who is logged in.

No problem with that for me -- I just didn't know.

> You can proxyauth into the customers account if you

> need to access the ME interface of a user:

>

> http://iMSserver.whatever.com:port/login.msc?user=admi

> n&password=admin&fmt-out=text/html&proxyauth=realuser

That works quite well! It's difficult enough to type so that we won't want to do it unless really necessary.

> > So, is there a way to set a user's vacation message

> > as an administrator?

>

> Edit the vacation message LDAP attributes directly.

> At my previous organisation this is what we did - and

> created a front-end web-interface for end-users to

> change it themselves if they needed to.

If I had enough web-page and LDAP command experience -- I'd love to do that. Do you know of someone who may share a template for doing that? I think I know enough to tweak something.

Hal

halsria at 2007-7-12 20:19:10 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3

Hi,

> > Are you using UWC? This also has a vacation message

> interface.

>

> We have UWC -- going to the server/uwc gets me to

> the Sun Java System Communications Express login

> page.Is there any difference between "UWC" and

> "Communications Express"? We have version 6.3.

UWC and CE are the same thing - as with all companies the 'powers-that-be' decide to rename the same product again and again.

> When I log in to my uwc, I get tabs for only for

> calendar, address book and options (which has

> calendar settings mostly).

No mail tab? Ahh right, I think you missed a step when configuring messaging server/UWC.

Try the following:

cd <messaging server base>/sbin (e.g. cd /opt/SUNWmsgsr/sbin)

./configutil -o local.webmail.sso.uwcenabled -v 1

./stop-msg http; ./start-msg http

Then restart your webserver instance and try logging in again. Hopefully the mail tab shows up now.

> > If a user is already logged into UWC, they can

> access

> > just the vacation interface by going to:

> >

> >

> http://uwc.system.com/uwc/base/MailPreferencesVacation

>

>

> I tried going to MailPreferencesVacation under my

> login under uwc and I got the following error:

>An error occurred during this operation

> The application is unable to process the request.

> Contact your

>administrator.

> -- I have to contact me :-)! -- and I don't know the

> answer.

> Obviously, I need to configure some option or

> plug-in?

Refer above.

> > This is the trick that the Outlook Connector uses

> > when you click on the 'out-of-office' option, it

> > first logs you into the interface then redirects

> you

> > to the page above. That way the end-user never has

> to

> > 'see' that UWC exists.

>

> The concept is good -- I only need to get the

> MailPreferencesVacation going then?

It's a two step process, you need to log the user in first to get the SSO cookie and then you can throw them to this page. It should be possible to scrape up a CGI webpage using perl/whatever to achieve this.

> > > I don't see where the vacation message can be

> set

> > > under the Delegated Administrator -- the field

> doesn't exist.

>

> > Correct. Although you could add it in theory. Look

> at

> > "Chapter 4 Customizing Delegated Administrator" in

> > the delegated administrator administration guide.

>

> Again -- good. I looked at chapter 4 and the section

> on enabling plug-ins. Which jdapi do I enable? Or

> should I be looking at something else?

Good question :) Unfortunately delegated admin isn't my forte. You may want to ask your Sun Account Rep to raise RFE (request for enhancement) #65414718 - "Need an admin option to set users vacation message"

> > CE/UWC is not a user-administration tool for

> anybody

> > other then the user who is logged in.

> No problem with that for me -- I just didn't know.

>

> > You can proxyauth into the customers account if

> you

> > need to access the ME interface of a user:

> >

> >

> http://iMSserver.whatever.com:port/login.msc?user=admi

>

> >

> n&password=admin&fmt-out=text/html&proxyauth=realuser

>

> That works quite well! It's difficult enough to type

> so that we won't want to do it unless really

> necessary.

In my previous place of work we just made up a webpage which allowed you to enter the proxyauth password and the username you wanted to access and it would create the appropriate link and redirect you.

> > > So, is there a way to set a user's vacation

> message

> > > as an administrator?

> >

> > Edit the vacation message LDAP attributes

> directly.

> > At my previous organisation this is what we did -

> and

> > created a front-end web-interface for end-users to

> > change it themselves if they needed to.

>

> If I had enough web-page and LDAP command experience

> -- I'd love to do that. Do you know of someone who

> may share a template for doing that? I think I know

> enough to tweak something.

Unfortunately I don't -- the tools I used to use were part of a University wide utility set for controlling all sorts of LDAP entries (including mail entries) - so any information from this wouldn't be useful since its all custom language/templates.

Somebody else who reads this forum may want to share though...

Regards,

Shane.

shane_hjortha at 2007-7-12 20:19:10 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 4

Shane,

I got around to trying your suggestion below and I checked "configutil" and local.webmail.sso.uwcenabled is already set to "1".

Just for grins, I restarted mail http and the wbsvr instance, but I still do not see the tab for mail in uwc.

> > When I log in to my uwc, I get tabs for only for

> > calendar, address book and options (which has

> > calendar settings mostly).

>

> No mail tab? Ahh right, I think you missed a step

> when configuring messaging server/UWC.

>

> Try the following:

>

> cd <messaging server base>/sbin (e.g. cd

> /opt/SUNWmsgsr/sbin)

> ./configutil -o local.webmail.sso.uwcenabled -v 1

> ./stop-msg http; ./start-msg http

>

> Then restart your webserver instance and try logging

> in again. Hopefully the mail tab shows up now.

Hal

halsria at 2007-7-12 20:19:10 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 5

Hi,

If that didn't help you may want to see if the UWC logs show up anything. To enable UWC logging edit /var/opt/SUNWuwc/WEB-INF/config/uwclogging.properties, and change uwc.logging.enable to 'yes'.

You need to restart the UWC webserver instance for it to take affect.

The log file should be under /var/opt/SUNWuwc/logs/.

See if there is any errors or what-not that may indicate why your account can't see the tab. Also you may want to review the http and imap messaging server logs (/var/opt/SUNWmsgsr/log).

Regards,

Shane.

shane_hjortha at 2007-7-12 20:19:10 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...