谁用过Imail外挂数据库?
安装Imail过程中可选择使用数据库的类型:
1、Windows NT User Database
2、Imail User Database
3、External Database(ODBC compliant)
我安装时首先在系统中建立一个ODBC数据源,然后安装到这一步时选择第三项,使用了Access数据库。
安装后发现在Imail管理界面中新建的虚拟站点,在Access中会新增一个表;打开Access数据库,在其中新建一个表,会在Imail中新增一个站点。
于是我想通过asp脚本语言操作Access数据库,达到从web页面管理Imail站点的目的。但我发现由于Imail通过ODBC数据源占用了Access数据库文件,所以用asp脚本语言无法建立同Access数据库的连接,就无法实现我上述的目的。
请问哪位曾做过这方面的尝试?介绍一下经验。
另,后我改用Micorsoft Sql Server数据库,好象在Sql的企业管理器中看不到Imail中的站点。
------------------------------------------------------------------------------------------
1.在DSN中新建数据源.
2.IMail Administrator中设成"其它数据库"
3.配置中选择你的目标数据库的数据源.
注意的是:操作数据库使用的帐号的权限,尽量开到比较大哦..
http://www.5dmail.net/bbs/Announce/Announce.asp?BoardID=33&ID=1777
2.IMail Administrator中设成"其它数据库"
3.配置中选择你的目标数据库的数据源.
注意的是:操作数据库使用的帐号的权限,尽量开到比较大哦..
http://www.5dmail.net/bbs/Announce/Announce.asp?BoardID=33&ID=1777
去 IMAIL的站点找到了以下内容 请参考:
For users using SQL 7.0 or above: In the ODBC Data Source Name input the line: IMAILSECDB; UID=username; PWD=password. The user name and password need to be the user ID and password for the SQL database and not an IMail Server account.
用sqlserver 的 user 配完系统的ODBC后
再在IMAIL EXTERNAL DATABASE 的CONFIG里
用 IMAILSECDB; UID=username; PWD=password
For users using SQL 7.0 or above: In the ODBC Data Source Name input the line: IMAILSECDB; UID=username; PWD=password. The user name and password need to be the user ID and password for the SQL database and not an IMail Server account.
用sqlserver 的 user 配完系统的ODBC后
再在IMAIL EXTERNAL DATABASE 的CONFIG里
用 IMAILSECDB; UID=username; PWD=password