文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > postfix-Sasl配置实例
侵权投诉

postfix-Sasl配置实例

组网技术

###如果想看一个完全可以工作的/etc/postfix/main.cf文件的示例,请查看
### doc.guandang.net.
### 下面是其内容:
#### POSTFIX MAIN.CF ####
## Configured to use sasl + tls ##

# Postfix 主要的组态档,删除了多数说明文字,

  # 并且尝试依照最常用的邮件主机设定来依序设定与说明,

  # 许多不常用的设定并未列出。

  ### 几个 Postfix 主要的设置参数,一般状况下不需要更改。

  queue_directory = /var/spool/postfix

  command_directory = /usr/sbin

  daemon_directory = /usr/libexec/postfix

  mail_owner = postfix


## Standard stuff -- defaults should be fine
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix

## Your network details - MUST BE CHANGED FOR YOUR NETWORK
myhostname = `hostname`
mydomain = your.domain.com
myorigin = $mydomain

## open up the interfaces
inet_interfaces = all

## my destination specifies who you will deliver mail for. The following is standard
##mydestination参数指定postfix接收邮件时收件人的域名,换句话说,也就是你的postfix系统要接
##收什么样的邮件。比如:你的用户的邮件地址为user@domain.com, 也就是你的域为domain.com, 则
##你就需要接收所有收件人为user_name@domain.com的邮件。

mydestination = $myhostname, localhost.$mydomain, localhost

##reject_unknown_sender_domain:如果MAIL FROM命令提供的主机名在DNS中没有相应的A
##或 MX 记录则拒绝该客户端的连接请求。
##可以用unknown_address_reject_code参数指定返回给客户机的错误代码(缺省为450)。

unknown_local_recipient_reject_code = 550

## Specify trusted networks - CHANGE THIS TO MATCH YOUR TRUSTED NETWORKS
## See comments in original main.cf for other options here
mynetworks = 172.16.0.0/16, 127.0.0.0/8

## More standard stuff. Default should be fine
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.1.5/samples
readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES

#### SASL bits ####
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options=noanonymous

## You can add "permit_mynetworks" here to allow mynetworks clients to send mail without authenticating
smtpd_recipient_restrictions = permit_sasl_authenticated, reject_unauth_destination, check_relay_domains
smtpd_delay_reject = yes

##

第1页

你可能喜欢

热门文档

相关文档

  • postfix配置实例

    postfix配置实例_IT/计算机_专业资料。在防火墙内部配置 postfix 假设一公司通过... postfix-Sasl配置实例 3页 1下载券 postfix配置 32页 1下载券 Postfix配置 5...

  • postfix 的sasl配置

    postfix 的sasl配置_IT/计算机_专业资料。postfix 的 sasl 配置决定谁在使用服务器,谁有权使用转发服务。数据库的形式存在。 验证体系:规范应答过程,传输内容的...

  • postfix配置

    sasl2/smtpd.conf 添加参数: pwcheck_method: saslauthd 3、启动 saslauthd 服务 [root@server01 /]# service saslauthd start 4、修改 postfix 主配置文件 main....

  • 综合网络实例配置

    综合网络实例配置_计算机硬件及网络_IT/计算机_专业资料 暂无评价0人阅读0次下载举报文档 综合网络实例配置_计算机硬件及网络_IT/计算机_专业资料。综合网络实例...

  • iptables配置实例

    iptables配置实例_哲学/历史_人文社科_专业资料。iptables配置实例iptables 配置实例 2009-01-06 11:53 iptables 基本命令使用举例一、链的基本操作 1、清除所有的...

  • 实例配置命令汇总

    基本配置命令 特权执行模式 copy running-config startup-config copy startup-config running-config erase startup-configuration ping ip_address traceroute ip_...

  • postfix电子邮件服务的配置与应用

    配置文件main.cf和aliases后,要使更改立即生效,应分别执行 /usr/sbin目录下以下的两条命令: postalias /etc/aliases postfix reload SMTP认证的配置 Cyrus SASL是...

  • postfix简单配置

    postfix简单配置_IT/计算机_专业资料。postfix简单配置环境:RedHat Linux+Postfix+Cyrus-sasl+Dovecot+Stunnel 在安装Linux时,如果选择全部安装的话,Postfix与Dovecot...

  • postfix安装配置

    postfix安装配置_IT/计算机_专业资料。postfix安装及mysql存储账号...& 七:为 postfix 开启基于 cyrus-sasl 的认证功能 使用以下命令验正 postfix ...

  • Postfix完全配置指南

    Postfix 完全配置指南 经过近一周的配置,终于把邮件服务器搭建好了,有点兴奋,... postfix-Sasl配置实例 3页 免费 postfix简单配置 2页 免费 安装及配置Postfix...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email