SYS_MAILDIR_BASE = /home/domains
此处即为您在前文所设置的用户邮件的存放目录,可改作:
SYS_MAILDIR_BASE = /var/www/mail
SYS_MYSQL_USER = db_user
SYS_MYSQL_PASS = db_pass
以上两句句用来设置连接数据库服务器所使用用户名、密码和邮件服务器用到的数据库,这里修改为:
SYS_MYSQL_USER = postfix
SYS_MYSQL_PASS = 123456
MYSQL_USERNAME extamail
这个是你写文档时错的,还是本来就错了?
virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
这个好像跟你后文建立文件时指定的路径不同;
SYS_MYSQL_USER = webman
SYS_MYSQL_PASS = webman
SYS_MYSQL_SOCKET = /var/lib/mysql/mysql.sock
说明部分见Extmail安装部分,此处可修改为:
YS_MYSQL_USER = extmail
SYS_MYSQL_PASS = extmail
SYS_MYSQL_SOCKET = /tmp/mysql.sock
……本地域是否是指 mydomain 所指定的参数?
我在 extman 中是新建了一个域名为 test.com 的, ...
……我将 /etc/postfix/main.cf 中的mydomain 和 myorigin 参数注释掉了,可以用 web 收发邮件,但在outlook 上依然不能收发邮件,而且很奇怪的是 ...
Sep 16 23:23:04 redhat postfix/local[16201]: 2F5253F9B2: to=<postmaster@test.com>, orig_to=<postmaster>, relay=local, delay=301, delays=300/0.15/0/0.13, dsn=4.3.0, status=deferred (alias database unavailable)
Sep 16 23:28:04 redhat postfix/qmgr[16185]: 4C1DE3F565: from=<double-bounce@mail.test.com>, size=694, nrcpt=1 (queue active)
Sep 16 23:28:04 redhat postfix/qmgr[16185]: 2F5253F9B2: from=<double-bounce@mail.test.com>, size=721, nrcpt=1 (queue active)
Sep 16 23:28:04 redhat postfix/trivial-rewrite[16212]: warning: do not list domain test.com in BOTH mydestination and virtual_mailbox_domains
Sep 16 23:28:04 redhat postfix/local[16215]: warning: lookup owner-postmaster, NIS domain test, map mail.aliases: internal yp server or client error
Sep 16 23:28:04 redhat postfix/local[16214]: warning: lookup owner-postmaster, NIS domain test, map mail.aliases: internal yp server or client error
Sep 16 23:28:04 redhat postfix/local[16215]: 2F5253F9B2: to=<postmaster@test.com>, orig_to=<postmaster>, relay=local, delay=601, delays=600/0.1/0/0.1, dsn=4.3.0, status=deferred (alias database unavailable)
Sep 16 23:28:04 redhat postfix/local[16214]: 4C1DE3F565: to=<postmaster@mail.test.com>, orig_to=<postmaster>, relay=local, delay=1017, delays=1016/0.13/0/0.16, dsn=4.3.0, status=deferred (alias database unavailable)
Sep 16 23:28:38 redhat postfix/postfix-script[16225]: refreshing the Postfix mail system
Sep 16 23:28:38 redhat postfix/master[15903]: reload configuration /etc/postfix
Sep 17 14:22:49 redhat postfix/smtpd[3369]: connect from unknown[192.168.0.145]
Sep 17 14:22:49 redhat postfix/smtpd[3369]: warning: unknown[192.168.0.145]: SASL LOGIN authentication failed: authentication failure
Sep 17 14:22:49 redhat postfix/smtpd[3369]: lost connection after AUTH from unknown[192.168.0.145]
Sep 17 14:22:49 redhat postfix/smtpd[3369]: disconnect from unknown[192.168.0.145]
Sep 17 14:22:49 redhat postfix/smtpd[3369]: connect from unknown[192.168.0.145]
Sep 17 14:22:49 redhat postfix/smtpd[3369]: warning: unknown[192.168.0.145]: SASL LOGIN authentication failed: authentication failure
Sep 17 14:22:49 redhat postfix/smtpd[3369]: lost connection after AUTH from unknown[192.168.0.145]
Sep 17 14:22:49 redhat postfix/smtpd[3369]: disconnect from unknown[192.168.0.145]
Sep 17 14:22:49 redhat postfix/smtpd[3369]: connect from unknown[192.168.0.145]
Sep 17 14:22:49 redhat postfix/smtpd[3369]: warning: unknown[192.168.0.145]: SASL LOGIN authentication failed: authentication failure
Sep 17 14:22:49 redhat postfix/smtpd[3369]: lost connection after AUTH from unknown[192.168.0.145]
Sep 17 14:22:49 redhat postfix/smtpd[3369]: disconnect from unknown[192.168.0.145]
Sep 17 14:22:49 redhat postfix/smtpd[3369]: connect from unknown[192.168.0.145]
Sep 17 14:22:49 redhat postfix/smtpd[3369]: warning: unknown[192.168.0.145]: SASL LOGIN authentication failed: authentication failure
Sep 17 14:22:49 redhat postfix/smtpd[3369]: lost connection after AUTH from unknown[192.168.0.145]
Sep 17 14:22:49 redhat postfix/smtpd[3369]: disconnect from unknown[192.168.0.145]
Sep 17 14:24:40 redhat postfix/qmgr[3270]: 6A5613F588: from=<test@test.com>, size=506, nrcpt=1 (queue active)
Sep 17 14:24:40 redhat postfix/trivial-rewrite[3378]: warning: do not list domain test.com in BOTH mydestination and virtual_mailbox_domains
Sep 17 14:24:40 redhat postfix/local[3380]: warning: lookup bob, NIS domain test, map mail.aliases: internal yp server or client error
Sep 17 14:24:40 redhat postfix/local[3380]: 6A5613F588: to=<bob@test.com>, relay=local, delay=526, delays=526/0.1/0/0.06, dsn=4.3.0, status=deferred (alias database unavailable)
3.JPG (43.55 KB, 下载次数: 243)
do not list domain test.com in BOTH mydestination and virtual_mailbox_domains
这里说无论是本地域还是虚拟域都找不到你指向的test.com,请检查配置。
SASL LOGIN authentication failed: authentication failure
这里说你的SASL_LOGIN认证失败,请检查sasl的安装,以及postfix中指定的认证选项。
alias database unavailable
这里说找不到别名文件,请检查你的配置文件中别名文件的指向,以及它们是否存在。
Sep 17 16:04:56 redhat pop3d: chdir Maildir: No such file or directory
Sep 17 16:04:57 redhat pop3d: Connection, ip=[192.168.0.145]
Sep 17 16:04:57 redhat pop3d: chdir Maildir: No such file or directory
Sep 17 16:17:40 redhat postfix/smtpd[4481]: connect from unknown[192.168.0.145]
Sep 17 16:17:40 redhat postfix/smtpd[4481]: 434823F583: client=unknown[192.168.0.145], sasl_method=LOGIN, sasl_username=test@test.com
Sep 17 16:17:40 redhat postfix/cleanup[4488]: 434823F583: message-id=<007101c7f906$8135b890$9100a8c0@xp>
Sep 17 16:17:40 redhat postfix/qmgr[4275]: 434823F583: from=<test@test.com>, size=1395, nrcpt=1 (queue active)
Sep 17 16:17:40 redhat postfix/smtpd[4481]: disconnect from unknown[192.168.0.145]
Sep 17 16:17:40 redhat postfix/virtual[4490]: 434823F583: to=<test@test.com>, relay=virtual, delay=0.22, delays=0.15/0.05/0/0.02, dsn=2.0.0, status=sent (delivered to maildir)
Sep 17 16:17:40 redhat postfix/qmgr[4275]: 434823F583: removed
Sep 17 16:04:56 redhat pop3d: chdir Maildir: No such file or directory
Sep 17 16:04:57 redhat pop3d: Connection, ip=[192.168.0.145]
Sep 17 16:04:57 redhat pop3d: chdir Maildir: No such file or directory
Sep 17 16:17:40 redhat postfix/smtpd[4481]: connect from unknown[192.168.0.145]
Sep 17 22:06:45 redhat pop3d: authentication error: Input/output error
Sep 17 22:06:47 redhat pop3d: Connection, ip=[192.168.0.145]
Sep 17 22:06:47 redhat pop3d: LOGIN FAILED, user=test@test.com, ip=[192.168.0.145]
Sep 17 22:06:47 redhat pop3d: authentication error: Input/output error
Sep 17 22:06:47 redhat pop3d: Connection, ip=[192.168.0.145]
Sep 17 22:06:47 redhat pop3d: LOGIN FAILED, user=test@test.com, ip=[192.168.0.145]
Sep 17 22:06:47 redhat pop3d: authentication error: Input/output error
Sep 17 22:06:48 redhat pop3d: Connection, ip=[192.168.0.145]
Sep 17 22:06:48 redhat pop3d: LOGIN FAILED, user=test@yoyo.com, ip=[192.168.0.145]
Sep 17 22:06:48 redhat pop3d: authentication error: Input/output error
Sep 18 15:39:55 test pop3d: Connection, ip=[192.168.101.224]
Sep 18 15:39:55 test authdaemond: received auth request, service=pop3, authtype=login
Sep 18 15:39:55 test authdaemond: authmysql: trying this module
Sep 18 15:39:55 test authdaemond: SQL query: SELECT username, password, "", '503', '503', '/var/mailbox/', concat('/var/mailbox/',Maildir), "", name, "" FROM mailbox WHERE username = "test"
Sep 18 15:39:55 test pop3d: LOGIN FAILED, user=test, ip=[192.168.101.224]
Sep 18 15:39:55 test authdaemond: zero rows returned
Sep 18 15:39:55 test authdaemond: no password available to compare
Sep 18 15:39:55 test authdaemond: authmysql: REJECT - try next module
Sep 18 15:39: authdaemond: FAIL, all modules rejected
Sep 18 15:40:00 test pop3d: Disconnected, ip=[192.168.101.224
原帖由 liheng 于 2007-9-18 15:54 发表
最简单的方法,不要校验码,听说那个核验码还比较麻烦,我就将它去掉了,
在 webman.cf 将 SYS_CAPTCHA_ON=0 即可,记得要重启 Apache 哦
原帖由 marion 于 2007-9-18 18:30 发表
Sep 18 15:39:55 test pop3d: LOGIN FAILED, user=test, ip=[192.168.101.224]
恐怕是这儿的问题,你尝试指定全名,即形如“user@domain.ltd”试试。
原帖由 marion 于 2007-9-27 17:58 发表
这个问题应该是apache目录访问权限的问题,请确保你的apache主配置文件中开放了对/var/www目录的访问权限。你可以通过更改DocumentRoot指令后,及来实现;
以上这些应该表明错误的原因是你的postfix配置对于访问mysql数据库不正确而不能检索到相关域的信息造成的;或者你的extman建立的域名没能正确写入数据库也未可知,但前者的可能性更大,请检查一下main.cf文件中设定的对mysql访问的部分。
当然,做这些假设的前提是你的数据库本身配置是正确的。
q.jpg (51.84 KB, 下载次数: 140)
q.jpg.jpg (57.35 KB, 下载次数: 135)
原帖由 marion 于 2007-9-6 18:31 发表
本文凝聚了作者不少的安装经验,写出来供各位同仁参考指正,也为自己留一个“备份”,以便以后安装时作为参照!
安装过程中借鉴了不少google出来的文章,是你们先行的足迹为作者今天的成功打下了基础,在此先行 ...
原帖由 fish007 于 2007-10-9 08:43 发表
你好,我在用以下命令对courier-authlib-0.5.93进行configure时,进入了循环,无休止地进行下去,不知是何原因,望解答.
./configure
--prefix=/usr/local/courier-authlib
--sysconfdir=/etc ...
DBD-Mysql目前最新的版本为DBD-mysql-4.005,但它和系统中的perl结合使用时会造成extmail无法正常使用,因此我们采用3的版本:
# tar zxvf DBD-mysql-3.0002_4.tar.gz
# cd cd DBD-mysql-3.0002_4
# perl Makefile.PL (此步骤中如果出现类同Can't exec "mysql_config": No such file or directory at Makefile.PL line 76.的错误是因为您的mysql的bin目录没有输出至$PATH环境变量)
post.jpg (80.97 KB, 下载次数: 135)
原帖由 zdyldy 于 2007-10-8 09:31 发表
courier-imap-4.1.3.tar.bz2
这个软件包在哪下载啊,
可以把其它的软件包地址都发到上面么?
在网上好多搜不到啊,谢谢了。
Oct 9 13:29:50 bv-diannao-004 maildrop[13037]: Temporary authentication failure.
Oct 9 13:29:50 bv-diannao-004 postfix/pipe[13036]: 45DFE11CEE5: to=<test@test.com>, relay=maildrop, delay=0.25, delays=0.1/0.05/0/0.1, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/bin/maildrop: Temporary authentication failure.
Oct 9 17:23:36 bv-diannao-004 pop3d: authentication error: Input/output error
Oct 9 17:23:36 bv-diannao-004 authdaemond: failed to connect to mysql server (server=localhost, userid=extmail..): Access denied for user 'extmail..'@'localhost' (using password: YES)
Oct 9 17:23:36 bv-diannao-004 authdaemond: authmysql: TEMPFAIL - no more modules will be tried
(server=localhost, userid=extmail..): Access denied for user 'extmail..'@'localhost'
安装包我这里都有,,,但还是没有安装成功...在CentOS 5上.
ftp1.callleo.cn
user&passwd:cu
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |