发新话题
打印

[原创]在FreeBSD 上组建ISP级的邮件系统

老大!搞定了。
是webman.cf中数据库密码错了。

TOP

好帖!好好学学!!嘿嘿

TOP

我下载了fengyong那个自动安装的Ver2。0的包,前面都是一帆风顺,但是每每到了让我输入域名那块后面就出现问题,如下:
Please input your domain:×××.com
your domain is:×××.com
Please input extmail/extman mysql user passwd:(这是要直接按回车还是输入什么?反正回车不好使)
mkdir: temp: File exists
Start write configure file:temp/extmail.sql
Start write configure file:temp/init.sql
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Enter password:
ERROR 1062 (23000) at line 5: Duplicate entry 'support@×××.com' for key 1
chown: postfix: Invalid argument
Start write configure file:/usr/local/etc/authlib/authmysqlrc
Start write configure file:/usr/local/etc/postfix/main.cf
sub:write_config:No such file or directory at ./configure.pl line 20, <FH> line 161.
请帮我看看这是哪儿出了问题,本人还是菜菜,希望不要见怪(主要折腾了n+1次了,都没能成功,郁闷中,期盼问题的根源)

TOP

里面这句话害苦了
virtual_mailbox_base = /home/data/domains  #邮件保存的目录

他居然把“#邮件保存的目录“ 这个注释也读进去了

找了好久
引用:
下面是引用fengyong于2006-03-10 20:03发表的[原创]在FreeBSD 上组建ISP级的邮件系统:
大家好,我又有新文章发表了,欢迎大家提意见。

由于内容和版面的限制,不能在这里贴出来。有问题大家跟贴,谢谢!!!
文章地址
http://www.sharesky.cn/docs/doc1/
.......

TOP

太好了,共享万岁!

TOP

支持一下。
http://blog.chinaunix.net/index.php?blogId=3052

TOP

引用:
下面是引用lanhaisheng于2006-08-23 16:04发表的:
老大!搞定了。
是webman.cf中数据库密码错了。
老大,能不能说详细点,呵呵。找得好苦呵
http://www.codesnet.com QQ:350437632

TOP

老大真是好人,帮忙诊断一下,能发信,但收不到信

Sep 20 22:39:49 www postfix/smtpd[9073]: initializing the server-side TLS en
gine
Sep 20 22:39:49 www postfix/smtpd[9073]: connect from m13-80.163.com[220.181
.13.80]
Sep 20 22:39:49 www postfix/smtpd[9073]: 2A04A5C18: client=m13-80.163.com[22
0.181.13.80]
Sep 20 22:39:49 www postfix/cleanup[9076]: 2A04A5C18: message-id=<451152DD.0
00016.12767@bj163app80.163.com>
Sep 20 22:39:49 www postfix/qmgr[571]: 2A04A5C18: from=<caocm_hero@163.com>,
size=1804, nrcpt=1 (queue active)
Sep 20 22:39:49 www postfix/smtpd[9073]: disconnect from m13-80.163.com[220.
181.13.80]
Sep 20 22:39:49 www postfix/local[9077]: 2A04A5C18: to=<test@bigfz.com>, rel
ay=local, delay=0.19, delays=0.16/0.01/0/0.03, dsn=5.1.1, status=bounced (un
known user: "test")
Sep 20 22:39:49 www postfix/cleanup[9076]: 4EDD55C1C: message-id=<2006092014
3949.4EDD55C1C@mail.bigfz.com>
Sep 20 22:39:49 www postfix/qmgr[571]: 4EDD55C1C: from=<>, size=3495, nrcpt=
1 (queue active)
Sep 20 22:39:49 www postfix/bounce[9078]: 2A04A5C18: sender non-delivery not
ification: 4EDD55C1C
Sep 20 22:39:49 www postfix/qmgr[571]: 2A04A5C18: removed
Sep 20 22:39:49 www postfix/smtp[9079]: 4EDD55C1C: to=<caocm_hero@163.com>,
relay=mx.mail.163.split.netease.com[220.181.12.51]:25, delay=0.47, delays=0.
02/0.01/0.13/0.31, dsn=2.0.0, status=sent (250 Mail OK queued as mx1,wKjAM7D
LkqndUhFFcmhPUw==.58030S2)
Sep 20 22:39:49 www postfix/qmgr[571]: 4EDD55C1C: removed

TOP

您好,我照文中所操作,進行到
4、安装phpmyadmin 管理数据库

時,使用鏈接訪問mysql數據庫,http://IP/phpmyadmin/index.php時,
提示如下錯誤:


----------------------------------------------
HTTP 404 - 找不到檔案
Internet Explorer
----------------------------------------------

但是,此文件是確實存在的

使用http://IP/phpmyadmin可以訪問文件列表

請教是什么原因引起的,該怎樣解決,謝謝

另外在第五步中:
5、安装extman

因為我安裝的是較新的版本,extmail-0.24-pre8,並未有出現/docs目錄,我看此步操作也只是新增了幾個帳號,難道extman不需要安裝吧,是不是要放在特定的目錄下

以上問題請教啦,謝謝!

TOP

Sep 28 23:26:41 Free postfix/smtpd[610]: connect from localhost.zjsh.info[127.0.0.1]
Sep 28 23:27:29 Free postfix/smtpd[610]: warning: unknown smtpd restriction: "permit_sasl_authenticater"
Sep 28 23:27:29 Free postfix/smtpd[610]: NOQUEUE: reject: RCPT from localhost.zjsh.info[127.0.0.1]: 451 4.3.5 Server configuration error; from=<test@zjsh.info> to=<test@zjsh.info> proto=ESMTP helo=<mail>


上面是maillog日志里面的信息,我在测试发信的时候,只要一写rcpt to:test@zjsh.info 就出错
这是不是sasl有问题,如何检查?

TOP

引用:
下面是引用shanny.z于2006-09-28 23:37发表的:
Sep 28 23:26:41 Free postfix/smtpd[610]: connect from localhost.zjsh.info[127.0.0.1]
Sep 28 23:27:29 Free postfix/smtpd[610]: warning: unknown smtpd restriction: "permit_sasl_authenticater(最后一个字母应该为d)"
Sep 28 23:27:29 Free postfix/smtpd[610]: NOQUEUE: reject: RCPT from localhost.zjsh.info[127.0.0.1]: 451 4.3.5 Server configuration error; from=<test@zjsh.info> to=<test@zjsh.info> proto=ESMTP helo=<mail>


.......
哈哈,不好意思,自己输错了,目前已经能够收发邮件

TOP

按搂主版本为0.1的安装文档,配置完后,目前在本机测试pop /smtp都无法通过验证,请搂主指点;
authtest -s 25 test@jqb.com test
Authentication FAILED: Operation not permitted
mail# authtest -s 110 test@jqb.com test
Authentication FAILED: Operation not permitted
mail# telnet localhost 110
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.jqb.com.
Escape character is &#39;^]&#39;.
+OK Hello there.
user test@jqb.com
+OK Password required.
pass test
-ERR Login failed.
^C
quit
Connection closed by foreign host.
Oct 15 19:46:46 mail postfix/virtual[1254]: B6BEEB828: to=<root@mail.jqb.com>, relay=virtual, delay=0.01, delays=0/0/0/0, dsn=5.1.1, status=bounced (unknown user: "root@mail.jqb.com")
Oct 15 19:46:46 mail postfix/qmgr[1244]: B6BEEB828: removed
Oct 15 20:03:57 mail pop3d: LOGIN FAILED, user=test@jqb.com, ip=[127.0.0.1]
Oct 15 20:04:07 mail pop3d: LOGOUT, ip=[127.0.0.1]



mail# telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.jqb.com.
Escape character is &#39;^]&#39;.
220 mail.jqb.com ESMTP Postfix
ehlo mail
250-mail.jqb.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH NTLM LOGIN PLAIN GSSAPI OTP DIGEST-MD5 CRAM-MD5
250-AUTH=NTLM LOGIN PLAIN GSSAPI OTP DIGEST-MD5 CRAM-MD5
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
auth login
334 VXNlcm5hbWU6
anFiQGpxYi5jb20=
334 UGFzc3dvcmQ6
dGVzdA==
535 5.7.0 Error: authentication failed: authentication failure

谢谢;

TOP

引用:
下面是引用xjjjk于2006-10-15 20:20发表的:
按搂主版本为0.1的安装文档,配置完后,目前在本机测试pop /smtp都无法通过验证,请搂主指点;
authtest -s 25 test@jqb.com test
Authentication FAILED: Operation not permitted
mail# authtest -s 110 test@jqb.com test
Authentication FAILED: Operation not permitted
.......
建议参考chifeng的freebsd 版extmail solution文档,lz的doc已经有一段时间没更新了。

chifeng的docs地址:

http://www.extmail.org/docs/
请引用或摘抄本站文章信息的朋友,保留本站链接及作者信息,保护版权,谢谢。

构建高性能大容量开源邮件系统- ExtMail

Postfix在中国官方网站

TOP

支持一下。

TOP

发新话题