ExtMail服务器社区's Archiver

rickcart 发表于 2008-2-2 00:15

extman登录后关闭窗口再登录失败

[b]登录环境[/b]

[b]firefox 2(多窗口浏览器)、[/b][b]IE6(单窗口浏览器)、[/b][b]IE7(多窗口浏览器)[/b]

请记忆我登陆的用户名 [color=Gray]未钩选[/color]
IP安全 [b]钩选[/b]

[b]重现方式:[/b]

假设登录后台地址为 [url=http://mail.yourdomain.com/extman/]http://mail.yourdomain.com/extman/[/url]

帐号 [email]admin@yourdomain.com[/email]

使用同一个帐号进行此操作


[b]firefox 2[/b]
1、清空所有cookie;
2、登录extman,进入后台后无论是否有操作,关闭该子窗口,不关闭浏览器
3、重新进入后台地址登录,此时无论密码正确与否,均无法登入后台。

[b]IE6(单窗口浏览器)[/b]
保持一个窗口不关闭,与firefox现象一致

[b]IE7(多窗口浏览器)[/b]
与 firefox 操作方式一致则现象一致。

不关闭浏览器的情况下,清空所有cookie后再登录时正常。
关闭浏览器或IE6全部窗口,重开浏览器再登录则可以正常登录。

[u]以上现象可重复。[/u]

[b]疑点:[/b]
cookie 的问题?如何解决?



附带webman.cf设置[code]# sys_config, the config file and webman programe root
SYS_CONFIG = /usr/local/www/data/extman/

# sys_langdir, the i18n dir
SYS_LANGDIR = /usr/local/www/data/extman/lang

# sys_templdir, the template dir
SYS_TEMPLDIR = /usr/local/www/data/extman/html

# maildir_base, the base dir of user maildir, use absolute path
# if not set.
SYS_MAILDIR_BASE = /home/domains

# sys_warn, show system warning or not, default to yes
SYS_SHOW_WARN = 0

# sys_sess_dir, the session dir
SYS_SESS_DIR = /tmp/extman/

# sys_captcha_on 1|0 - to enable captcha feature or not
SYS_CAPTCHA_ON = 1

# sys_captcha_key
SYS_CAPTCHA_KEY = r3s9b6a7

# sys_captcha_len
SYS_CAPTCHA_LEN = 6

# sys_sess_timeout, session timeout in seccond, default 6 hours
# SYS_SESS_TIMEOUT = 21600

# sys_user_psize, user default page_size
SYS_PSIZE = 10

# sys_user_lang, user default language
# SYS_LANG = en_US

# sys_app_type, the app type: WebMail or ExtMan? It must be the same
# as prefix part of language package name, eg: WebMail::en_US
SYS_APP_TYPE = ExtMan

# sys_template_name, the template name
SYS_TEMPLATE_NAME = default

# web management related restritions
# sys_default_expire, valid value: ?y ?m ?d
SYS_DEFAULT_EXPIRE = 1y

# sys_groupmail_sender - sender for groupmail, this account must
# exist or postfix or other mta will complain error
SYS_GROUPMAIL_SENDER = postmaster@yourdomain.com

# sys_default_services, valid value: smtpd, smtp, webmail, netdisk,
# imap and pop3, concatenate with "," as multiple values, eg: webmail,smtpauth
SYS_DEFAULT_SERVICES = webmail,smtpd,smtp,pop3,netdisk

# sys_isp_mode, yes|no - if yes, use our HashDir to spread
# storage to multiple directories
SYS_ISP_MODE = no

# sys_domain_hashdir = yes|no, if yes we will enable domain hashdir
# depend on sys_isp_mode = yes
SYS_DOMAIN_HASHDIR = yes

# sys_domain_hashdir_depth, the hash length and depth, format:
# length x depth, eg: 2x1 => length =2, depth =1
# depend on sys_isp_mode = yes
SYS_DOMAIN_HASHDIR_DEPTH = 2x2

# sys_user_hashdir = yes|no, if yes we will enable user hashdir
# depend on sys_isp_mode = yes
SYS_USER_HASHDIR = yes

# sys_user_hashdir_depth, similar to sys_hashdir_domain_depth
SYS_USER_HASHDIR_DEPTH = 2x2

# XXX FIXME
# experimental feature, per domain tranport/routing capability
# same config style as SYS_USER_ROUTING_LIST
# SYS_DOMAIN_ROUTING_LIST = lmtp:mx1.extmail.org,lmtp:mx2.extmail.org

# XXX FIXME
# experimental feature, per user routing capability
# please specify routing info, concatenate with "," as multiple list
# members, eg: smtp:mx1.abc.com,smtp:mx2.abc.com
# SYS_USER_ROUTING_LIST = smtp:[192.168.2.130],smtp:[192.168.2.128]

# sys_min_uid, the minimal uid
SYS_MIN_UID = 500

# sys_min_gid, the minimal gid
SYS_MIN_GID = 100

# sys_default_uid, if not set, webman will ignore it
SYS_DEFAULT_UID = 1000

# sys_default_gid, if not set, webman will ignore it
SYS_DEFAULT_GID = 1000

# sys_quota_multiplier, in bytes, default to 1 MB
SYS_QUOTA_MULTIPLIER = 1048576

# sys_quota_type, valid type: vda|courier
SYS_QUOTA_TYPE = courier

# maxquota, alias, users and netdisk quota for domain
SYS_DEFAULT_MAXQUOTA = 500
SYS_DEFAULT_MAXALIAS = 100
SYS_DEFAULT_MAXUSERS = 100
SYS_DEFAULT_MAXNDQUOTA = 500

# per user default quota, netdisk quota and expire
SYS_USER_DEFAULT_QUOTA = 5
SYS_USER_DEFAULT_NDQUOTA = 5
SYS_USER_DEFAULT_EXPIRE = 1y

# sys_backend_type mysql|ldap
SYS_BACKEND_TYPE = mysql

# sys_crypt_type: crypt|cleartext|plain|md5|md5crypt|plain-md5|ldap-md5|sha|sha1
SYS_CRYPT_TYPE = md5crypt

# if mysql, all relate paramters should prefix as SYS_MYSQL
SYS_MYSQL_USER = extman
SYS_MYSQL_PASS = passwordhere
SYS_MYSQL_DB = extmail
SYS_MYSQL_HOST = localhost
SYS_MYSQL_SOCKET = /tmp/mysql.sock
# table name
SYS_MYSQL_TABLE = manager
SYS_MYSQL_ATTR_USERNAME = username
SYS_MYSQL_ATTR_PASSWD = password
# comment it if you only want to save crypted password
# we highly recommend that you disable the following line :)
# SYS_MYSQL_ATTR_CLEARPW = clearpwd

# if ldap, all relate paramters should prefix as SYS_LDAP
SYS_LDAP_BASE = dc=yourdomain.com
SYS_LDAP_RDN = cn=Manager,dc=yourdomain.com
SYS_LDAP_PASS = secret
SYS_LDAP_HOST = localhost
# ldif attributes
SYS_LDAP_ATTR_USERNAME = mail
SYS_LDAP_ATTR_PASSWD = userPassword
# comment it if you only want to save crypted password
# we highly recommend that you disable the following line :)
# SYS_LDAP_ATTR_CLEARPW = clearPassword

# sys_rrd_datadir, the full path of rrd data
SYS_RRD_DATADIR = /var/db/extmail

# sys_rrd_tmpdir, the temp dir for graph
SYS_RRD_TMPDIR = /tmp/viewlog

# sys_rrd_queue_on, yes|no, show queue or not
SYS_RRD_QUEUE_ON = yes[/code]

[[i] 本帖最后由 rickcart 于 2008-2-2 00:20 编辑 [/i]]

zlhgo 发表于 2008-2-5 01:13

恩。小弟也遇到同样的问题。
我用的是IE 6.0 关闭所有窗口。清空cookies
登陆正常

谢谢  

hzqbbc 发表于 2008-6-8 22:36

此问题已修正,增加了已经登陆的提示。主要问题就是已经登陆,cookie里有了sid,而登陆界面没有提示,继续登陆时则会导致混乱。

页: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.