#default: off
# description: The POP3 service allows remote users to access their mail \
# using an POP3 client such as Netscape Communicator, mutt, \
# or fetchmail.
service pop3
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /var/qmail/bin/qmail-popup
server_args = test.com /var/qmail/bin/auth_pop /var/qmail/bin/qmail-pop3d Maildir
only_from = 0.0.0.0
log_type = FILE /var/log/maillog
disable = no
smtp文件:
# default: off
# description: The POP3 service allows remote users to access their mail \
# using an POP3 client such as Netscape Communicator, mutt, \
# or fetchmail.
service smtp
{
socket_type = stream
protocol = tcp
wait = no
user = qmaild
server = /var/qmail/bin/tcp-env
server_args = -R /var/qmail/bin/qmail-smtpd
log_type = FILE /var/log/maillog
env = NODNSCHECK=""
log_on_success = HOST
log_on_failure = HOST RECORD
only_from = 0.0.0.0
disable = no
}
假如有其它pop3, smtp的办事应当设定其disable项为yes, 以避免抵触.
假如qmail没有设置成主动创立用户目次, 可以在add.php第188行增添以下代码:
if (!is_dir($messageStoreDir."/".$uid[0])){
mkdir($messageStoreDir."/".$uid[0],0770);
}
if (!is_dir($messageStoreDir."/".$uid[0]."/".$uid)){
mkdir($messageStoreDir."/".$uid[0]."/".$uid,0770);
}
在add.php中增添用户时的LoginId仿佛也有点成绩, 可直接采取firstName:
function create_username() {
var first_str = document.user_details.elements[2].value;
document.user_details.elements[11].value = first_str.toLowerCase();
}
使用参考文献4中的LdapBrowser可以看到对LDAP的相干修正, 或手动修正.
4. 装置Postaci, webmail(参考文献2).
这是一个基于php的webmail, 具有对照完美的功效, 并且撑持imap, pop3. 需求mysql撑持. 用户可以自行汉化, 文件在lang目次下.
解压后修正includes目次下global.inc文件(有平安挂念, 参考步调3), 外面有设置装备摆设申明.
Following doc/INSTALL to install