- 浏览: 52806 次
- 性别:
- 来自: 北京
文章分类
最新评论
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = /usr/share/doc/postfix-2.3.6-documentation/html
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.6-documentation/README_FILES
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
# hostname
mynetworks = 127.0.0.1,1.202.235.250,219.232.255.37
myhostname = mail.cfdow.com
mydomain = cfdow.com
mydestination = $mynetworks, $myhostname
# banner
mail_name = Postfix - by cfdow.com
smtpd_banner = $myhostname ESMTP $mail_name
# response immediately
smtpd_error_sleep_time = 0s
unknown_local_recipient_reject_code = 550
# extmail config here
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_transport = maildrop:
# maildrop setting
maildrop_destination_recipient_limit = 1
# smtpd related config
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_sender_login_mismatch,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unauth_destination,
reject_unauth_pipelining,
reject_invalid_hostname,
#reject_rbl_client cblless.anti-spam.org.cn,permit,
permit
# SMTP sender login matching config
smtpd_sender_restrictions =
reject_sender_login_mismatch,
reject_authenticated_sender_login_mismatch,
reject_unauthenticated_sender_login_mismatch
smtpd_sender_login_maps =
mysql:/etc/postfix/mysql_virtual_sender_maps.cf,
mysql:/etc/postfix/mysql_virtual_alias_maps.cf
# SMTP AUTH config here
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $mydomain
smtpd_sasl_security_options = noanonymous
# Content-Filter
#content_filter = smtp:[127.0.0.1]:10024
#receive_override_options = no_address_mappings
# Message and return code control
message_size_limit = 20971520
show_user_unknown_table_name = no
# TLS configuration
smtpd_use_tls = yes
smtpd_tls_auth_only = no
smtp_tls_CAfile = /etc/postfix/tls/smtpd.pem
smtp_tls_cert_file = /etc/postfix/tls/smtpd.pem
smtp_tls_key_file = /etc/postfix/tls/smtpd.pem
smtpd_tls_CAfile = /etc/postfix/tls/smtpd.pem
smtpd_tls_cert_file = /etc/postfix/tls/smtpd.pem
smtpd_tls_key_file = /etc/postfix/tls/smtpd.pem
smtpd_tls_received_header = yes
smtpd_tls_loglevel = 0
smtpd_starttls_timeout = 60s
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = /usr/share/doc/postfix-2.3.6-documentation/html
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.6-documentation/README_FILES
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
# hostname
mynetworks = 127.0.0.1,1.202.235.250,219.232.255.37
myhostname = mail.cfdow.com
mydomain = cfdow.com
mydestination = $mynetworks, $myhostname
# banner
mail_name = Postfix - by cfdow.com
smtpd_banner = $myhostname ESMTP $mail_name
# response immediately
smtpd_error_sleep_time = 0s
unknown_local_recipient_reject_code = 550
# extmail config here
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_transport = maildrop:
# maildrop setting
maildrop_destination_recipient_limit = 1
# smtpd related config
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_sender_login_mismatch,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unauth_destination,
reject_unauth_pipelining,
reject_invalid_hostname,
#reject_rbl_client cblless.anti-spam.org.cn,permit,
permit
# SMTP sender login matching config
smtpd_sender_restrictions =
reject_sender_login_mismatch,
reject_authenticated_sender_login_mismatch,
reject_unauthenticated_sender_login_mismatch
smtpd_sender_login_maps =
mysql:/etc/postfix/mysql_virtual_sender_maps.cf,
mysql:/etc/postfix/mysql_virtual_alias_maps.cf
# SMTP AUTH config here
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $mydomain
smtpd_sasl_security_options = noanonymous
# Content-Filter
#content_filter = smtp:[127.0.0.1]:10024
#receive_override_options = no_address_mappings
# Message and return code control
message_size_limit = 20971520
show_user_unknown_table_name = no
# TLS configuration
smtpd_use_tls = yes
smtpd_tls_auth_only = no
smtp_tls_CAfile = /etc/postfix/tls/smtpd.pem
smtp_tls_cert_file = /etc/postfix/tls/smtpd.pem
smtp_tls_key_file = /etc/postfix/tls/smtpd.pem
smtpd_tls_CAfile = /etc/postfix/tls/smtpd.pem
smtpd_tls_cert_file = /etc/postfix/tls/smtpd.pem
smtpd_tls_key_file = /etc/postfix/tls/smtpd.pem
smtpd_tls_received_header = yes
smtpd_tls_loglevel = 0
smtpd_starttls_timeout = 60s
发表评论
-
CentOS7安装配置Zabbix3.4
2018-07-25 09:14 475mini安装CentOS7 && 基本配置 ... -
CentOS7安装gitlab+汉化
2018-07-20 16:20 797mini安装centos7 更新yum源 yum - ... -
CentOS7安装jira,confluence
2018-07-18 16:47 1571mini安装centos7 更新yum源 yum -y ... -
Grafana安装&基本配置
2018-01-04 11:26 993安装Grafana yum -y install fon ... -
CentOS7 npm+zabbix 安装配置
2017-12-28 10:52 425mini安装centos7 更新yum源 yum -y ... -
CentOS7 MFS 安装配置+说明
2017-09-28 14:06 915mini安装centos7 更新yum源 yum -y ... -
centos7 docker nginx tomcat 动静分离 负载均衡配置
2017-09-26 16:01 513mini安装centos7 64位 yum -y upda ... -
sql每天统计查询
2017-09-14 12:01 725select YEAR(createtime)年,MONTH( ... -
centos6.6 RHCS安装配置
2015-06-26 13:22 0需要用到的各组件功能: RHCS(Red Hat Cluste ... -
ansible安装配置
2015-06-24 14:29 6081) 准备环境 1. yum -y install gcc g ... -
linux下强制新用户首次登陆修改密码
2015-04-29 14:36 1499linux下强制新用户首次登陆修改密码 1. 使用userad ... -
linux下apache启动,httpd: apr_sockaddr_info_get() failed for
2015-02-28 13:24 362httpd: apr_sockaddr_info_get() ... -
更新yum源
2015-02-28 11:36 373CentOS更改yum源与更新系统 [1] 首先备份/etc ... -
lvs+keepalived
2015-02-11 11:55 465安装ipvsadmin yum install -y gcc ... -
nginx+keepalived
2015-02-11 11:48 658vi /etc/keepalived/keepalived.c ... -
haproxy+keepalived安装配置说明
2015-01-31 17:46 1211安装Keepalived yum install -y ... -
AVAYA基本命令
2014-10-21 17:23 683AVAYA常用命令集 (2007-05-1 ... -
nmap详解
2014-04-01 17:37 583进行ping扫描,打印出对 ... -
查找虚拟机所在宿主机
2014-04-01 17:36 1606查找对应的ip地址的mac地址 #show arp | inc ... -
SQLServer存储过程
2013-11-02 13:13 600create proc [dbo].[PhoneRec] (@ ...
相关推荐
POSTFIX安装POSTFIX安装POSTFIX安装POSTFIX安装POSTFIX安装POSTFIX安装POSTFIX安装POSTFIX安装
postfix全功能邮件服务器的搭建 .postfix所需软件包及存放目录 httpd-2.2.9.tar.gz 安装源码包apache mysql-5.0.56.tar.gz 安装源码包mysql php-5.2.6.tar.bz2 安装php...
Postfix 是一个自由开源的 MTA(邮件传输代理),用于在 Linux 系统上路由或传递电子邮件。在本指南中,你将学习如何在 CentOS 8 上安装和配置 Postfix。 实验室设置: 系统:CentOS 8 服务器 IP 地址:192.168....
利用Postfix搭建邮件系统 利用Postfix搭建邮件系统
postfix权威指南,O’Reilly系列丛书,POSTFIX权威指南中文版,文字版,排版与原书保持一致。全面了解postfix的绝对好书。 想要自己架设邮件服务器吗?如果sendmail让你头痛万分,现在你有更好的选择 —— Postfix...
在Linux下成功搭建起Postfix服务器。
Postfix安装配置 Postfix安装配置 Postfix安装配置 Postfix安装配置 Postfix安装配置 Postfix安装配置
而另一个被广泛应用于邮件服务方面的“Postfix”的缺点就少得多,或者说它就是针对于sendmail的缺点,而被设计的。对应sendmail的短处,它在各方面也比较成熟。所以,无特殊要求,这里不推荐用sendmail来构建邮件...
postfix-2.2.11.tar.gz
本书内容以postfix 2.0版为准并涵盖过去曾经广为流传的某些重要旧版本与其的差异。
我的一个阶段性的免费邮局postfix 配置记录,收发邮件肯定是没有问题,web邮件收发也没有问题,因为时间的关系,还没有来的及配置垃圾邮件过滤和病毒扫描,这些我想可以现在客户端克服一下。我从网上看了很多的文档...
使用 sublime text 打开 /etc/postfix 文件夹,将 my_username、my_password 批量替换成自己的, 然后: ``` $ cd /etc/postfix $ sudo chown root ./* $ sudo postmap sasl_passwd generic sd_relayhost sender_...
Postfix搭建邮件服务器
cd /etc/postfix && sudo postmap sasl_passwd generic sd_relayhost sender_canonical && sudo launchctl stop org.postfix.master && sudo launchctl start org.postfix.master 然后 echo "`hostname -s` test ...
Postfix配置文件main.cf中常用参数介绍
postfix-2.8.20.tar.gz postfix-2.8.20.tar.gz postfix-2.8.20.tar.gz postfix-2.8.20.tar.gz
序 前言 第一章 简介 Postfix的起源与设计理念 E-mail与Internet Postfix的角色 Postfix的安全性 如何取得Postfix 第二章 基本概念 Unix的概念 E-mail的概念 第三章 Postfix的结构 Postfix的组件 邮件如何进入...
postfix邮件系统原理postfix邮件系统原理postfix邮件系统原理
postfix 安装的一些参数,, mysql 做数据库
postfix 配置pdf文档 postfix 配置pdf文档 postfix 配置pdf文档