免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: anstan
打印 上一主题 下一主题

[Mail] postfix邮件系统0511 [复制链接]

论坛徽章:
0
31 [报告]
发表于 2006-04-14 17:22 |只看该作者
我按照教程安了一个postfix,请问管理员密码是什么?又在什么地方设置呢?

论坛徽章:
0
32 [报告]
发表于 2006-05-10 14:04 |只看该作者
原帖由 bqsc 于 2006-4-14 17:22 发表
我按照教程安了一个postfix,请问管理员密码是什么?又在什么地方设置呢?

你输入http://IP/postfix/admin   时去不要密码的

论坛徽章:
0
33 [报告]
发表于 2006-05-23 19:43 |只看该作者
please put it to front

论坛徽章:
0
34 [报告]
发表于 2006-06-15 21:47 |只看该作者
晕,怎么弄出这么多表情来.

论坛徽章:
0
35 [报告]
发表于 2006-06-16 08:13 |只看该作者
[root@localhost etc]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 www.test.com ESMTP "Version not Available"
ehlo www.test.com
250-www.test.com
250-PIPELINING
250-SIZE 14336000
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250 8BITMIME
auth login
334 VXNlcm5hbWU6
dGVzdEB0ZXN0LmNvbQ==
334 UGFzc3dvcmQ6
dGVzdA==
535 Error: authentication failed

Jun 15 13:20:56 localhost postfix/smtpd[3572]: connect from localhost.localdomai
n[127.0.0.1]
Jun 15 13:22:28 localhost postfix/smtpd[3572]: warning: SASL authentication fail
ure: could not verify password
Jun 15 13:22:28 localhost postfix/smtpd[3572]: warning: localhost.localdomain[12
7.0.0.1]: SASL login authentication failed

请求帮助!谢谢!

论坛徽章:
0
36 [报告]
发表于 2006-06-16 10:10 |只看该作者
原因找到了!maillog日志
authdaemond: SQL query: SELECT username, crypt, "", '1
001', '1001', '/var/mailbox/', maildir, concat(quota,'S'), name, "" FROM mailbox
WHERE username = "test@test.com" AND (active='1')
Jun 16 09:35:27 localhost authdaemond: mysql_query failed, reconnecting: Unknown
column 'crypt' in 'field list'
Jun 16 09:35:27 localhost authdaemond: mysql_query failed second time, giving up
: Unknown column 'crypt' in 'field list'

请问!在哪里改这条SQL语句,我找不到这个语句,把crypt改成password!谢谢大家了!

论坛徽章:
0
37 [报告]
发表于 2006-06-16 11:00 |只看该作者
问题解决了!是authmysql文件里改一下就行了!
又出新问题了!
chdir test.com/test/: No such file or directory
Jun 16 10:41:42 localhost authdaemond: received userid lookup request: test@test
.com
这个应该大家能帮我解决了!

论坛徽章:
0
38 [报告]
发表于 2006-06-17 16:20 |只看该作者
真晕!只能手工建目录了,结果可以了!虽然没人回答!多找些资料还是能解决的!现在开始装11.webmail了,希望成功!

论坛徽章:
0
39 [报告]
发表于 2006-06-19 08:46 |只看该作者

按照这个配置,邮箱和附件的大小各是多少?

按照这个配置,邮箱和附件的大小各是多少?如果需要更改是否仅改这两项值就可以了?
message_size_limit =
virtual_mailbox_limit =
或者还需要做其他的改动?

论坛徽章:
0
40 [报告]
发表于 2006-12-12 15:59 |只看该作者
gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/local/mysql/include/mysql -DUSE_SASL_AUTH -I/usr/local/include/sasl -g -O -I. -I../../include -DLINUX2 -c dict_mysql.c
dict_mysql.c:173:19: mysql.h: No such file or directory
dict_mysql.c:198: error: syntax error before "MYSQL"
dict_mysql.c:198: warning: no semicolon at end of struct or union
dict_mysql.c:206: error: syntax error before '}' token
dict_mysql.c:206: warning: data definition has no type or storage class
dict_mysql.c:210: error: syntax error before "HOST"
dict_mysql.c:210: warning: no semicolon at end of struct or union
dict_mysql.c:212: warning: data definition has no type or storage class
dict_mysql.c:226: error: syntax error before "PLMYSQL"
dict_mysql.c:226: warning: no semicolon at end of struct or union
dict_mysql.c:227: warning: data definition has no type or storage class
dict_mysql.c:241: error: syntax error before '*' token
dict_mysql.c:241: warning: data definition has no type or storage class
dict_mysql.c:242: error: syntax error before '*' token
dict_mysql.c:242: error: syntax error before '*' token
dict_mysql.c:242: warning: data definition has no type or storage class
dict_mysql.c:243: error: syntax error before '*' token
dict_mysql.c:244: error: syntax error before '*' token
dict_mysql.c:245: error: syntax error before '*' token
dict_mysql.c:246: error: syntax error before '*' token
dict_mysql.c:250: error: syntax error before '*' token
dict_mysql.c:251: error: syntax error before '*' token
dict_mysql.c:251: warning: data definition has no type or storage class
dict_mysql.c: In function `dict_mysql_quote':
dict_mysql.c:257: error: `dict_mysql' undeclared (first use in this function)
dict_mysql.c:257: error: (Each undeclared identifier is reported only once
dict_mysql.c:257: error: for each function it appears in.)
dict_mysql.c:257: error: syntax error before ')' token
dict_mysql.c: In function `dict_mysql_lookup':
dict_mysql.c:287: error: `dict_mysql' undeclared (first use in this function)
dict_mysql.c:287: error: syntax error before ')' token
dict_mysql.c:288: error: `pldb' undeclared (first use in this function)
dict_mysql.c:289: error: `MYSQL_RES' undeclared (first use in this function)
dict_mysql.c:289: error: `query_res' undeclared (first use in this function)
dict_mysql.c:290: error: `MYSQL_ROW' undeclared (first use in this function)
dict_mysql.c:290: error: syntax error before "row"
dict_mysql.c:348: error: `row' undeclared (first use in this function)
dict_mysql.c: At top level:
dict_mysql.c:368: error: syntax error before '*' token
dict_mysql.c: In function `dict_mysql_check_stat':
dict_mysql.c:371: error: `host' undeclared (first use in this function)
dict_mysql.c:373: error: `t' undeclared (first use in this function)
dict_mysql.c: At top level:
dict_mysql.c:382: error: syntax error before '*' token
dict_mysql.c:382: error: syntax error before '*' token
dict_mysql.c:383: warning: no previous prototype for 'dict_mysql_find_host'
dict_mysql.c: In function `dict_mysql_find_host':
dict_mysql.c:390: error: `PLDB' undeclared (first use in this function)
dict_mysql.c: At top level:
dict_mysql.c:414: error: syntax error before '*' token
dict_mysql.c:414: error: syntax error before '*' token
dict_mysql.c:416: warning: no previous prototype for 'dict_mysql_get_active'
dict_mysql.c: In function `dict_mysql_get_active':
dict_mysql.c:418: error: `host' undeclared (first use in this function)
dict_mysql.c:422: error: `PLDB' undeclared (first use in this function)
dict_mysql.c:443: error: `dbname' undeclared (first use in this function)
dict_mysql.c:443: error: `username' undeclared (first use in this function)
dict_mysql.c:443: error: `password' undeclared (first use in this function)
dict_mysql.c: In function `dict_mysql_event':
dict_mysql.c:456: error: `host' undeclared (first use in this function)
dict_mysql.c:456: error: syntax error before ')' token
dict_mysql.c: At top level:
dict_mysql.c:469: error: syntax error before '*' token
dict_mysql.c:469: error: syntax error before '*' token
dict_mysql.c:474: warning: no previous prototype for 'plmysql_query'
dict_mysql.c: In function `plmysql_query':
dict_mysql.c:475: error: `host' undeclared (first use in this function)
dict_mysql.c:476: error: `MYSQL_RES' undeclared (first use in this function)
dict_mysql.c:476: error: `res' undeclared (first use in this function)
dict_mysql.c:478: error: `PLDB' undeclared (first use in this function)
dict_mysql.c:478: error: `dbname' undeclared (first use in this function)
dict_mysql.c:478: error: `username' undeclared (first use in this function)
dict_mysql.c:478: error: `password' undeclared (first use in this function)
dict_mysql.c:479: error: `query' undeclared (first use in this function)
dict_mysql.c:481: warning: format argument is not a pointer (arg 2)
dict_mysql.c:490: warning: format argument is not a pointer (arg 2)
dict_mysql.c: At top level:
dict_mysql.c:503: error: syntax error before '*' token
dict_mysql.c:504: warning: 'plmysql_connect_single' was used with no prototype before its definition
dict_mysql.c: In function `plmysql_connect_single':
dict_mysql.c:505: error: `host' undeclared (first use in this function)
dict_mysql.c:509: error: `username' undeclared (first use in this function)
dict_mysql.c:510: error: `password' undeclared (first use in this function)
dict_mysql.c:511: error: `dbname' undeclared (first use in this function)
dict_mysql.c:521: warning: format argument is not a pointer (arg 3)
dict_mysql.c: At top level:
dict_mysql.c:527: error: syntax error before '*' token
dict_mysql.c:528: warning: 'plmysql_close_host' was used with no prototype before its definition
dict_mysql.c: In function `plmysql_close_host':
dict_mysql.c:529: error: `host' undeclared (first use in this function)
dict_mysql.c: At top level:
dict_mysql.c:538: error: syntax error before '*' token
dict_mysql.c:539: warning: 'plmysql_down_host' was used with no prototype before its definition
dict_mysql.c: In function `plmysql_down_host':
dict_mysql.c:540: error: `host' undeclared (first use in this function)
dict_mysql.c: At top level:
dict_mysql.c:549: error: syntax error before '*' token
dict_mysql.c: In function `mysql_parse_config':
dict_mysql.c:558: error: `dict_mysql' undeclared (first use in this function)
dict_mysql.c:558: error: `mysqlcf' undeclared (first use in this function)
dict_mysql.c: In function `dict_mysql_open':
dict_mysql.c:620: error: `dict_mysql' undeclared (first use in this function)
dict_mysql.c:629: error: syntax error before ')' token
dict_mysql.c: At top level:
dict_mysql.c:645: error: syntax error before '*' token
dict_mysql.c: In function `plmysql_init':
dict_mysql.c:647: error: `PLDB' undeclared (first use in this function)
dict_mysql.c:650: error: syntax error before ')' token
dict_mysql.c:654: error: syntax error before ')' token
dict_mysql.c:654: error: syntax error before ')' token
dict_mysql.c: At top level:
dict_mysql.c:664: error: syntax error before '*' token
dict_mysql.c: In function `host_init':
dict_mysql.c:667: error: `host' undeclared (first use in this function)
dict_mysql.c:667: error: syntax error before ')' token
dict_mysql.c: In function `dict_mysql_close':
dict_mysql.c:711: error: `dict_mysql' undeclared (first use in this function)
dict_mysql.c:711: error: syntax error before ')' token
dict_mysql.c: At top level:
dict_mysql.c:730: error: syntax error before '*' token
dict_mysql.c:731: warning: 'plmysql_dealloc' was used with no prototype before its definition
dict_mysql.c: In function `plmysql_dealloc':
dict_mysql.c:734: error: `PLDB' undeclared (first use in this function)
make: *** [dict_mysql.o] Error 1
make: *** [update] Error 1
[root@localhost postfix-2.2.5]#


这是为什么啊?系统RHEL4 -U1
数据库5.0.27
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP