免费注册 查看新帖 |

Chinaunix

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

[Mail] 王老大帮忙看看, 安装postfix问题接二连三的,大家再来看看。。 [复制链接]

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
11 [报告]
发表于 2003-10-13 13:31 |只看该作者

王老大帮忙看看, 安装postfix问题接二连三的,大家再来看看。。

唉,有漏了一点,你也要在cyradm中加一个tester@cngnu.org的信箱,然后退出cyradm,删除这个信箱目录,再做链接。
建立信箱再删除是为了让cyrus-imap知道有这样的信箱,可以登录。

论坛徽章:
0
12 [报告]
发表于 2003-10-14 14:48 |只看该作者

王老大帮忙看看, 安装postfix问题接二连三的,大家再来看看。。

wxy老大,我目前进行到这里除了问题。http://jifeng.com.cn/horde/index.php
由于某种原因登录失败。很有可能你输入的用户名或密码有误。
用户名tester@jifeng.com.cn
  密码: testpw
我开始的telnet localhost 110的验证都能通过,后来装了其他软件后就不行了,不知道是什么原因。。


数据库见下

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>; show databases;
+----------+
| Database |
+----------+
| horde    |
| mail     |
| mysql    |
| test     |
+----------+
4 rows in set (0.00 sec)

mysql>; use horde;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql>; show tables;
+------------------+
| Tables_in_horde  |
+------------------+
| horde_categories |
| horde_prefs      |
| horde_users      |
| turba_objects    |
+------------------+
4 rows in set (0.01 sec)

mysql>; select * from horde_categories
    ->; ;
Empty set (0.00 sec)

mysql>; select * from horde_categories;
Empty set (0.00 sec)

mysql>; select * from horde_prefs;
Empty set (0.00 sec)

mysql>; select * from horde_users;
Empty set (0.00 sec)

mysql>; select * from turba_objects;
Empty set (0.00 sec)

vi /usr/local/apache2/htdocs/horde/imp/config/servers.php
如下
<?php
/*
* $Horde: imp/config/servers.php.dist,v 1.16.2.8 2002/10/18 15:38:10 jan Exp $
*
* This file is where you specify what servers people using your
* installation of IMP can log in to. There are a number of properties
* that you can set for each server:
*
* name: This is the plaintext, english name that you want displayed
* to people if you are using the drop down server list.
*
* server: The hostname of the mail server to connect to.
*
* protocol: One of 'imap/notls' (or only 'imap' if you have a
* c-client version 2000c or older), 'pop3', 'imap/ssl', or
* 'pop3/ssl'.  If it's pop3 you're going to be connecting to a POP3
* mail server instead of IMAP (so make sure the port is correct - 110
* by default), and all folder options will be automatically turned
* off. The two ssl options will only work if you've compiled PHP
* against an SSL-enabled version of c-client, used the
* --with-imap-ssl flag compiling PHP, and you have a mail server
* which supports SSL. The default ports are 993 for IMAP over SSL,
* and 995 for POP3 over SSL.
*
* NOTE: If you are using a self-signed server certificate with with either
* imap/ssl or pop3/ssl, you MUST add /novalidate-cert at the end of the
* protocol string. So for imap, this would be "imap/ssl/novalidate-cert",
* and for pop3 it would be "pop3/ssl/novalidate-cert". This is necessary to
* tell c-client not to complain about the lack of a valid CA on the
* certificate.
*
* port: The port that the mail (imap or pop) service this server runs
* is on.
// Any entries whose key value ('foo' in $servers['foo']) begin with
// '_' (an underscore character) will be treated as prompts, and you
// won't be able to log in to them. The only property these entries
// need is 'name'. This lets you put labels in the list, like this
// example:
$servers['_prompt'] = array(
    'name' =>; _("Choose a mail server:"
);

$servers['imap'] = array(
    'name' =>; 'IMAP Server',
    'server' =>; 'imap.example.com',
    'protocol' =>; 'imap/notls',
    'port' =>; 143,
    'folders' =>; 'mail/',
    'namespace' =>; '',
    'maildomain' =>; 'example.com',
    'smtphost' =>; 'smtp.example.com',
    'realm' =>; 'example.com',
    'preferred' =>; ''
);

$servers['cyrus'] = array(
    'name' =>; 'Cyrus IMAP Server',
    'server' =>; 'localhost',
    'protocol' =>; 'imap/notls',
    'port' =>; 143,
    'folders' =>; '',
    'namespace' =>; 'INBOX.',
    'maildomain' =>; 'jifeng.com.cn',
'realm' =>; 'jifeng.com.cn',
    'preferred' =>; ''
);

$servers['pop'] = array(
    'name' =>; 'POP3 Server',
    'server' =>; 'pop.example.com',
    'protocol' =>; 'pop3',
    'port' =>; 110,
    'folders' =>; '',
    'namespace' =>; '',
    'maildomain' =>; 'example.com',
    'realm' =>; 'example.com',
    'preferred' =>; ''
);

$servers['exchange'] = array(
    'name' =>; 'Exchange 5.5 server',
    'server' =>; 'exchange.example.com',
    'protocol' =>; 'imap',
    'port' =>; 143,
    'folders' =>; '',
    'namespace' =>; '',
    'maildomain' =>; 'example.com',
    'realm' =>; '',
    'preferred' =>; ''
);



帮我看看,是怎么了。。

论坛徽章:
0
13 [报告]
发表于 2003-10-14 14:49 |只看该作者

王老大帮忙看看, 安装postfix问题接二连三的,大家再来看看。。

[root@jifeng drivers]# tail /var/log/auth.log
Oct 14 14:34:08 jifeng saslauthd[892]: DEBUG: auth_pam: pam_authenticate failed: Authentication failure
Oct 14 14:34:08 jifeng saslauthd[892]: do_auth         : auth failure: [user=tester@jifeng.com.cn] [service=pop] [realm=] [mech=pam] [reason=PAM auth error]
Oct 14 14:34:31 jifeng pop(pam_unix)[891]: check pass; user unknown
Oct 14 14:34:31 jifeng pop(pam_unix)[891]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
Oct 14 14:34:33 jifeng saslauthd[891]: DEBUG: auth_pam: pam_authenticate failed: Authentication failure
Oct 14 14:34:33 jifeng saslauthd[891]: do_auth         : auth failure: [user=tester@jifeng.com.cn] [service=pop] [realm=] [mech=pam] [reason=PAM auth error]
Oct 14 14:34:50 jifeng pop(pam_unix)[892]: check pass; user unknown
Oct 14 14:34:50 jifeng pop(pam_unix)[892]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
Oct 14 14:34:53 jifeng saslauthd[892]: DEBUG: auth_pam: pam_authenticate failed: Authentication failure
Oct 14 14:34:53 jifeng saslauthd[892]: do_auth         : auth failure: [user=tester@jifeng.com.cn] [service=pop] [realm=] [mech=pam] [reason=PAM auth error]



tail /var/log/messages
Oct 14 14:34:08 jifeng saslauthd[892]: do_auth         : auth failure: [user=tester@jifeng.com.cn] [service=pop] [realm=] [mech=pam] [reason=PAM auth error]
Oct 14 14:34:08 jifeng pop3d[7114]: badlogin: jifeng.com.cn[127.0.0.1] plaintext tester@jifeng.com.cn SASL(-13): authentication failure: checkpass failed
Oct 14 14:34:31 jifeng pop(pam_unix)[891]: check pass; user unknown
Oct 14 14:34:31 jifeng pop(pam_unix)[891]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
Oct 14 14:34:33 jifeng saslauthd[891]: do_auth         : auth failure: [user=tester@jifeng.com.cn] [service=pop] [realm=] [mech=pam] [reason=PAM auth error]
Oct 14 14:34:33 jifeng pop3d[7114]: badlogin: jifeng.com.cn[127.0.0.1] plaintext tester@jifeng.com.cn SASL(-13): authentication failure: checkpass failed
Oct 14 14:34:50 jifeng pop(pam_unix)[892]: check pass; user unknown
Oct 14 14:34:50 jifeng pop(pam_unix)[892]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
Oct 14 14:34:53 jifeng saslauthd[892]: do_auth         : auth failure: [user=tester@jifeng.com.cn] [service=pop] [realm=] [mech=pam] [reason=PAM auth error]
Oct 14 14:34:53 jifeng pop3d[7114]: badlogin: jifeng.com.cn[127.0.0.1] plaintext tester@jifeng.com.cn SASL(-13): authentication failure: checkpass failed



# tail /var/log/maillog
Oct 14 10:15:22 jifeng postfix/smtp[1068]: 7E898C422: to=<webmaster@tx3c.com.cn>;, relay=mail.tx3c.com.cn[61.186.170.52], delay=1, status=sent (250 ok message accepted for delivery)
Oct 14 11:00:08 jifeng postfix/smtpd[7405]: connect from unknown[61.186.170.52]
Oct 14 11:00:08 jifeng postfix/smtpd[7405]: 4B139C420: client=unknown[61.186.170.52], sasl_method=LOGIN, sasl_username=tester@jifeng.com.cn
Oct 14 11:00:08 jifeng postfix/cleanup[7408]: 4B139C420: message-id=<000901c391fe$c5de3260$34aaba3d@dusldkjfbhbkuj>;
Oct 14 11:00:10 jifeng postfix/qmgr[1010]: 4B139C420: from=<tester@jifeng.com.cn>;, size=6122916, nrcpt=1 (queue active)
Oct 14 11:00:11 jifeng postfix/smtpd[7405]: disconnect from unknown[61.186.170.52]
Oct 14 11:00:11 jifeng postfix/smtp[7413]: 4B139C420: to=<dujin@tx3c.com.cn>;, relay=mail.tx3c.com.cn[61.186.170.52], delay=3, status=bounced (message size 6122916 exceeds size limit 5242880 of server mail.tx3c.com.cn[61.186.170.52])
Oct 14 11:00:11 jifeng postfix/cleanup[7408]: 1DB58C422: message-id=<20031014030011.1DB58C422@jifeng.com.cn>;
Oct 14 11:00:11 jifeng postfix/qmgr[1010]: 1DB58C422: from=<>;, size=51695, nrcpt=1 (queue active)
Oct 14 11:00:11 jifeng postfix/pipe[7417]: 1DB58C422: to=<tester~jifeng.com.cn@jifeng.com.cn>;, orig_to=<tester@jifeng.com.cn>;, relay=cyrus, delay=0, status=sent (jifeng.com.cn)

论坛徽章:
0
14 [报告]
发表于 2003-10-15 15:57 |只看该作者

王老大帮忙看看, 安装postfix问题接二连三的,大家再来看看。。

王老大请看,,

我现在postfix 可以正常的收发邮件了,但是web界面登陆不上。。请老大帮忙!!!
tail /var/log/auth.log
Oct 15 15:46:04 jifeng saslauthd[15309]: detach_tty      : Cannot start saslauth
d
Oct 15 15:46:04 jifeng saslauthd[15309]: detach_tty      : could not read from s
tartup_pipe
Oct 15 15:46:34 jifeng sshd(pam_unix)[15184]: session closed for user root
Oct 15 15:46:36 jifeng saslauthd[7485]: PAM (pop) illegal module type: sqllog
Oct 15 15:46:36 jifeng saslauthd[7485]: PAM pam_parse: expecting return value; [
...=]
Oct 15 15:46:36 jifeng saslauthd[7485]: PAM unable to dlopen(//lib/security/0)
Oct 15 15:46:36 jifeng saslauthd[7485]: PAM [dlerror: //lib/security/0: cannot o
pen shared object file: No such file or directory]
Oct 15 15:46:36 jifeng saslauthd[7485]: PAM adding faulty module: //lib/security
/0
Oct 15 15:46:37 jifeng pop(pam_unix)[7485]: could not identify user (from getpwn
am(tester@jifeng.com.cn))
Oct 15 15:55:48 jifeng sshd(pam_unix)[15328]: session opened for user root by (u
id=0)
tail /var/log/messages
Oct 15 15:46:30 jifeng master[15324]: exiting
Oct 15 15:46:34 jifeng sshd(pam_unix)[15184]: session closed for user root
Oct 15 15:46:36 jifeng saslauthd[7485]: PAM (pop) illegal module type: sqllog
Oct 15 15:46:36 jifeng saslauthd[7485]: PAM pam_parse: expecting return value; [...=]
Oct 15 15:46:36 jifeng saslauthd[7485]: PAM unable to dlopen(//lib/security/0)
Oct 15 15:46:36 jifeng saslauthd[7485]: PAM [dlerror: //lib/security/0: cannot open shared object file: No such file or directory]
Oct 15 15:46:36 jifeng saslauthd[7485]: PAM adding faulty module: //lib/security/0
Oct 15 15:46:37 jifeng pop(pam_unix)[7485]: could not identify user (from getpwnam(tester@jifeng.com.cn))
Oct 15 15:46:37 jifeng pop3d[15325]: login: [61.186.170.52] tester@jifeng.com.cn plaintext
Oct 15 15:55:48 jifeng sshd(pam_unix)[15328]: session opened for user root by (uid=0)
tail /var/log/maillog
Oct 15 15:42:46 jifeng postfix/smtpd[15167]: connect from unknown[61.186.170.52]
Oct 15 15:42:47 jifeng postfix/smtpd[15167]: 05E9F9CEA: client=unknown[61.186.170.52], sasl_method=LOGIN, sasl_username=tester@jifeng.com.cn
Oct 15 15:42:47 jifeng postfix/cleanup[15169]: 05E9F9CEA: message-id=<000801c392ef$6b94aa90$34aaba3d@dusldkjfbhbkuj>;
Oct 15 15:42:47 jifeng postfix/qmgr[11647]: 05E9F9CEA: from=<tester@jifeng.com.cn>;, size=98881, nrcpt=1 (queue active)
Oct 15 15:42:47 jifeng postfix/smtpd[15167]: disconnect from unknown[61.186.170.52]
Oct 15 15:42:47 jifeng postfix/smtp[15180]: 05E9F9CEA: to=<dujin@tx3c.com.cn>;, relay=mail.tx3c.com.cn[61.186.170.52], delay=0, status=sent (250 ok message accepted for delivery)
Oct 15 15:46:11 jifeng postfix/postfix-script: fatal: the Postfix mail system is already running
Oct 15 15:46:15 jifeng postfix/postfix-script: fatal: usage: postfix start (or stop, reload, abort, flush, or check)
Oct 15 15:46:22 jifeng postfix/postfix-script: refreshing the Postfix mail system
Oct 15 15:46:22 jifeng postfix/master[11645]: reload configuration
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP