3月 252013
 

错误分析1

C:\Users\Administrator>telnet mail.linuxcache.net 110 
+OK Dovecot ready. 
user hello@mail.linuxcache.net 
+OK 
pass mypasswd 
-ERR [IN-USE] Internal error occurred. Refer to server log for more information. 

Mar 25 17:56:39 pop3(hello@mail.linuxcache.net): Error: user 
hello@mail.linuxcache.net: Initialization failed: Namespace '': 
mkdir(/var/vmail/mail.linuxcache.net/hello@mail.linuxcache.net) failed: 
Permission denied (euid=8(mail) egid=12(mail) missing +w perm: /var/vmail, 
dir owned by 0:0 mode=0755)

解决方法

[root@mail sbin]# chown mail.mail /var/vmail/ 
[root@mail sbin]# ls /var/vmail/ mail.linuxcache.net

错误分析2

Mar 25 18:05:06 mail postfix/trivial-rewrite[32116]: warning: do not list domain 
mail.linuxcache.net in BOTH mydestination and virtual_mailbox_domains

解决方法

 [root@mail sbin]# vi /etc/postfix/main.cf 
mydestination = localhost.$mydomain, localhost

主机名同时作为虚拟域后mydestination与virtual_mailbox_domains冲突

错误分析3

220 mail.linuxcache.net ESMTP Postfix (2.8.14) 
ehlo mail.linuxcache.net 
250-mail.linuxcache.net 
250-PIPELINING 
250-SIZE 10240000 
250-VRFY 
250-ETRN 
250-AUTH PLAIN LOGIN CRAM-MD5 
250-ENHANCEDSTATUSCODES 
250-8BITMIME 
250 DSN 
mail from:hello@mail.linuxcache.net 
250 2.1.0 Ok 
rcpt to:harvey.mei@msn.com 
554 5.7.1 <harvey.mei@msn.com>: Relay access denied 

需要SMTP发件认证,通过客户端可使用

错误分析4

Mar 25 18:47:42 mail postfix/pipe[32275]: 868542123D: 
to=<hello@mail.linuxcache.net>, 
relay=dovecot, delay=0.14, delays=0.09/0.01/0/0.04, dsn=4.3.0, 
status=deferred (temporary failure. Command output: 
Can't open log file /var/log/dovecot.log: Permission denied )

解决方法

 [root@mail sbin]# ll /var/log/dovecot.log 
-rw------- 1 root root 2377 Mar 25 18:48 /var/log/dovecot.log 
[root@mail sbin]# chmod 666 /var/log/dovecot.log

错误分析5

[root@pfx ~]# postfix check
postfix/postfix-script: warning: not set-gid or not owner+group+world 
executable: /usr/sbin/postqueue
postfix/postfix-script: warning: not set-gid or not owner+group+world 
executable: /usr/sbin/postdrop

解决方法

# chmod g+s /usr/sbin/postdrop
# chmod g+s /usr/sbin/postqueue

错误分析6

 Mar 27 09:36:30 pfx postfix/smtpd[6936]: warning: dict_nis_init:  NIS domain 
name not set - NIS lookups disabled

解决方法

[root@pfx postfix]# vi main.cf
alias_maps = hash:/etc/aliases
 
[root@mail ~]# postconf -d |grep nis
alias_maps = hash:/etc/aliases, nis:mail.aliases
lmtp_sasl_mechanism_filter =
smtp_sasl_mechanism_filter =

 

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据