|
地板
楼主 |
发表于 2008-7-29 09:02:02
|
只看该作者
postfix相关的配置
vim /etc/postfix/main.cf
- smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
- biff = no
- append_dot_mydomain = no
- 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{queue_directory}/smtpd_scache
- smtp_tls_session_cache_database = btree{queue_directory}/smtp_scache
- myhostname = mis-debian.dgalltop.com.cn
- alias_maps = hash:/etc/aliases
- alias_database = hash:/etc/aliases
- myorigin = /etc/mailname
- mydestination = dgalltop.com.cn, debian.dgalltop.com.cn, localhost, localhost.localdomain, localhost
- relayhost =
- mynetworks = 10.136.74.0/24, 127.0.0.0/8
- recipient_delimiter = +
- inet_interfaces = all
- smtpd_sasl_auth_enable = yes
- smtpd_sasl_local_domain =
- smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
- smtpd_sasl_security_options = noanonymous
- home_mailbox = Maildir/
复制代码 vim /etc/postfix/master.cf
找到下面这句- smtp inet n - - - - smtpd
复制代码 改成- smtp inet n - n - - smtpd
复制代码 新增文件
vim /etc/postfix/sasl/smtpd.conf-
- log_level: 3
- pwcheck_method: saslauthd
- mech_list: PLAIN LOGIN
复制代码
[ 本帖最后由 stdmis 于 2008-8-11 17:21 编辑 ] |
|