centos 里postfix + dovecot配置文件实例
发布时间:2020-12-15 07:10:15 所属栏目:安全 来源:网络整理
导读:今天PHP站长网 52php.cn把收集自互联网的代码分享给大家,仅供参考。 ## 不懂的直接 vim /etc/postfix/main.cf 然后复制下面代码到你的服务器上,修改下相应的IP与域名即可#============================基本配置========
以下代码由PHP站长网 52php.cn收集自互联网 现在PHP站长网小编把它分享给大家,仅供参考 ## 不懂的直接 vim /etc/postfix/main.cf 然后复制下面代码到你的服务器上,修改下相应的IP与域名即可 #============================基本配置============================================================= queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix mail_owner = postfix myhostname = mail.szzmzb.com mydomain = szzmzb.com myorigin = $mydomain inet_interfaces = all inet_protocols = all mydestination = $myhostname,localhost.$mydomain,localhost,$mydomain unknown_local_recipient_reject_code = 550 #mynetworks = 0.0.0.0/0,192.168.0.0/24,127.0.0.0/8,113.105.117.2 mynetworks = 192.168.0.0/24,127.0.0.0/8 relay_domains = $mydestination alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases home_mailbox = Maildir/ smtpd_banner = $myhostname ESMTP unknow #smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) smtpd_sasl_auth_enable = yes smtpd_delay_reject = no smtpd_sasl_local_domain = $myhostname smtpd_sasl_security_options = noanonymous #smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination,reject_unknown_sender_domain,reject_unknown_hostname,reject_unauth_destination smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5 以上内容由PHP站长网【52php.cn】收集整理供大家参考研究 如果以上内容对您有帮助,欢迎收藏、点赞、推荐、分享。 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
推荐文章
站长推荐
- AngularJS:UI-Router空白页调试
- bash – 如何完成相对于另一个目录的文件名?
- [Angular] Communicate with Angular Elements u
- WebService的实现——cxf
- 如何将命令的输出除以2,并将结果存储到bash变量中
- 如何将AngularJS变量传递给Javascript?
- linq-to-sql – 无论如何都要为Memcached serili
- angularjs – 如何动态禁用ng-repeat内的过滤器
- 仅使用bash内置函数在linux / solaris中移动/复制
- Bootstrap3.0学习第二十三轮(JavaScript插件——
热点阅读