免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
123下一页
最近访问板块 发新帖
查看: 13889 | 回复: 29
打印 上一主题 下一主题

[Mail] 安装postfix的无法创建邮件域目录 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-09-24 16:07 |只看该作者 |倒序浏览
有没有能够回复我在安装了mysql+apache+php+cyrus-sasl 2.1.20+postfix 2.2.3+postfixadmin 2.1.0后测试,
其他的暂时不安装,能后在测试postfix的起动,上面所有的安装和编译都是正确无误的,但是通过postfixadmin的时候却创建了域在数据库中,但是域目录(/var/mailbox/)却无法创建域名文件夹,创建一个新的邮箱名也无法创建一个邮箱文件夹,这是什么问题呢。我在配置文件中都已确定是正确的了。如:
# vi /etc/postfix/main.cf
#=====================BASE=========================
#主机名称(用 FQDN 的方式来写)
myhostname = www.test.com
#domain 名称
mydomain = test.com
#邮件标头上面的 mail from 的那个地址
myorigin = $mydomain
#可用来收件的主机名称(这里没有使用$mydomain是因为我们将使用virtualhost)
mydestination = $myhostname localhost localhost.$mydomain
#允许不使用smtp发信认证的网段
mynetworks = 127.0.0.0/8
inet_interfaces = all
#使用的邮箱格式
#home_mailbox = Maildir/
#mailbox_transport = maildrop

#=====================Vritual Mailbox settings=========================
# 指定用户邮箱所在的根目录
virtual_mailbox_base = /var/mailbox/
#指定postfix如何去检索邮件用户,这里是采用mysql (用户邮箱的目录)
virtual_mailbox_maps = mysql:/etc/postfix/mysql/mysql_virtual_mailbox_maps.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql/mysql_virtual_domains_maps.cf
virtual_alias_domains = (原创就是这样,我注销后或者是不变都没有影响到postfix提供服务)
virtual_alias_maps = mysql:/etc/postfix/mysql/mysql_virtual_alias_maps.cf
#邮件账号的uid, 使用apache的运行用户
virtual_uid_maps = static:1001
virtual_gid_maps = static:1001
#virtual_uid_maps = mysql:/etc/postfix/mysql/mysql-virtual_uid_maps.cf
#virtual_gid_maps = mysql:/etc/postfix/mysql/mysql-virtual_gid_maps.cf
# use this for virtual delivery(如果没有安装maildrop,则此处为virtual)
#virtual_transport = virtual
#use this for maildrop-delivery (如果有maildrop,则此处为maildrop)
virtual_transport = maildrop
#Maildrop-Options for usage with maildrop
maildrop_destination_recipient_limit = 1
maildrop_destination_concurrency_limit = 1

#/var/mailbox/最后的"/"字符不能省略
#所有的MySQL查询配置文件统一存放在/etc/postfix/mysql中

#====================QUOTA========================
#每封信的最大大小(10M),postfix的默认值是10M, 但这指的是邮件正文和编码后附件的总和, 经过#base64编码,附件的大小会增加35%左右, 因此这里设定可接受邮件的大小为14M
message_size_limit = 14336000
#邮箱的默认大小(10M)
virtual_mailbox_limit = 20971520
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
#指定postfix如何获得用户的quota信息(每个用户的邮箱大小)
virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql/mysql_virtual_mailbox_limit_maps.cf
# 是否允许覆盖默认邮箱的大小
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn his diskspace quota, please try again later.
virtual_overquota_bounce = yes

#====================SASL========================
broken_sasl_auth_clients = yes
#In order to allow mail relaying by authenticated clients
smtpd_recipient_restrictions =
  permit_mynetworks,
  permit_sasl_authenticated,
  reject_invalid_hostname,
  reject_non_fqdn_hostname,
  reject_unknown_sender_domain,
  reject_non_fqdn_sender,
  reject_non_fqdn_recipient,
  reject_unknown_recipient_domain,
  reject_unauth_pipelining,
  reject_unauth_destination,
  permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sasl_application_name = smtpd
smtpd_banner=$myhostname ESMTP "Version not Available"

Go to top.

建立/var/mailbox并设置权限
# mkdir /var/mailbox
# chown -R vmail:vmail /var/mailbox
# chmod -R ug+rwx,o-rwx /var/mailbox

建立/etc/postfix/mysql文件夹和MySQL查询配置文件
# mkdir /etc/postfix/mysql
1、vi /etc/postfix/mysql/mysql_virtual_alias_maps.cf
user = postfix
password = postfix
hosts = localhost
dbname = postfix
table = alias
select_field = goto
where_field = address

2、vi /etc/postfix/mysql/mysql_virtual_domains_maps.cf
user = postfix
password = postfix
hosts = localhost
dbname = postfix
table = domain
select_field = description
where_field = domain
#additional_conditions = and backupmx = '0' and active = '1'

3、vi /etc/postfix/mysql/mysql_virtual_mailbox_maps.cf
user = postfix
password = postfix
hosts = localhost
dbname = postfix
table = mailbox
select_field = maildir
where_field = username
#additional_conditions = and active = '1'

4、vi /etc/postfix/mysql/mysql_virtual_mailbox_limit_maps.cf
user = postfix
password = postfix
hosts = localhost
dbname = postfix
table = mailbox
select_field = quota
where_field = username
#additional_conditions = and active = '1'

Go to top.

配置 /usr/local/lib/sasl2/smtpd.conf
# vi /usr/local/lib/sasl2/smtpd.conf
pwcheck_method: auxprop
auxprop_plugin: sql
mech_list: plain login
sql_engine: mysql
sql_hostnames: localhost
sql_user: postfix
sql_passwd: postfix
sql_database: postfix
sql_select: SELECT password FROM mailbox WHERE username='%u@%r' and domain='%r' and active='1'

论坛徽章:
0
2 [报告]
发表于 2005-09-24 21:03 |只看该作者

安装postfix的无法创建邮件域目录

一个是文件夹权限、另外一个是编译postfix的时候,是否支持mysql?

论坛徽章:
0
3 [报告]
发表于 2005-09-24 22:20 |只看该作者

安装postfix的无法创建邮件域目录

可以去http://www.toping.net专业的开源邮件技术论坛postfix版块看一下呢?

论坛徽章:
0
4 [报告]
发表于 2005-09-25 15:31 |只看该作者

安装postfix的无法创建邮件域目录

文件夹的属性是没有问题的,那么支持mysql的话也支持啊。可以通过postfixadmin管理postfix的。可以创建域,也可以创建邮箱。可以通过该创建的邮箱发送邮件,但是不能收取邮件因为他本来就没有文件夹保存。

论坛徽章:
0
5 [报告]
发表于 2005-09-25 15:32 |只看该作者

安装postfix的无法创建邮件域目录

[quote]原帖由 "scyzxp"]可以去http://www.toping.net专业的开源邮件技术论坛postfix版块看一下呢?[/quote 发表:

上去了,也加了POSTFIX的QQ群组,问过很多人都没有一个能够找到真正的原因。我一直装了就查看postfix的maillog日志,没有出现过错误的提示。

论坛徽章:
0
6 [报告]
发表于 2005-09-26 08:03 |只看该作者

安装postfix的无法创建邮件域目录

贴上你的日志来看看!

virtual_transport = virtual启动这一项关闭virtual_transport = maildrop 再试试看?

论坛徽章:
0
7 [报告]
发表于 2005-09-26 10:02 |只看该作者

安装postfix的无法创建邮件域目录

原帖由 "小虎牙" 发表:
贴上你的日志来看看!

virtual_transport = virtual启动这一项关闭virtual_transport = maildrop 再试试看?

我试过了不行,我启动了virtual_transport=virtual
重启postfix后创建一个域,还是不行。我在postfixadmin目录下面创建了一个文件index.php
内容是
<?php mkdir ("/var/mailbox/test.com", 0700);?>;
运行后可以在/var/mailbox下建立了test.com这个目录;
他的用户和组都是apache用户vmail;
现在我把日志也写进来:
Sep 21 20:51:56 PostFix sendmail[1729]: alias database /etc/aliases rebuilt by root
Sep 21 20:51:56 PostFix sendmail[1729]: /etc/aliases: 63 aliases, longest 10 bytes, 625 bytes total
Sep 21 20:51:57 PostFix sendmail[1742]: starting daemon (8.12.: SMTP+queueing@01:00:00
Sep 21 20:51:57 PostFix sm-msp-queue[1751]: starting daemon (8.12.: queueing@01:00:00
Sep 21 20:58:14 PostFix sendmail[1714]: alias database /etc/aliases rebuilt by root
Sep 21 20:58:14 PostFix sendmail[1714]: /etc/aliases: 63 aliases, longest 10 bytes, 625 bytes total
Sep 21 20:58:15 PostFix sendmail[1727]: starting daemon (8.12.: SMTP+queueing@01:00:00
Sep 21 20:58:15 PostFix sm-msp-queue[1736]: starting daemon (8.12.: queueing@01:00:00
Sep 22 04:02:08 PostFix sendmail[11271]: j8M828L4011271: from=root, size=1269, class=0, nrcpts=1, msgid=<200509220802.j8M828L4011271@localhost.localdomain>;, relay=root@localhost
Sep 22 04:02:09 PostFix sendmail[11274]: j8M829ee011274: from=<root@localhost.localdomain>;, size=1575, class=0, nrcpts=1, msgid=<200509220802.j8M828L4011271@localhost.localdomain>;, proto=ESMTP, daemon=MTA, relay=PostFix [127.0.0.1]
Sep 22 04:02:09 PostFix sendmail[11271]: j8M828L4011271: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30040, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (j8M829ee011274 Message accepted for delivery)
Sep 22 04:02:10 PostFix sendmail[11275]: j8M829ee011274: to=<root@localhost.localdomain>;, ctladdr=<root@localhost.localdomain>; (0/0), delay=00:00:01, xdelay=00:00:01, mailer=local, pri=31798, dsn=2.0.0, stat=Sent
Sep 23 04:02:09 PostFix sendmail[22201]: j8N829US022201: from=root, size=622, class=0, nrcpts=1, msgid=<200509230802.j8N829US022201@localhost.localdomain>;, relay=root@localhost
Sep 23 04:02:09 PostFix sendmail[22204]: j8N829ee022204: from=<root@localhost.localdomain>;, size=928, class=0, nrcpts=1, msgid=<200509230802.j8N829US022201@localhost.localdomain>;, proto=ESMTP, daemon=MTA, relay=PostFix [127.0.0.1]
Sep 23 04:02:10 PostFix sendmail[22201]: j8N829US022201: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30040, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (j8N829ee022204 Message accepted for delivery)
Sep 23 04:02:10 PostFix sendmail[22205]: j8N829ee022204: to=<root@localhost.localdomain>;, ctladdr=<root@localhost.localdomain>; (0/0), delay=00:00:01, xdelay=00:00:00, mailer=local, pri=31151, dsn=2.0.0, stat=Sent
Sep 23 15:16:04 PostFix postfix[21156]: warning: My hostname PostFix is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Sep 23 15:26:39 PostFix postfix[21180]: warning: My hostname PostFix is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Sep 23 15:26:39 PostFix postfix/master[21181]: warning: My hostname PostFix is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Sep 23 15:26:40 PostFix postfix/postsuper[21199]: warning: My hostname PostFix is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Sep 23 15:26:41 PostFix postfix/postfix-script: warning: My hostname PostFix is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Sep 23 15:26:41 PostFix postfix/postfix-script: starting the Postfix mail system
Sep 23 15:26:41 PostFix postfix/master[21225]: warning: My hostname PostFix is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Sep 23 15:26:41 PostFix postfix/master[21225]: daemon started -- version 2.2.3, configuration /etc/postfix
Sep 23 15:26:41 PostFix postfix/pickup[21226]: warning: My hostname PostFix is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Sep 23 15:26:41 PostFix postfix/qmgr[21227]: warning: My hostname PostFix is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Sep 23 15:27:28 PostFix postfix/smtpd[21230]: warning: My hostname PostFix is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Sep 23 15:27:28 PostFix postfix/proxymap[21231]: warning: My hostname PostFix is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Sep 23 15:27:28 PostFix postfix/smtpd[21230]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Sep 23 15:27:28 PostFix postfix/smtpd[21230]: connect from unknown[192.168.3.185]
Sep 23 15:27:32 PostFix postfix/smtpd[21230]: disconnect from unknown[192.168.3.185]
Sep 23 15:51:30 PostFix postfix[21278]: warning: My hostname PostFix is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Sep 23 15:51:30 PostFix postfix/master[21279]: warning: My hostname PostFix is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Sep 23 15:51:30 PostFix postfix/postfix-script: warning: My hostname PostFix is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Sep 23 15:51:30 PostFix postfix/postfix-script: stopping the Postfix mail system
Sep 23 15:51:30 PostFix postfix/master[21225]: terminating on signal 15
Sep 23 16:04:45 PostFix postfix/postfix-script: starting the Postfix mail system
Sep 23 16:04:45 PostFix postfix/master[21413]: daemon started -- version 2.2.3, configuration /etc/postfix
Sep 23 17:19:27 PostFix postfix/postfix-script: refreshing the Postfix mail system
Sep 23 17:19:27 PostFix postfix/master[21413]: reload configuration /etc/postfix
Sep 23 17:19:33 PostFix postfix/postfix-script: stopping the Postfix mail system
Sep 23 17:19:33 PostFix postfix/master[21413]: terminating on signal 15
Sep 23 17:19:38 PostFix postfix/postfix-script: starting the Postfix mail system
Sep 23 17:19:38 PostFix postfix/master[21481]: daemon started -- version 2.2.3, configuration /etc/postfix
Sep 23 17:27:14 PostFix postfix/postfix-script: fatal: usage: postfix start (or stop, reload, abort, flush, check, set-permissions, upgrade-configuration)
Sep 23 17:27:47 PostFix postfix/postfix-script: stopping the Postfix mail system
Sep 23 17:27:47 PostFix postfix/master[21481]: terminating on signal 15
Sep 23 17:27:50 PostFix postfix/postfix-script: fatal: usage: postfix start (or stop, reload, abort, flush, check, set-permissions, upgrade-configuration)
Sep 23 17:27:53 PostFix postfix/postfix-script: starting the Postfix mail system
Sep 23 17:27:53 PostFix postfix/master[21600]: daemon started -- version 2.2.3, configuration /etc/postfix
Sep 23 17:33:42 PostFix postfix/postfix-script: stopping the Postfix mail system
Sep 23 17:33:42 PostFix postfix/master[21600]: terminating on signal 15
Sep 23 17:33:48 PostFix postfix/postfix-script: starting the Postfix mail system
Sep 23 17:33:48 PostFix postfix/master[21702]: daemon started -- version 2.2.3, configuration /etc/postfix
Sep 23 17:34:04 PostFix postfix/smtpd[21706]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Sep 23 17:34:04 PostFix postfix/smtpd[21706]: warning: SASL authentication failure: OTP: auxprop backend can't store properties
Sep 23 17:34:04 PostFix postfix/smtpd[21706]: connect from unknown[192.168.3.185]
Sep 23 17:34:07 PostFix postfix/smtpd[21706]: disconnect from unknown[192.168.3.185]
Sep 23 17:36:47 PostFix postfix/postfix-script: stopping the Postfix mail system
Sep 23 17:36:47 PostFix postfix/master[21702]: terminating on signal 15
Sep 23 17:36:58 PostFix postfix/postfix-script: starting the Postfix mail system
Sep 23 17:36:58 PostFix postfix/master[21802]: daemon started -- version 2.2.3, configuration /etc/postfix
Sep 23 17:37:40 PostFix postfix/smtpd[21806]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Sep 23 17:37:40 PostFix postfix/smtpd[21806]: connect from unknown[192.168.3.185]
Sep 23 17:37:43 PostFix postfix/smtpd[21806]: disconnect from unknown[192.168.3.185]
Sep 23 17:37:49 PostFix postfix/smtpd[21806]: connect from unknown[192.168.3.185]
Sep 23 17:38:08 PostFix postfix/smtpd[21806]: disconnect from unknown[192.168.3.185]
Sep 23 17:38:42 PostFix postfix/smtpd[21806]: connect from unknown[192.168.3.185]
Sep 23 17:39:28 PostFix postfix/smtpd[21806]: disconnect from unknown[192.168.3.185]
Sep 23 17:39:40 PostFix postfix/smtpd[21806]: connect from unknown[192.168.3.185]
Sep 23 17:39:47 PostFix postfix/smtpd[21806]: disconnect from unknown[192.168.3.185]
Sep 23 17:40:43 PostFix postfix/smtpd[21806]: connect from PostFix[127.0.0.1]
Sep 23 17:44:15 PostFix postfix/smtpd[21806]: disconnect from PostFix[127.0.0.1]
Sep 23 17:47:35 PostFix postfix/anvil[21808]: statistics: max connection rate 2/60s for (smtp:192.168.3.185) at Sep 23 17:37:49
Sep 23 17:47:35 PostFix postfix/anvil[21808]: statistics: max connection count 1 for (smtp:192.168.3.185) at Sep 23 17:37:40
Sep 23 17:47:35 PostFix postfix/anvil[21808]: statistics: max cache size 1 at Sep 23 17:37:40
Sep 23 19:43:00 PostFix postfix/smtpd[21818]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Sep 23 19:43:00 PostFix postfix/smtpd[21818]: connect from PostFix[127.0.0.1]
Sep 23 19:43:32 PostFix postfix/smtpd[21818]: disconnect from PostFix[127.0.0.1]
Sep 23 19:48:03 PostFix postfix/smtpd[21893]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Sep 23 19:48:03 PostFix postfix/smtpd[21893]: connect from PostFix[127.0.0.1]
Sep 23 19:48:03 PostFix postfix/smtpd[21893]: B1B6D86144: client=PostFix[127.0.0.1]
Sep 23 19:48:03 PostFix postfix/cleanup[21898]: B1B6D86144: message-id=<20050923234803.B1B6D86144@www.test.com>;
Sep 23 19:48:03 PostFix postfix/qmgr[21804]: B1B6D86144: from=<postmaster@change-this-to-your.domain.tld>;, size=498, nrcpt=1 (queue active)
Sep 23 19:48:03 PostFix postfix/smtpd[21893]: disconnect from PostFix[127.0.0.1]
Sep 23 19:48:04 PostFix pipe[21901]: fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory
Sep 23 19:48:05 PostFix postfix/pipe[21900]: B1B6D86144: to=<test@test.com>;, relay=maildrop, delay=2, status=bounced (Command died with status 1: "/usr/local/bin/maildrop"
Sep 23 19:48:05 PostFix postfix/cleanup[21898]: 3318886149: message-id=<20050923234805.3318886149@www.test.com>;
Sep 23 19:48:05 PostFix postfix/qmgr[21804]: 3318886149: from=<>;, size=2252, nrcpt=1 (queue active)
Sep 23 19:48:05 PostFix postfix/qmgr[21804]: B1B6D86144: removed
Sep 23 19:48:15 PostFix postfix/smtp[21903]: 3318886149: to=<postmaster@change-this-to-your.domain.tld>;, relay=none, delay=10, status=bounced (Host or domain name not found. Name service error for name=change-this-to-your.domain.tld type=A: Host not found)
Sep 23 19:48:15 PostFix postfix/qmgr[21804]: 3318886149: removed
Sep 24 04:02:08 PostFix postfix/pickup[29622]: D254F86120: uid=0 from=<root>;
Sep 24 04:02:10 PostFix postfix/cleanup[29857]: D254F86120: message-id=<20050924080208.D254F86120@www.test.com>;
Sep 24 04:02:10 PostFix postfix/qmgr[21804]: D254F86120: from=<root@test.com>;, size=1366, nrcpt=1 (queue active)
Sep 24 04:02:10 PostFix pipe[29886]: fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory
Sep 24 04:02:11 PostFix postfix/pipe[29885]: D254F86120: to=<root@test.com>;, orig_to=<root>;, relay=maildrop, delay=3, status=bounced (Command died with status 1: "/usr/local/bin/maildrop"
Sep 24 04:02:11 PostFix postfix/cleanup[29857]: C5FE486148: message-id=<20050924080211.C5FE486148@www.test.com>;
Sep 24 04:02:11 PostFix postfix/qmgr[21804]: C5FE486148: from=<>;, size=3060, nrcpt=1 (queue active)
Sep 24 04:02:11 PostFix pipe[29907]: fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory
Sep 24 04:02:11 PostFix postfix/qmgr[21804]: D254F86120: removed
Sep 24 04:02:13 PostFix postfix/pipe[29885]: C5FE486148: to=<root@test.com>;, relay=maildrop, delay=2, status=bounced (Command died with status 1: "/usr/local/bin/maildrop"
Sep 24 04:02:13 PostFix postfix/qmgr[21804]: C5FE486148: removed
Sep 24 08:41:51 PostFix authdaemond: modules="authuserdb authpam authldap authmysql authcustom authpipe", daemons=5
Sep 24 08:41:51 PostFix authdaemond: Installing libauthuserdb
Sep 24 08:41:51 PostFix authdaemond: Installation complete: authuserdb
Sep 24 08:41:51 PostFix authdaemond: Installing libauthpam

论坛徽章:
0
8 [报告]
发表于 2005-09-26 10:05 |只看该作者

安装postfix的无法创建邮件域目录

Sep 24 08:41:51 PostFix authdaemond: Installation complete: authuserdb
Sep 24 08:41:51 PostFix authdaemond: Installing libauthpam
Sep 24 08:41:51 PostFix authdaemond: Installation complete: authpam
Sep 24 08:41:51 PostFix authdaemond: Installing libauthldap
Sep 24 08:41:51 PostFix authdaemond: Installation complete: authldap
Sep 24 08:41:51 PostFix authdaemond: Installing libauthmysql
Sep 24 08:41:51 PostFix authdaemond: Installation complete: authmysql
Sep 24 08:41:51 PostFix authdaemond: Installing libauthcustom
Sep 24 08:41:51 PostFix authdaemond: Installation complete: authcustom
Sep 24 08:41:51 PostFix authdaemond: Installing libauthpipe
Sep 24 08:41:51 PostFix authdaemond: Installation complete: authpipe
Sep 24 08:46:49 PostFix authdaemond: modules="authuserdb authpam authldap authmysql authcustom authpipe", daemons=5
Sep 24 08:46:50 PostFix authdaemond: Installing libauthuserdb
Sep 24 08:46:50 PostFix authdaemond: Installation complete: authuserdb
Sep 24 08:46:50 PostFix authdaemond: Installing libauthpam
Sep 24 08:46:50 PostFix authdaemond: Installation complete: authpam
Sep 24 08:46:50 PostFix authdaemond: Installing libauthldap
Sep 24 08:46:50 PostFix authdaemond: Installation complete: authldap
Sep 24 08:46:51 PostFix authdaemond: Installing libauthmysql
Sep 24 08:46:51 PostFix authdaemond: Installation complete: authmysql
Sep 24 08:46:51 PostFix authdaemond: Installing libauthcustom
Sep 24 08:46:51 PostFix authdaemond: Installation complete: authcustom
Sep 24 08:46:51 PostFix authdaemond: Installing libauthpipe
Sep 24 08:46:51 PostFix authdaemond: Installation complete: authpipe
Sep 24 12:07:17 PostFix postfix/postfix-script: fatal: the Postfix mail system is not running
Sep 24 12:07:27 PostFix postfix/postfix-script: starting the Postfix mail system
Sep 24 12:07:27 PostFix postfix/master[1950]: daemon started -- version 2.2.3, configuration /etc/postfix
Sep 24 14:31:09 PostFix pop3d: Connection, ip=[::ffff:127.0.0.1]
Sep 24 14:31:28 PostFix pop3d: LOGOUT, ip=[::ffff:127.0.0.1]
Sep 24 14:31:28 PostFix pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Sep 24 14:31:30 PostFix pop3d: Connection, ip=[::ffff:127.0.0.1]
Sep 24 14:32:37 PostFix authdaemond: ldap_simple_bind_s failed: Can't contact LDAP server
Sep 24 14:32:37 PostFix pop3d: LOGIN FAILED, user=test@test.com, ip=[::ffff:127.0.0.1]
Sep 24 14:32:37 PostFix pop3d: authentication error: Input/output error
Sep 24 14:32:41 PostFix pop3d: Connection, ip=[::ffff:127.0.0.1]
Sep 24 14:32:52 PostFix authdaemond: ldap_simple_bind_s failed: Can't contact LDAP server
Sep 24 14:32:52 PostFix pop3d: LOGIN FAILED, user=test@test.com, ip=[::ffff:127.0.0.1]
Sep 24 14:32:52 PostFix pop3d: authentication error: Input/output error
Sep 24 17:57:09 PostFix postfix/postfix-script: fatal: usage: postfix start (or stop, reload, abort, flush, check, set-permis
sions, upgrade-configuration)
Sep 24 17:57:13 PostFix postfix/postfix-script: fatal: the Postfix mail system is already running
Sep 24 17:57:18 PostFix postfix/postfix-script: stopping the Postfix mail system
Sep 24 17:57:18 PostFix postfix/master[1950]: terminating on signal 15
Sep 24 17:57:21 PostFix postfix/postfix-script: starting the Postfix mail system
Sep 24 17:57:21 PostFix postfix/master[19221]: daemon started -- version 2.2.3, configuration /etc/postfix
Sep 24 17:57:43 PostFix postfix/smtpd[19238]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Sep 24 17:57:43 PostFix postfix/smtpd[19238]: connect from PostFix[127.0.0.1]
Sep 24 17:57:44 PostFix postfix/smtpd[19238]: 0C26F8611F: client=PostFix[127.0.0.1]
Sep 24 17:57:44 PostFix postfix/cleanup[19243]: 0C26F8611F: message-id=<20050924215743.0C26F8611F@www.test.com>;
Sep 24 17:57:44 PostFix postfix/qmgr[19223]: 0C26F8611F: from=<admin@test.com>;, size=473, nrcpt=1 (queue active)
Sep 24 17:57:44 PostFix postfix/smtpd[19238]: disconnect from PostFix[127.0.0.1]
Sep 24 17:57:44 PostFix pipe[19246]: fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory
Sep 24 17:57:45 PostFix postfix/pipe[19245]: 0C26F8611F: to=<test1@test.com>;, relay=maildrop, delay=2, status=bounced (Comman
d died with status 1: "/usr/local/bin/maildrop"
Sep 24 17:57:45 PostFix postfix/cleanup[19243]: 643FB86148: message-id=<20050924215745.643FB86148@www.test.com>;
Sep 24 17:57:45 PostFix postfix/qmgr[19223]: 643FB86148: from=<>;, size=2175, nrcpt=1 (queue active)
Sep 24 17:57:45 PostFix postfix/qmgr[19223]: 0C26F8611F: removed
Sep 24 17:57:45 PostFix pipe[19248]: fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory
Sep 24 17:57:46 PostFix postfix/pipe[19245]: 643FB86148: to=<admin@test.com>;, relay=maildrop, delay=1, status=bounced (Comman
d died with status 1: "/usr/local/bin/maildrop"
Sep 24 17:57:46 PostFix postfix/qmgr[19223]: 643FB86148: removed
Sep 24 17:57:57 PostFix postfix/smtpd[19238]: connect from PostFix[127.0.0.1]
Sep 24 17:57:57 PostFix postfix/smtpd[19238]: 160E78611F: client=PostFix[127.0.0.1]
Sep 24 17:57:57 PostFix postfix/cleanup[19243]: 160E78611F: message-id=<20050924215757.160E78611F@www.test.com>;
Sep 24 17:57:57 PostFix postfix/qmgr[19223]: 160E78611F: from=<admin@test.com>;, size=471, nrcpt=1 (queue active)
Sep 24 17:57:57 PostFix postfix/smtpd[19238]: disconnect from PostFix[127.0.0.1]
Sep 24 17:57:57 PostFix pipe[19249]: fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory
Sep 24 17:57:58 PostFix postfix/pipe[19245]: 160E78611F: to=<test@test.com>;, relay=maildrop, delay=1, status=bounced (Command
died with status 1: "/usr/local/bin/maildrop"
Sep 24 17:57:58 PostFix postfix/cleanup[19243]: 344DB86148: message-id=<20050924215758.344DB86148@www.test.com>;
Sep 24 17:57:58 PostFix postfix/qmgr[19223]: 344DB86148: from=<>;, size=2171, nrcpt=1 (queue active)
Sep 24 17:57:58 PostFix postfix/qmgr[19223]: 160E78611F: removed
Sep 24 17:57:58 PostFix pipe[19250]: fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory
Sep 24 17:57:59 PostFix postfix/pipe[19245]: 344DB86148: to=<admin@test.com>;, relay=maildrop, delay=1, status=bounced (Comman
d died with status 1: "/usr/local/bin/maildrop"
Sep 24 17:57:59 PostFix postfix/qmgr[19223]: 344DB86148: removed
Sep 24 17:59:07 PostFix postfix/smtpd[19238]: connect from PostFix[127.0.0.1]
Sep 24 17:59:07 PostFix postfix/smtpd[19238]: 04B5B8611F: client=PostFix[127.0.0.1]
Sep 24 17:59:07 PostFix postfix/cleanup[19243]: 04B5B8611F: message-id=<20050924215907.04B5B8611F@www.test.com>;
Sep 24 17:59:07 PostFix postfix/qmgr[19223]: 04B5B8611F: from=<admin@test.com>;, size=487, nrcpt=1 (queue active)
Sep 24 17:59:07 PostFix postfix/smtpd[19238]: disconnect from PostFix[127.0.0.1]
Sep 24 17:59:07 PostFix postfix/smtp[19255]: 04B5B8611F: to=<haigen.luo@kenfor.com>;, relay=kenfor.com[211.139.218.153], delay
=0, status=sent (250 ok 1127598869 qp 15190)
Sep 24 17:59:07 PostFix postfix/qmgr[19223]: 04B5B8611F: removed
Sep 25 04:02:09 PostFix postfix/pickup[19446]: 61E7386120: uid=0 from=<root>;
Sep 25 04:02:09 PostFix postfix/cleanup[19681]: 61E7386120: message-id=<20050925080209.61E7386120@www.test.com>;
Sep 25 04:02:09 PostFix postfix/qmgr[19223]: 61E7386120: from=<root@test.com>;, size=1063, nrcpt=1 (queue active)
Sep 25 04:02:10 PostFix pipe[19693]: fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory

论坛徽章:
0
9 [报告]
发表于 2005-09-26 11:49 |只看该作者

安装postfix的无法创建邮件域目录

fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory???????

论坛徽章:
0
10 [报告]
发表于 2005-09-26 17:47 |只看该作者

安装postfix的无法创建邮件域目录

[quote]原帖由 "小虎牙"]fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory???????[/quote 发表:

哦,那是还没有装 maildrop-1.8.0的原故,请问这个与我上面所说的不能创建目录有关系吗,或者是有直接的连系。
我安装maildrop-1.8.0后再试一试。我想应该不关这个问题的事。
我查看了很我多,要建立Maildir只需要在两处设定就行,一个是:
main.cf中的:home_mailbox = Maildir/
和main.cf虑拟邮箱目录设定下的
virtual_mailbox_base = /var/mailbox/
就可以了吧,而且我安装的是courier-imap应该支持Maildir格式的!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP