我已经安装了postfix,dovecot和squirrelmail。 我可以发送消息,也可以接收消息。 但在Squirrelmail的networking界面,我只能看到发送的邮件,它没有显示收件箱中的邮件。 事实上,当我点击收件箱它显示这个文件夹是空的错误。
但是,我可以看到机器上收到的邮件。 下面是我从Gmail,Outlook收到的邮件。
[root@a new]# pwd /home/bobby219/Maildir/new [root@a new]# ls -lrt total 48 -rwxrwxrwx 1 bobby219 bobby219 5082 Mar 18 16:37 1426711022.Vfc00I20631M450759.a -rwxrwxrwx 1 bobby219 bobby219 8763 Mar 18 16:42 1426711375.Vfc00I20635M700199.a -rwxrwxrwx 1 bobby219 bobby219 9987 Mar 18 17:08 1426712892.Vfc00I20639M341101.a -rwxrwxrwx 1 bobby219 bobby219 11207 Mar 18 17:09 1426712994.Vfc00I2063bM146743.a -rwxrwxrwx 1 bobby219 bobby219 2664 Mar 18 17:10 1426713056.Vfc00I2063dM909489.a [root@a new]#
字尾
[root@a new]# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 home_mailbox = Maildir/ html_directory = no inet_interfaces = all inet_protocols = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myhostname, $mydomain mydomain = example.com myhostname = example.com myorigin = $mydomain newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES sample_directory = /usr/share/doc/postfix-2.6.6/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_path = private/auth smtpd_sasl_security_options = noanonymous smtpd_sasl_type = dovecot unknown_local_recipient_reject_code = 550 [root@a new]#
达夫科特
[root@a dovecot]# cat dovecot.conf # 2.0.9: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-431.1.2.0.1.el6.x86_64 x86_64 CentOS release 6.5 (Final) mbox_write_locks = fcntl passdb { driver = pam } passdb { driver = pam } protocols = imap pop3 service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } } ssl_cert = </etc/pki/dovecot/certs/dovecot.pem ssl_key = </etc/pki/dovecot/private/dovecot.pem userdb { driver = passwd } userdb { driver = passwd } mail_location = mbox:~/mail:INBOX=/var/mail/%u [root@a dovecot]#
我不是dovecot或postfix的专家,但看起来你有postfixconfiguration为使用Maildir风格的邮箱,但是你告诉dovecot使用mbox风格的邮箱。
查看home_mailboxconfiguration选项的postfix文档,或者查看mail_locationconfiguration选项的dovecot文档,找出需要更改哪个文档(以及要更改的文档)。