- 论坛徽章:
- 0
|
安装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 |
|