您现在的位置是:postfix配置文件main.cf
postfix配置文件main.cf
cat /etc/postfix/main.cf 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 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 sample_directory = /etc/postfix sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop #yuli's config smtpd_reject_unlisted_recipient = no enable_original_recipient = no always_bcc = [email]mail@whgwbn.net[/email] # hostname mynetworks = 127.0.0.1 myhostname = mail.whgwbn.net mydomain = whgwbn.net mydestination = $mynetworks, $myhostname # banner mail_name = EMOS V1.6 (Postfix) 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_non_fqdn_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unauth_destination, reject_unauth_pipelining, reject_invalid_hostname, check_policy_service inet:127.0.0.1:10030 header_checks = regexp:/etc/postfix/dspam_header_checks # SMTP sender login matching config smtpd_sender_restrictions = permit_mynetworks, 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-amavis:[127.0.0.1]:10024 #receive_override_options = no_address_mappings # Message and return code control #message_size_limit = 52428800 #mailbox_size_limit = 52428800 message_size_limit = 104857600 mailbox_size_limit = 104857600 show_user_unknown_table_name = no # Queue lifetime control bounce_queue_lifetime = 1d maximal_queue_lifetime = 1d # Other settings # 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
随便看看
- 微信html弹出点击右上角分享到朋友圈
- PHP常用的header头部定义汇总
- php接收json或者xml数据
- 构建微信公众号被动回复news多图文消息xml
- 构建微信公众号被动回复image图片消息xml
- Apache禁用TRACE Method和添加X-frame-options响应头
- 从MySQL日志中恢复数据
- Binary file (standard input) matches
- ajax后台定时获取数据
- Apache设置浏览器默认编码
- The InnoDB memory heap is disabled
- Linux修改密码提示passwd /usr/share/cracklib/pw_dict: error reading header
- Fatal error: cannot allocate memory for the buffer pool
- {"errcode":45047,"errmsg":"out of response count limit hint]"}
- rm -rf 删除后急救
站长简介
分类
最新文章
热门文章
- 微信支付退款结果通知解密
- Linux修改密码提示passwd /usr/share/cracklib/pw_dict: error reading header
- 到ICANN投诉三五互联获取域名转移密码成功
- {"errcode":45047,"errmsg":"out of response count limit hint]"}
- 微信html弹出点击右上角分享到朋友圈
- CentOS使用chkconfig提示systemctl enable xxxx.service
- PHP将B转换为KB、MB、GB
- Apache禁用TRACE Method和添加X-frame-options响应头
- mysqld_safe Number of processes running now
- 构建微信公众号被动回复image图片消息xml