On Fri, 12 Jul 2002, Jesse Keating wrote: > Is there a way I can set a session timeout on webmail? The default timeout is > too quickly, and my users are complaining about lost letters because of it.
>From the INSTALL file: Adjusting session timeouts A login session is automatically logged out after certain period of inactivity. The timeout period defaults to 20 minutes, and is set by the --enable-softtimeout option to the configure script. It is also possible to adjust this value by setting the SQWEBMAIL_TIMEOUTSOFT environment variable. For example, with Apache, by adding the following to httpd.conf: SetEnv SQWEBMAIL_TIMEOUTSOFT 3600 There is also a hard timeout, which logs out a session no matter what. The default of two hours is changed with the --enable-hardtimeout option to the configure script, and the SQWEBMAIL_TIMEOUTHARD environment variable. WARNING: The hard timeout interval is used to calculate the maintenance of the login cache (if that option is selected). This factor is used in the cleancache.pl cleanup script, and changes to this value must be coordinated appropriately. It is not possible to use different hard timeout values with the same login cache (in different virtual domains, as described in the next session). Leisurely tinkering with this environment variable is STRONGLY DISCOURAGED, it's very easy to screw up the whole system. You've been warned. If you adjust the hard timeout, you must simultaneously delete your current login cache directory, and adjust $timeouthard in the installed cleancache.pl script. Is this what you were looking for? -- Juha Saarinen ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Gadgets, caffeine, t-shirts, fun stuff. http://thinkgeek.com/sf _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
