+ -
当前位置:首页 → 问答吧 → postfix应用与疑问

postfix应用与疑问

时间:2011-05-04

来源:互联网

使用的是Ubuntu8.4
postfix我使用了简单的邮件转寄功能

[root@linux ~]# vi /etc/postfix/main.cf

always_bcc = [email protected]


[root@linux~]#



postfix reload
   
前面几天用的还不错,但是过一两天就出现用户无法登录的情况,提示“ERR”
   
在相同时间删除了 /var/mail/userID(删除了一个2.7G的文件)!
  
再次登录,OK!
   
并且多次出现
   
以下是postfix配置文件:
   
root@mail:/var/log# vi /etc/postfix/main.cf


# See /usr/share/postfix/main.cf.dist for a commented, more complete version




# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname


smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no


# appending .domain is the MUA's job.
append_dot_mydomain = no


# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h


readme_directory = no


# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree{data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree{data_directory}/smtp_scache


# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
always_bcc = [email protected]
# always_bcc = [email protected]
myhostname = mail.namesemicon.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mail.namesemicon.com, namesemicon.com, localhost, mail
relayhost =
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
message_size_limit = 300000000
recipient_delimiter = +
inet_interfaces = all
inet_protocols = ipv4
mynetworks = 127.0.0.0/8 12.230.101.0/24 192.168.1.0/24 58.211.56.0/24
relay_domains = $mydestination
smtpd_client_restrictions = permit_mynetworks,permit
header_checks = regexp:/etc/postfix/header_checks
body_checks = regexp:/etc/postfix/body_checks
   
  

作者: imgod   发布时间: 2011-05-04

有朋友遇到这样的问题吗?
帮忙解答一下!

作者: imgod   发布时间: 2011-05-04