歡迎您光臨本站 註冊首頁

安裝postfix的無法創建郵件域目錄

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

安裝postfix的無法創建郵件域目錄

有沒有能夠回復我在安裝了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='%[email protected]%r' and domain='%r' and active='1'
《解決方案》

安裝postfix的無法創建郵件域目錄

一個是文件夾許可權、另外一個是編譯postfix的時候,是否支持mysql?
《解決方案》

安裝postfix的無法創建郵件域目錄

可以去http://www.toping.net專業的開源郵件技術論壇postfix版塊看一下呢?
《解決方案》

安裝postfix的無法創建郵件域目錄

文件夾的屬性是沒有問題的,那麼支持mysql的話也支持啊。可以通過postfixadmin管理postfix的。可以創建域,也可以創建郵箱。可以通過該創建的郵箱發送郵件,但是不能收取郵件因為他本來就沒有文件夾保存。
《解決方案》

安裝postfix的無法創建郵件域目錄

原帖由 "scyzxp"]可以去http://www.toping.net專業的開源郵件技術論壇postfix版塊看一下呢?

上去了,也加了POSTFIX的QQ群組,問過很多人都沒有一個能夠找到真正的原因。我一直裝了就查看postfix的maillog日誌,沒有出現過錯誤的提示。
《解決方案》

安裝postfix的無法創建郵件域目錄

貼上你的日誌來看看!

virtual_transport = virtual啟動這一項關閉virtual_transport = maildrop 再試試看?
《解決方案》

安裝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: alias database /etc/aliases rebuilt by root
Sep 21 20:51:56 PostFix sendmail: /etc/aliases: 63 aliases, longest 10 bytes, 625 bytes total
Sep 21 20:51:57 PostFix sendmail: starting daemon (8.12.8): [email protected]:00:00
Sep 21 20:51:57 PostFix sm-msp-queue: starting daemon (8.12.8): [email protected]:00:00
Sep 21 20:58:14 PostFix sendmail: alias database /etc/aliases rebuilt by root
Sep 21 20:58:14 PostFix sendmail: /etc/aliases: 63 aliases, longest 10 bytes, 625 bytes total
Sep 21 20:58:15 PostFix sendmail: starting daemon (8.12.8): [email protected]:00:00
Sep 21 20:58:15 PostFix sm-msp-queue: starting daemon (8.12.8): [email protected]:00:00
Sep 22 04:02:08 PostFix sendmail: j8M828L4011271: from=root, size=1269, class=0, nrcpts=1, msgid=<[email protected]>;, [email protected]
Sep 22 04:02:09 PostFix sendmail: j8M829ee011274: from=<[email protected]>;, size=1575, class=0, nrcpts=1, msgid=<[email protected]>;, proto=ESMTP, daemon=MTA, relay=PostFix
Sep 22 04:02:09 PostFix sendmail: j8M828L4011271: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30040, relay= , dsn=2.0.0, stat=Sent (j8M829ee011274 Message accepted for delivery)
Sep 22 04:02:10 PostFix sendmail: j8M829ee011274: to=<[email protected]>;, ctladdr=<[email protected]>; (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: j8N829US022201: from=root, size=622, class=0, nrcpts=1, msgid=<[email protected]>;, [email protected]
Sep 23 04:02:09 PostFix sendmail: j8N829ee022204: from=<[email protected]>;, size=928, class=0, nrcpts=1, msgid=<[email protected]>;, proto=ESMTP, daemon=MTA, relay=PostFix
Sep 23 04:02:10 PostFix sendmail: j8N829US022201: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30040, relay= , dsn=2.0.0, stat=Sent (j8N829ee022204 Message accepted for delivery)
Sep 23 04:02:10 PostFix sendmail: j8N829ee022204: to=<[email protected]>;, ctladdr=<[email protected]>; (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: 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: 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: 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: 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: 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: daemon started -- version 2.2.3, configuration /etc/postfix
Sep 23 15:26:41 PostFix postfix/pickup: 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: 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: 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: 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: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Sep 23 15:27:28 PostFix postfix/smtpd: connect from unknown
Sep 23 15:27:32 PostFix postfix/smtpd: disconnect from unknown
Sep 23 15:51:30 PostFix postfix: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: daemon started -- version 2.2.3, configuration /etc/postfix
Sep 23 17:34:04 PostFix postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Sep 23 17:34:04 PostFix postfix/smtpd: warning: SASL authentication failure: OTP: auxprop backend can't store properties
Sep 23 17:34:04 PostFix postfix/smtpd: connect from unknown
Sep 23 17:34:07 PostFix postfix/smtpd: disconnect from unknown
Sep 23 17:36:47 PostFix postfix/postfix-script: stopping the Postfix mail system
Sep 23 17:36:47 PostFix postfix/master: 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: daemon started -- version 2.2.3, configuration /etc/postfix
Sep 23 17:37:40 PostFix postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Sep 23 17:37:40 PostFix postfix/smtpd: connect from unknown
Sep 23 17:37:43 PostFix postfix/smtpd: disconnect from unknown
Sep 23 17:37:49 PostFix postfix/smtpd: connect from unknown
Sep 23 17:38:08 PostFix postfix/smtpd: disconnect from unknown
Sep 23 17:38:42 PostFix postfix/smtpd: connect from unknown
Sep 23 17:39:28 PostFix postfix/smtpd: disconnect from unknown
Sep 23 17:39:40 PostFix postfix/smtpd: connect from unknown
Sep 23 17:39:47 PostFix postfix/smtpd: disconnect from unknown
Sep 23 17:40:43 PostFix postfix/smtpd: connect from PostFix
Sep 23 17:44:15 PostFix postfix/smtpd: disconnect from PostFix
Sep 23 17:47:35 PostFix postfix/anvil: 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: 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: statistics: max cache size 1 at Sep 23 17:37:40
Sep 23 19:43:00 PostFix postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Sep 23 19:43:00 PostFix postfix/smtpd: connect from PostFix
Sep 23 19:43:32 PostFix postfix/smtpd: disconnect from PostFix
Sep 23 19:48:03 PostFix postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Sep 23 19:48:03 PostFix postfix/smtpd: connect from PostFix
Sep 23 19:48:03 PostFix postfix/smtpd: B1B6D86144: client=PostFix
Sep 23 19:48:03 PostFix postfix/cleanup: B1B6D86144: message-id=<[email protected]>;
Sep 23 19:48:03 PostFix postfix/qmgr: B1B6D86144: from=<[email protected]>;, size=498, nrcpt=1 (queue active)
Sep 23 19:48:03 PostFix postfix/smtpd: disconnect from PostFix
Sep 23 19:48:04 PostFix pipe: fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory
Sep 23 19:48:05 PostFix postfix/pipe: B1B6D86144: to=<[email protected]>;, relay=maildrop, delay=2, status=bounced (Command died with status 1: "/usr/local/bin/maildrop")
Sep 23 19:48:05 PostFix postfix/cleanup: 3318886149: message-id=<[email protected]>;
Sep 23 19:48:05 PostFix postfix/qmgr: 3318886149: from=<>;, size=2252, nrcpt=1 (queue active)
Sep 23 19:48:05 PostFix postfix/qmgr: B1B6D86144: removed
Sep 23 19:48:15 PostFix postfix/smtp: 3318886149: to=<[email protected]>;, 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: 3318886149: removed
Sep 24 04:02:08 PostFix postfix/pickup: D254F86120: uid=0 from=<root>;
Sep 24 04:02:10 PostFix postfix/cleanup: D254F86120: message-id=<[email protected]>;
Sep 24 04:02:10 PostFix postfix/qmgr: D254F86120: from=<[email protected]>;, size=1366, nrcpt=1 (queue active)
Sep 24 04:02:10 PostFix pipe: fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory
Sep 24 04:02:11 PostFix postfix/pipe: D254F86120: to=<[email protected]>;, 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: C5FE486148: message-id=<[email protected]>;
Sep 24 04:02:11 PostFix postfix/qmgr: C5FE486148: from=<>;, size=3060, nrcpt=1 (queue active)
Sep 24 04:02:11 PostFix pipe: fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory
Sep 24 04:02:11 PostFix postfix/qmgr: D254F86120: removed
Sep 24 04:02:13 PostFix postfix/pipe: C5FE486148: to=<[email protected]>;, relay=maildrop, delay=2, status=bounced (Command died with status 1: "/usr/local/bin/maildrop")
Sep 24 04:02:13 PostFix postfix/qmgr: 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
《解決方案》

安裝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: 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, [email protected], 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, [email protected], 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: 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: daemon started -- version 2.2.3, configuration /etc/postfix
Sep 24 17:57:43 PostFix postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Sep 24 17:57:43 PostFix postfix/smtpd: connect from PostFix
Sep 24 17:57:44 PostFix postfix/smtpd: 0C26F8611F: client=PostFix
Sep 24 17:57:44 PostFix postfix/cleanup: 0C26F8611F: message-id=<[email protected]>;
Sep 24 17:57:44 PostFix postfix/qmgr: 0C26F8611F: from=<[email protected]>;, size=473, nrcpt=1 (queue active)
Sep 24 17:57:44 PostFix postfix/smtpd: disconnect from PostFix
Sep 24 17:57:44 PostFix pipe: fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory
Sep 24 17:57:45 PostFix postfix/pipe: 0C26F8611F: to=<[email protected]>;, relay=maildrop, delay=2, status=bounced (Comman
d died with status 1: "/usr/local/bin/maildrop")
Sep 24 17:57:45 PostFix postfix/cleanup: 643FB86148: message-id=<[email protected]>;
Sep 24 17:57:45 PostFix postfix/qmgr: 643FB86148: from=<>;, size=2175, nrcpt=1 (queue active)
Sep 24 17:57:45 PostFix postfix/qmgr: 0C26F8611F: removed
Sep 24 17:57:45 PostFix pipe: fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory
Sep 24 17:57:46 PostFix postfix/pipe: 643FB86148: to=<[email protected]>;, relay=maildrop, delay=1, status=bounced (Comman
d died with status 1: "/usr/local/bin/maildrop")
Sep 24 17:57:46 PostFix postfix/qmgr: 643FB86148: removed
Sep 24 17:57:57 PostFix postfix/smtpd: connect from PostFix
Sep 24 17:57:57 PostFix postfix/smtpd: 160E78611F: client=PostFix
Sep 24 17:57:57 PostFix postfix/cleanup: 160E78611F: message-id=<[email protected]>;
Sep 24 17:57:57 PostFix postfix/qmgr: 160E78611F: from=<[email protected]>;, size=471, nrcpt=1 (queue active)
Sep 24 17:57:57 PostFix postfix/smtpd: disconnect from PostFix
Sep 24 17:57:57 PostFix pipe: fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory
Sep 24 17:57:58 PostFix postfix/pipe: 160E78611F: to=<[email protected]>;, relay=maildrop, delay=1, status=bounced (Command
died with status 1: "/usr/local/bin/maildrop")
Sep 24 17:57:58 PostFix postfix/cleanup: 344DB86148: message-id=<[email protected]>;
Sep 24 17:57:58 PostFix postfix/qmgr: 344DB86148: from=<>;, size=2171, nrcpt=1 (queue active)
Sep 24 17:57:58 PostFix postfix/qmgr: 160E78611F: removed
Sep 24 17:57:58 PostFix pipe: fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory
Sep 24 17:57:59 PostFix postfix/pipe: 344DB86148: to=<[email protected]>;, relay=maildrop, delay=1, status=bounced (Comman
d died with status 1: "/usr/local/bin/maildrop")
Sep 24 17:57:59 PostFix postfix/qmgr: 344DB86148: removed
Sep 24 17:59:07 PostFix postfix/smtpd: connect from PostFix
Sep 24 17:59:07 PostFix postfix/smtpd: 04B5B8611F: client=PostFix
Sep 24 17:59:07 PostFix postfix/cleanup: 04B5B8611F: message-id=<[email protected]>;
Sep 24 17:59:07 PostFix postfix/qmgr: 04B5B8611F: from=<[email protected]>;, size=487, nrcpt=1 (queue active)
Sep 24 17:59:07 PostFix postfix/smtpd: disconnect from PostFix
Sep 24 17:59:07 PostFix postfix/smtp: 04B5B8611F: to=<[email protected]>;, relay=kenfor.com, delay
=0, status=sent (250 ok 1127598869 qp 15190)
Sep 24 17:59:07 PostFix postfix/qmgr: 04B5B8611F: removed
Sep 25 04:02:09 PostFix postfix/pickup: 61E7386120: uid=0 from=<root>;
Sep 25 04:02:09 PostFix postfix/cleanup: 61E7386120: message-id=<[email protected]>;
Sep 25 04:02:09 PostFix postfix/qmgr: 61E7386120: from=<[email protected]>;, size=1063, nrcpt=1 (queue active)
Sep 25 04:02:10 PostFix pipe: fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory
《解決方案》

安裝postfix的無法創建郵件域目錄

fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory???????
《解決方案》

安裝postfix的無法創建郵件域目錄

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

哦,那是還沒有裝 maildrop-1.8.0的原故,請問這個與我上面所說的不能創建目錄有關係嗎,或者是有直接的連繫。
我安裝maildrop-1.8.0后再試一試。我想應該不關這個問題的事。
我查看了很我多,要建立Maildir只需要在兩處設定就行,一個是:
main.cf中的:home_mailbox = Maildir/
和main.cf慮擬郵箱目錄設定下的
virtual_mailbox_base = /var/mailbox/
就可以了吧,而且我安裝的是courier-imap應該支持Maildir格式的!

[火星人 ] 安裝postfix的無法創建郵件域目錄已經有393次圍觀

http://coctec.com/docs/service/show-post-30539.html