[quote:d07f4ac606]
我的Courier Mail Server的安装笔记
首先感谢网友“老手”对我的热心帮助
Courier 是一个全功能,包含SMTP/IMAP/POP3/HTTP(webmail)的电子邮件服务器软件。Courier 还扩充能了很
多SMTP功能,下面是我用courier0.42+mysql安装笔记
首先下载http://osdn.dl.sourceforge.net/sourceforge/courier/courier-0.42.2.tar.bz2
解压 courier-0.42.2.tar.bz2
tar -zxvf courier-0.42.2.tar.bz2
参考安装说明,因为courier不能用root用户配置,所以,我就用默认的courier用户
[root@mail courier-0.42.2]$ echo "courier
>> /etc/passwd
[root@mail courier-0.42.2]$ echo "courier
这里我用courier用户进行配制
[courier@mail courier-0.42.2]$ ./configure --prefix=/mail\
> --with-authmysql=yes\
> --with-mysql-includes=/usr/include/mysql\
> --with-mysql-libs=/usr/lib/mysql\
> --with-mailuser=courier\
> --with-mailgroup=courier
配置安装
[root@mail courier-0.42.2]$make
[root@mail courier-0.42.2]$make install
[root@mail courier-0.42.2]$make install-configure
设置默认域如下
cat <<! >/mail/etc/defaultdomain
inhowmail.com.cn
!
cat <<! >/mail/etc/locals
inhowmail.com.cn
!
cat <<! >/mail/etc/hosteddomains/hosteddomains
inhowmail.com.cn
!
smtp受权
cat <<! >/mail/etc/esmtpacceptmailfor.dir/esmtpacceptmailfor
inhowmail.com.cn
!
使设置生效
[root@mail courier-0.42.2]$/mail/sbin/makesmtpaccess
[root@mail courier-0.42.2]$/mail/sbin/makehosteddomains
[root@mail courier-0.42.2]$/mail/sbin/makeacceptmailfor
修改authdaemonrc
authmodulelist="authmysql authpam"
authmodulelistorig="authmysql authpam"
daemons=5
version=""
至于esmtpd pop3d imapd esmtpd-ssl pop3d-ssl imapd-ssl 可根据不同需要自行修改,在这里不做修改。
设置域用户为test
[root@mail courier-0.42.2]$mkdir -p domain/inhowmail.com.cn/test
创建Maildir目录
[root@mail courier-0.42.2]$/mail/bin/./maildirmake /mail/domain/inhowmail.com.cn/test/Maildir
因为要与mysql结合,所以要配置authmysqlrc文件:
配置如下:
MYSQL_SERVER localhost
MYSQL_USERNAME courier
MYSQL_PASSWORD admin
MYSQL_SOCKET /var/mysql/mysql.sock
MYSQL_DATABASE maildata
MYSQL_USER_TABLE passwd
MYSQL_CLEAR_PWFIELD clear
DEFAULT DOMAIN inhowmail.com.cn
MYSQL_QUOTA_FIELD quota
创建数据库如下:
mysqladmin -u root -p create maildata
mysql -u root -p
use maildata;
CREATE TABLE passwd (
id char(12
crypt char(12
clear char(12
name char(12
uid int(10) unsigned DEFAULT&np'''63''' NOT NULL,
gid int(10) unsigned DEFAULT&np'''63''' NOT NULL,
home char(255) DEFAULT&b''''' NOT NULL,
quota char(255) DEFAULT&b''''' NOT NULL,
KEY id (id(12
);
插入测试用户 test
insert into passwd values
<>'''[email protected]'''''&np'''''s'''''s''',488'''/mail/domain/inhowmail.com.cn/s'''
b''''');
update passwd set crypt=encrt'''s''') where d'''[email protected]''';
mysql> select *from users;
+-----------------------+---------------+-------+------+-----+-----+----------------------------
--------+-------+
| id | crypt | clear | name | uid | gid | home
| quota |
+-----------------------+---------------+-------+------+-----+-----+----------------------------
--------+-------+
| [email protected] | teH0wLIpW0gyQ | test | test | 48 | 48 |
/mail/domain/inhowmail.com.cn/test | |
+-----------------------+---------------+-------+------+-----+-----+----------------------------
--------+-------+
1 row in set (0.01 sec)
替换原sendmail
mv /usr/sbin/sendmail /usr/sbin/sendmailbak
cp -a /mail/bin/sendmail /usr/sbin/sendmail
创建mail日志目录
touch /mail/log/maillog
touch /mail/log/errmail
修改/etc/syslog.conf 改mail日志路径
创建启动脚本
[root@mail authlib]# pwd
/mail/libexec/authlib
[root@mail authlib]# cat <<! >>/mail/start
> /mail/libexec/authlib/authdaemond start
> !
[root@mail authlib]# cd ../../sbin
[root@mail sbin]# cat <<! >>/mail/start
> /mail/sbin/courier start
> /mail/sbin/courierfilter start
> /mail/sbin/pop3d start
> /mail/sbin/esmtpd start
> !
[root@mail sbin]#chmod 100 /mail/start
为了调试,我开启了mysql的日志(测试后建议停了mysql日志)
进行测试如下:
[root@mail sbin]#/mail/./start
[root@mail sbin]#tail /mail/log/mysql.log
19 Connect couriermail@localhost on 与数据库连接正常
[root@mail etc]# telnet 127.0.0.1 110
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is&np''^'''.
+OK Hello there.
user test
+OK Password required.
pass test
-ERR Login failed.
user [email protected]
+OK Password required.
pass test
+OK logged in.
quit
+OK Bye-bye.
Connection closed by foreign host.
测试test用户收发
[root@mail new]# mail [email protected]
Subject: hello test
hello courier mail services
dkjfkdjfkdjfdkfj
dfkdjfkd
.
Cc:
tail /mail/log/maillog
Aug 12 16:19:46 mail courierd: newmsg,id=0000B77A.3F452962.0000038A: dns; localhost (localhost
[127.0.0.1])
Aug 12 16:19:46 mail courierd:
started,id=0000B77A.3F452962.0000038A,from=<[email protected]>,module=local,host=test@inhowma
il.com.cn!!48!48!/mail/domain/inhowmail.com.cn/test!!,addr=<test>
Aug 12 16:19:46 mail courierd: Waiting. shutdown time=none, wakeup time=none, queuedelivering=1,
inprogress=1
Aug 12 16:19:47 mail courierlocal:
id=0000B77A.3F452962.0000038A,from=<[email protected]>,addr=<[email protected]>,size=366,
success: Message delivered.
Aug 12 16:19:47 mail courierd: completed,id=0000B77A.3F452962.0000038A
Aug 12 16:19:47 mail courierd: Waiting. shutdown time=Thu Aug 12 17:18:29 2003, wakeup time=Thu
Aug 12 17:18:29 2003, queuedelivering=0, inprogress=0
[root@mail new]# cat
1061497187.M162621P911V0000000000000805I00015F69_0.mail.inhowmail.com.cn,S=439
Delivered-To: [email protected]
Return-Path: <[email protected]>
Received: from localhost (localhost [127.0.0.1])
(uid 0)
by mail.inhowmail.com.cn with local; Thu, 12 Aug 2003 16:19:45 -0400
To: [email protected]
Subject: hello test
From: root <[email protected]>
Message-ID: <[email protected]>
Date: Thu, 12 Aug 2003 16:19:45 -0400
hello courier mail services
dkjfkdjfkdjfdkfj
dfkdjfkd
配置mailfilter
修改/mail/etc/courierd
把./Maildir 注释,并开起 DEFAULTDELIVERY="| /mail/bin/maildrop"
配置/mail/etc/maildirfilterconfig文件
[root@mail etc]# vi maildirfilterconfig
MAILDIRFILTER=../.mailfilter
MAILDIR=./Maildir
这样过滤就可以用了
设置webmail
[root@mail etc]$cp -a /mail/libexec/courier/webmail /var/www/cgi-bin
[root@mail etc]$cp -a /mail/share/courier/sqwebmail/images /var/www/html/webmail
设置webadmin
[root@mail mail etc]$cp -a /mail/libexec/courier/webmail/webadmin /var/www/cgi-bin
[root@mail courier-0.42.2]$make install-webadmin-password
我的SSL没起用,所以在这里改为
[root@mail courier-0.42.2]touch /mail/etc/webadmin/unsecureok
对于webmail中的模板,感觉不好,所以想换一下自已以前的模板,但发现,首页中没有main.html,而默认执
行的是folders.html,我想可能要改码了,要是懒得改也可以直接改htm/en-us模板。
courier的功能很强大,我只是对此感兴趣才选择了courier ,但没有真正的完成所有功能的配置。
以上安装只是我的一个笔记,是一片安装流水笔记,因为在安装前找了很长时间都没有找到相关的中文才料,所以写上安装笔记,对新手有些有些帮助,其实没有什么技术含量,主要是参考courier/doc中的说明,安 装中难免有一些不对之处,还望大家给予指正。
[/quote:d07f4ac606]
| peijun.jiang 回复于:2003-08-25 09:33:03 |
| 不错,支持原创。 |
| jsf008 回复于:2003-08-25 11:50:21 |
| 偶正研究这个。。。中。。。 |
| mb 回复于:2003-08-25 16:20:38 |
| 补一下
crypt字段必须是使用crypt()函数加密过的密码,在mysql中,用encrt'''s''')就可以直接生成加密过的密码。 |
| jsf008 回复于:2003-08-25 16:49:29 |
| 我用的就是courier-imap
我测试时总是这样: [root@mail etc]# telnet 127.0.0.1 110 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is&np''^'''. +OK Hello there. user [email protected] +OK Password required. pass 123456 -ERR Login failed. |
| mb 回复于:2003-08-25 16:51:42 |
| 看看你的authmysqlrc配置
建议在调试时打开mysql.log 看看数据库查询情况 |
| jsf008 回复于:2003-08-25 17:05:47 |
| root@test /etc/courier-imap# vi authmysqlrc
MYSQL_SERVER localhost MYSQL_USERNAME courier MYSQL_PASSWORD whatever MYSQL_SOCKET /var/run/mysql/mysql.sock MYSQL_PORT 3306 MYSQL_OPT &nbnbsp; 0 MYSQL_DATABASE &n; maildb MYSQL_USER_TABLE users MYSQL_CRYPT_PWFIELD crypt MYSQL_CLEAR_PWFIELD clear DEFAULT_DOMAIN liuzt.wst MYSQL_UID_FIELD uid MYSQL_GID_FIELD gid MYSQL_LOGIN_FIELD id MYSQL_HOME_FIELD home MYSQL_NAME_FIELD name MYSQL_MAILDIR_FIELD maildir mysql.log我不知怎样打开, |
| garfy 回复于:2003-08-25 17:08:23 |
| mail版越来越丰富了! |
| mb 回复于:2003-08-26 08:27:28 |
| 1.看看你的MYSQL_SOCKET 路径是不是正确
2.修改my.cnf 打开mysql.log 并在里面有mysql.sock的路径 3.根据telnet 127.0.0.1 110进行认证时看看mysql.log中的查迅情况 |
| jsf008 回复于:2003-08-26 08:30:44 |
| [quote:abe45826e2="mb"]
建议在调试时打开mysql.log 看看数据库查询情况[/quote:abe45826e2] 楼主,怎样才能打开mysql.log 偶的可能不行。 |
| mb 回复于:2003-08-26 08:37:45 |
| 在 [mysqld]下添加
如下 log=/mail/log/mysql.log 再改mysql.log为mysql所有 chown mysql:mysql /mail/log/mysql.log service syslog restart 再试试 |
| jsf008 回复于:2003-08-26 08:42:33 |
| 这就是my.cnf了,mysql.log怎么加呢
# The MySQL server [mysqld] port = 3306 socket = /var/run/mysql/mysql.sock skip-networking [mysqldump] [mysql] [isamchk] [myisamchk] [mysqlhotcopy] |
| jsf008 回复于:2003-08-26 09:02:52 |
| root@test /var/log# telnet 127.0.0.1 110
Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is&np''^'''. +OK Hello there. user [email protected] +OK Password required. pass whatever -ERR Login failed. 还是登陆不了 /usr/sbin/mysqld, Version: 4.0.13-log, started with: Tcp port: 0 Unix socket: /var/run/mysql/mysql.sock Time Id Command Argument 030826 9:00:27 1 Connect courier@localhost on 1 Init DB maildb 1 Query SELECT id, crypt, clear, uid, gid, home, maildir, "", name FROM users WHERE id = "[email protected]" AND (impok=1 AND bool1=1 AND bool2=1) 1 Quit 2 Connect courier@localhost on 2 Init DB maildb 2 Query SELECT id, crypt, clear, uid, gid, home, maildir, "", name FROM users WHERE id = "[email protected]" AND (impok=1 AND bool1=1 AND bool2=1) |
| mb 回复于:2003-08-26 10:00:02 |
| 030826 9:00:27 1 Connect courier@localhost on
数据据连接成功 得到了您的用户查询,但好像还是加密后的密码不正确 在你的authmysqlrc中 MYSQL_CRYPT_PWFIELD cryptp之间是一个tab键的距离,以前在doc中看到过说哪里的距离不是空格 |
| jsf008 回复于:2003-08-26 11:28:05 |
| 1 Query SELECT id, crypt, clear, uid, gid, home, maildir, [color=red:4f9ba322e1]""[/color:4f9ba322e1], name FROM users WHERE id = "[email protected]" AND (impok=1 AND bool1=1 AND bool2=1)
查询语句为什么会出现红色的那个双引号呢, |
| mb 回复于:2003-08-26 11:35:41 |
| 和哪个没关系吧
哪是因为在authmysqlrc中有被你注释的项,哪是空的,没有不正常 的呀 把quota前的#去了再看 |
| jsf008 回复于:2003-08-26 11:43:23 |
| 我的authmysqlrc中没有quota 这项? |
| jsf008 回复于:2003-08-26 12:09:03 |
| 真是晕死了~~~还是不行,
看看authdaemonrc有错没有? authmodulelist="authmysql authpam" authmoudlelistorig="authmysql authpam" daemons=5 version="authdaemond.mysql" authdaemonvar=/var/spool/authdaemon/courier-imap |
| mb 回复于:2003-08-26 12:59:59 |
| version="authdaemond.mysql"
可以不设的,我的不设,设为空的,不过,哪不像主要原因,现在的密码认证不对,在安装源文件中cp -a 过来一个authmysqlrc吧,再改一下,可能是crypt哪里多了空格了 |
| jsf008 回复于:2003-08-26 14:23:56 |
| 这是我新copy过来地一个:怎么测试还通不过呢
##VERSION: $Id: authmysqlrc,v 1.10 2002/04/02 23:41:41 mrsam Exp $ # # Copyright 2000 Double Precision, Inc. See COPYING for # distribution information. # # Do not alter lines that begin with ##, they are used when upgrading # this configuration. # # authmysqlrc created from authmysqlrc.dist by sysconftool # # DO NOT INSTALL THIS FILE with world read permissions. This file # might contain the MySQL admin password! # # Each line in this file must follow the following format: # # field[spaces|tabs]value # # That is, the name of the field, followed by spaces or tabs, followed by # field value. Trailing spaces are prohibited. ##NAME: LOCATION:0 # # The server name, userid, and password used to log in. MYSQL_SERVER localhost MYSQL_USERNAME courier MYSQL_PASSWORD whatever ##NAME: MYSQL_SOCKET:0 # # MYSQL_SOCKET can be used with MySQL version 3.22 or later, it specifies the # filesystem pipe used for the connection # # MYSQL_SOCKET /var/run/mysql/mysql.sock ##NAME: MYSQL_PORT:0 # # MYSQL_PORT can be used with MySQL version 3.22 or later to specify a port to # connect to. MYSQL_PORT 0 ##NAME: MYSQL_OPT:0 # # Leave MYSQL_OPT as 0, unless you know what o'''re doing. MYSQL_OPT 0 ##NAME: MYSQL_DATABASE:0 # # The name of the MySQL database we will open: MYSQL_DATABASE maildb ##NAME: MYSQL_USER_TABLE:0 # # The name of the table containing your user data. See README.authmysqlrc # for the required fields in this table. MYSQL_USER_TABLE users ##NAME: MYSQL_CRYPT_PWFIELD:0 # # Either MYSQL_CRYPT_PWFIELD or MYSQL_CLEAR_PWFIELD must be defined. Both # are OK too. crypted passwords go into MYSQL_CRYPT_PWFIELD, cleartext # passwords go into MYSQL_CLEAR_PWFIELD. Cleartext passwords allow # CRAM-MD5 authentication to be implemented. MYSQL_CRYPT_PWFIELD crypt ##NAME: MYSQL_CLEAR_PWFIELD:0 # # # MYSQL_CLEAR_PWFIELD clear ##NAME: MYSQL_DEFAULT_DOMAIN:0 # # If DEFAULT_DOMAIN is defined, and someone tries to log in as&np'''e''', # we will look up&np'''user@DEFAULT_DOI''' instead. # # # DEFAULT_DOMAIN example.com ##NAME: MYSQL_UID_FIELD:0 # # Other fields in the mysql table: # # MYSQL_UID_FIELD - contains the numerical userid of the account # MYSQL_UID_FIELD uid ##NAME: MYSQL_GID_FIELD:0 # # Numerical groupid of the account MYSQL_GID_FIELD gid ##NAME: MYSQL_LOGIN_FIELD:0 # # The login id, default is id. Basically the query is: # # SELECT MYSQL_UID_FIELD, MYSQL_GID_FIELD, ... WHERE d'''logi''' # MYSQL_LOGIN_FIELD id ##NAME: MYSQL_HOME_FIELD:0 # MYSQL_HOME_FIELD home ##NAME: MYSQL_NAME_FIELD:0 # # The e'''s name (optional) MYSQL_NAME_FIELD name ##NAME: MYSQL_MAILDIR_FIELD:0 # # This is an optional field, and can be used to specify an arbitrary # location of the maildir for the account, which normally defaults to # $HOME/Maildir (where $HOME is read from MYSQL_HOME_FIELD). # # You still need to provide a MYSQL_HOME_FIELD, even if you uncomment this # out. # # MYSQL_MAILDIR_FIELD maildir ##NAME: MYSQL_QUOTA_FIELD:0 # # Define MYSQL_QUOTA_FIELD to be the name of the field that can optionally # specify a maildir quota. See README.maildirquota for more information # # MYSQL_QUOTA_FIELD quota ##NAME: MYSQL_WHERE_CLAUSE:0 # # This is optional, MYSQL_WHERE_CLAUSE can be basically set to an arbitrary # fixed string that is appended to the WHERE clause of our query # # #MYSQL_WHERE_CLAUSE serr'''mailhost.exampleo''' ##NAME: MYSQL_SELECT_CLAUSE:0 # # (EXPERIMENTAL) # This is optional, MYSQL_SELECT_CLAUSE can be set when you have a database, # which is structuraly different from proposed. The fixed string will # be used to do a SELECT operation on database, which should return fields # in order specified bellow: # # username, cryptpw, uid, gid, clearpw, home, maildir, quota, fullname # # Enabling this option causes ignorance of any other field-related # options, excluding default domain. # # There are two variables, which you can use. Substitution will be made # for them, so you can put entered username (local part) and domain name # in the right place of your query. These variables are: # $(local_part) and $(domain) # # If a $(domain) is empty (not given by the remote user) the default domain # name is used in its place. # # This example is a little bit modified adaptation of vmail-sql # database scheme: # # MYSQL_SELECT_CLAUSE SELECT popbox.local_part, \ # COA('''D}''', popbox.password_hash), \ # popbox.clearpw, \ # domain.uid, \ # domain.gid, \ # CONCAT(domain.pt&s;''/'''', popbox.mbox_name), \ # &b&bp''''''', \ # domain.quota, \ #  &p&bp''''''', \ # FROM popbox, domain \ # WHERE popbox.local_parns; ''''(oa_part)'''' \ # AND popbox.domain_nmns;=&nbp;'''$domain)'''' \ # AND popbox.domain_name = domain.domain_name # ##NAME: MYSQL_CHPASS_CLAUSE:0 # # (EXPERIMENTAL) # This is optional, MYSQL_CHPASS_CLAUSE can be set when you have a database, # which is structuraly different from proposed. The fixed string will # be used to do an UPDATE operation on database. In other words, it is # used, when changing password. # # There are four variables, which you can use. Substitution will be made # for them, so you can put entered username (local part) and domain name # in the right place of your query. There variables are: # $(local_part) , $(domain) , $(newpass) , $(newpass_crypt) # # If a $(domain) is empty (not given by the remote user) the default domain # name is used in its place. # $(newpass) contains plain password # $(newpass_crypt) contains its crypted form # # MYSQL_CHPASS_CLAUSE UPDATE popbox \ # SET &ns&bp;cleapw='''(newpass)'''', \ # &nppassword_hash=''$nwass_crypt)'''' \ # WHERE &nbpns;local_pat='''$local_part)'''' \ # AND &nbpns;doman_nam='''$(domain)'''' # |
| mb 回复于:2003-08-27 08:20:56 |
| MYSQL_PORT 0 ????应是3306吧
其实你的mysql在本机可以不用指定,在前面加上#吧 |
| jsf008 回复于:2003-08-27 08:44:55 |
| 还是不行哪,毛病还是那样,还能哪儿出错呢 |
| jsf008 回复于:2003-08-29 15:49:11 |
| mb兄台,多谢你的全力帮助,那个问题总算搞定了,就是version="authdaemond.mysql" 前面加个#,在输入用户名用的是test,而不是[email protected],这样就行了,能通过验证了,
又一个问题出现了,能过验证后,邮件收不来,? |
| mb 回复于:2003-08-30 08:53:55 |
| 呵呵,恭喜,成功一半了
telnet 127.0.0.1 110 后有什么结果 mail [email protected] 后看看maillog怎样 |
| jsf008 回复于:2003-08-30 09:49:33 |
| root@test /home/users/jshf# telnet 127.0.0.1 110
Trying 127.0.0.1... Connected to 127.0.0.1. Escape chrt&bspi&bp;''''^]''''. +OK Hello there. user jshf +OK Password required. pass 123456 +OK logged in. quit +OK Bye-bye. $ mail [email protected]后,mysql.log是这样 /usr/sbin/mysqld, Version: 4.0.13-log, started with: Tcp port: 0 Unix socket: /var/run/mysql/mysql.sock Time Id Command Argument 030830 9:48:25 1 Connect courier@localhost on maildb 1 Query select transport from transport where&nbs;mnnbp=nsp;''''*'''' 2 Connect courier@localhost on maildb 2 Query select goto from virtual where ars =&nbp;'''[email protected]'''' 2 Query select goto from virtual where arsnbsp;&bp''''jshf'''' 2 Query select goto from virtual where ars  '''@liuzt.wst'''' 3 Connect courier@localhost on maildb 3 Query select goto from virtual where ars =&nbs;'''liuzt.wst'''' 4 Connect courier@localhost on maildb 4 Query select maildir from users where ars =&nbs;'''liuzt.wst'''' 1 Query select transport from transport where&nbs;mi =&nbp;'''[email protected]'''' 1 Query select transport from transport where&nbs;mi =&nbs;'''liuzt.wst'''' 5 Connect courier@localhost on maildb 5 Query select maildir from users where ars =&nbp;'''[email protected]'''' 6 Connect courier@localhost on maildb 6 Query select uid from users where ars =&nbp;'''[email protected]'''' 7 Connect courier@localhost on maildb 7 Query select gid from users where ars =&nbp;'''[email protected]'''' maillog是这样 Aug 30 09:48:25 test postfix/pickup[725]: 3181D104204: uid=0 from=<root> Aug 30 09:48:25 test postfix/cleanup[757]: 3181D104204: message-id=<[email protected]> Aug 30 09:48:25 test postfix/qmgr[726]: 3181D104204: from=<[email protected]>, size=285, nrcpt=1 (queue active) Aug 30 09:48:25 test postfix/virtual[763]: 3181D104204: to=<[email protected]>, relay=virtual, delay=0, status=sent (maildir) 象上面在linux系统上操作都可以的,可是用foxmai,outlook时就不行了,有无密码都行,用[email protected]向[email protected]发信,用foxmail收不到。 |
| seacaptain 回复于:2003-08-30 15:56:03 |
| 请教个问题。在使用mysql存储用户信息的情况下。qmail是通过什么方式查找用户的信息呢。比如该用户是不是存在。qmail也要到mysql中查找吗 |
| jsf008 回复于:2003-08-30 16:54:20 |
| 用outlook收信时,又出现这样的错误
未检索到编号为 1 的邮件。 帐户ns;92.168.0.129'''', 服务器ns;92.168.0.129'''', 协议: PO3ns;服务器响应:&nsp;'''ERR Can''''t open the message&nbs;l&bsp;-&nbp;it''s gone!'''', 端口: 110, 安全(SSL): 否, 服务器错误: 0x800CCC90, 错误号: 0x800420CD 最后发现原因是这样: 偶发现偶收到的信(在/home/users/jshf/Maildir/cur下面)具有这样属性 -rw------- 1 1000 1000 3839 Aug 31 07:42 1062330172.V900Id40a5.test 如果把它chmod 777 就可用outlook,foxmail收到,我该怎么使它一到邮箱就已是777或775了呢 |
| jsf008 回复于:2003-09-01 10:19:06 |
| MB兄,你遇到过上面这样问题吗 |
| jsf008 回复于:2003-09-01 10:34:51 |
| [quote:643edf2dd4="seacaptain"]。比如该用户是不是存在。qmail也要到mysql中查找吗[/quote:643edf2dd4]
应该是吧,这里有好多qmail相关地,你看看 |
| wxy 回复于:2003-09-0:2003-09-01 10:38:17 |
| 我最近刚刚搞完了courier-imap + mysql + postfix + sasl的配置~~
我没有用courier里面SMTPD,还是用的Postfix~~ 过一段时间把它写间把它写出来~~ |
| mb 回复于:2003-09-01 10:51:17 |
| 呵呵,我忘了在我的安装说明笔记中说了,哪个gid uid要用你的web服务身份所用的权限来建立 |
| jsf008 回复于:2003-09-01 14:28:19 |
| “哪个gid uid要用你的web服务身份所用的权限来建立”我不太明白
这个是在哪步进行地呢 |
| firer2000 回复于:2003-09-01 16:55:59 |
| g |
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/
领测软件测试网最新更新
关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:[email protected] 电话:010-51297073
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:[email protected] 电话:010-51297073










