实例介绍
全面的介绍了hmailserver+roundcube(apache+mysql+php)邮件服务器配置
Mai】 Server database set唧-Ste2af7 回区 Seleet option VE F Create a new MailServer database Seleet this option if you do not aready have a bai sarvar database and you want to create one now. Mailserver r es one database to FLL C Select a nes mailserver default database Select this option if you want to change the de fault mailserver server or database 选择创建一个新的 hmailserver数据库 < Previous Next Can吧e ek会话过期 选择 mysql 區Mi1 Server Database SetEp-Stp3小f7 Select database server type C Mirrnsnft SAT Server t Post L <Pevi如uE e Caneel ≯接下来设置 hmailserver数据库的地址,数据库名称以及管理数据库的用户及 其密码 hailSerwer Database Setup- step 4 of 7 □回区 E血电也三也e己0nnee: 1on inE。量i Database server address Port 数据库地址 bcho没 0 Database nams mailserver 数据库名称 Authemticadior c Use server authentication Username o 数据库用户名及密码 Password +利 C Use Windows authentication Fraio红3 Next Cancel 接下来安装数据库服务,选择 mysql,(如果你安装的是 wampserver,你就选 择 wampmysqld) hailserper Database Setup step 5 of T at mailserver serrice d I= thE HMailServer service is dependent on a database service running ILthis computer, it's recommended that you choose the database setTLe This will confi gure the hMailServer service to be dependent on the 过tab雪色雪已Yv1c色.W1 ndows h1⊥⊥ then ensure that the dat盘 base serv1ce T日 My=Q- (MYSQL] Pr Text Cancel 接下来貮是创建 hmailserver在数据库中的表,公出现以下的提示。这时需要 将mysq目录下的 libmysq.l文件拷贝到D: Program Files\ h MailServer\Bin,再 点nex就可以创建成功了 hailSeryer Database Setup- step 6 of T The wizard has enough informationt to finish the operation. Click I o per =orm te tarting task P Error The Ny SQL client (ibmysgl. dll, 32 bit) could nct be loaded MailServer needs t is file to be able to connect to NySQL The NySQI client neads to be manually copied to the HNailServer Bin Directory. The file is not included in the hMailServer installati or Tall: D: \Trug am Piles \lumailSer ver \ DinliLmysyl111 Pr 最后一步就是设置 hmailserver管理员的密码 h■ seRwer The installation program will now create a hMailserver user with administration rights Please enter a password below. You will need this password to be able to manage your hMailserver installation so please remember it 尸 soRo Confirm password N e 令 hmailserver的汉化:先将汉化文件( chinese. ini)放在D: \Program Files\hMailServer\ anguage\下面,再将bin目录下的 hMailserver IN文件,在 [ GUILanguages]字段中的 ValidLanguages项添加“ chinese”并保存;然后 重启 hmailserver的服务,进入 hmailserver,选择菜单“File"里的“ Select Language",选" chinese",重新连接,界面就变成中文了。 e日3 rL- CoL- GiL 远程桌面 MailsErver Adninistrator-[loca File H:l elect language C 点t十F 3. roundcube安装 解压 roundcube,将其放在D盘根目录下(根据自己需要),修改 apache下的 httpdconf文件,将其目录指向roundcube,保存并重启apache服务。然后在 浏览器中输入http://localhost/installer/index.php回车,见下图 ROUNDCUBE How-to wiki Roundcube webmail installer 1, Check environment 2, Create config 3. Test confi Welcome to the interact vE install script for the Roundcube webmail package First let's check your local environment and find out if everything Roundcube needs is available. The basic requiremen s are: PHP Version 5.2.0 or greater including PcRE (pcrl compatible regular cxprccsion) OpenSSL〔 recommended) FileInfo (optional) Multibyte/mostring (optional Mcrypt(optional) php. ini options rror_reporting -_ALL& -[_NOTICE (or lower) file_uploads on (for attachment upload features) A MySQL or PostgreSQL database engine or the sQ-ite extension far PHP a An SMTP server (recommended or PHP configured for mail delivery START INSTALLATION Installer by tha rsurdcub= Dev Team. C=pyright 3 20C3- Published under the GNu Put lic Licanse: I:ons by farrfanfam 点击“ START INSTALLATION"按钮继续:安装程序会检测你的WEB环境是否符合 要求,PHP的扩展、可用的数据库、第三方插件库、 php. ini和 htaccess文件的 设定。 ROUNDCUE巴 How-to wiki Roundcube webmail installer 1. Check environment 2. Create config 3. Test confi Checking PHP version Version: OK(PHP 5.2.4 detected) Checking PHP extensions i he following modules/ extensions are required to run Roundcube PCRE: OK DOM: OK Session: oK XML: OK ISON: K The next couple of extensions are optiona! and recommended to get the best performance Fileinfo:NotAvailAble(seehttp://www.php.net/manual/en/book.fileinfo.ph Libicony: OK Multibyte: OK Openssl:NotAvailAble(Seehttp:/iwww.php.net/manualen/book.openssl.php) Mcrypt:NotAvailAble'seehttp:/iwww.php.net/manual/enbook.mcrypt.php) Intl:noTAvailAble(seahttp:/www.php.net/manualien/book,int.php Checking available databases Check which of the supparted extensions are installed. At least one of the is required MySQL: oK MySQLI: OK PostgresQL: NOT AVAILABLE (Not installed) SQLite (v2): OK Check for required 3rd party libs This alsc checks if the indude nath is set correctly PEAR: OK MDB2: OI Net sMTP: oK Mail mime: OK Checking php. ini/htaccess settings The following settings are reguired to run Roundcube File uploads: OK session .auto star: OK nd ze1 compat b ty mode: OK mbstring func_overload: oK suhosin session encrypt: OK The following settings are optional ard recommended datE. timezone: NOT OK (Could be set) NEXT Installer by the Roundcube Dev Team. Copyright e 2008- Published under the GNU Public License: Icons by famfamfam 点击“NEXT”按钮继续: General configuration一般设定里面, product name, 你的 Webmail服务的名称,显示在网页Tte用的,看你需要。其他默认即可。 ROUNDcUBI w巴恐 AIL FRU Huw-Lu Wiki Roundcube webmail installer 1. Cc-k cryironmcnt Create con ifig 3. Test config General configuration prodact mamme Roundcube webmail The name of your service (used to compose page titles) Jse this folder to store temp files(must be writeable for webserver) cEck a Check client ip in session authorization This increases security but can cause sudden logouts when someone uses a proxy wth hanging Ips. des Ey z-p%JICEMUVmCJXafZc6rs-k This key is used to encrypt the users imap password before storing in the session record It's a random generated string to ensure that every installation has its own key. It you enter t manually please prowide a string of exactly 24 chars. enable caching n Cache messages in lccal database enable spellcheck M Make use of the spell checker spellcheck engine Gouyie which spell checker LU use GocgieSpell implies that the message content will be sent to Google in order to chec< the 11t11ev= many identities with possibility to edit all params level of identities access DuneS whdl uses cd'n to wll iheir iclenlilies Logging& Debugging日志部分,默认即可。 Database setup数据库设置部分, 俺是使用Mysq的,所以这里需要填写数据斥服务器地址, localhost即可, Roundcube使用的数据厍名称,访问数据的用户名和密码 I ogging Debugging 回 Lcg errors n Print errors (to the browser) E Verbose display(enables debug console) file How to dc logging? file-write to files in the log directory, sys og -use the syslog .IsH Hris follet Ic lkm H lg lHg (iImIl Fe wr il eAble for wel xeI VHI). N(le i lidl Ihis t: nly applies if you are using the filelog_driver ⊥-1 roundcube What iD to use when logging with syslog. Note that this orly applies if you are using the syslog log_driver. analog Facility user-level messages what ID to use when logging with syslog. Note that this only applies it you are using the syslog log_driver. DaTabase setup Database settings for read/write opErations MySQL Database :ype localhost Database server omit for sqlite) rou dcubemail Database name (use absolute path and filename for sqlite) roundcube Database user name (needs write permissions(omit for sqlite) Datahase password (omit for sqlite) > IMAP Settings,WMAP设置部分,划红框的地方是需要你填写的, default host 输入你的邮件服务器地址,比如mai.abc.com,支持多个,点击ad按钮可以 增加。端口默认, username domain是为了WEB方式登录是用的,就是你邮 件地址@后面的部分,比如abc,com,这里设置一个即可,后面还可以编辑主 配置文件,添加多个。这样WEB方式登录邮箱的时候,用户只需要输入邮件 地址@前面的部分+密码就可以登陆了,不需要输入完整的邮件地址。其他默 IMAP Settings 色f题:】1t直t ThIg IMAP husl(s)chusen Lu per fuI tll Lhe lug-inI Leave blar k Lu show d Lexlbux al loyirl. Tu use SSL/IMAPS LUtletliwL, Lype ssl: //IusLIldIlle durelL turl TCP port used fcr IMAP connections sememe domain Automatically add this damain to user names for login Only for IMAP servers that require full e-mail addresses for login uto create user g Automatically create a new Rourdcube user when log-in the tirst time A user is authenticated by the IMAP server but it requires a local record to store settings and contacts. With this option enabled a new user record will automatically be created once the IMAP login succeeds, If this option is disabled, the login only succeeds if there s a matching user-record in the ocal Roundcube database what means that you have o create those records manually or disable this apion after the first login t boy store sent messages in this folder Leave blank if sent messages should not be stored Mcve messages to this felder when deleting them Leave blank if they should be deleted directly Drafts Slate d.'dnl rllessdyey inl Lhis olde Leave blank if they should not be stored Store spam messages in this folder SMTP Setting,sMTP设置部分,smtp_ server输入你的SMTP的服务地址,比 如 mail. abc. com。其他默认即可,smtp验证的话,看你需要,俺没有用所以就 空着了。 【实例截图】
【核心代码】
标签:
相关软件
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论