postfix应用与疑问
时间:2011-05-04
来源:互联网
使用的是Ubuntu8.4
postfix我使用了简单的邮件转寄功能
[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
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

smtp_tls_session_cache_database = btree

# 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
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28