|
|
我配置了sasl,如下:
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_sasl_authenticated reject
smtpd_delay_reject = yes
smtpd_client_restrictions = permit_sasl_authenticated reject
smtpd_sasl_security_options = noanonymous
/usr/lib/sasl2/smtp.conf:
pwcheck_method: saslauthd
当前域是 zouben.org,然后在令一个域 dm02.org 中用 mutt + esmtp,在 .esmtprc 中指定 username 和 password,使用 mail.zouben.org 的 UNIX system account 可以转发邮件。
然后,配置 sasl 使用 sasldb,要求是用如下参数:
smtpd_sasl_local_domain = $mydomain
在 dm02.org 中 .esmtprc 使用由 saslpasswd2 生成的帐户,也可以转发邮件。但这时我发现不能再用 系统帐户 了?在
smtpd_sasl_local_domain 后加上 dm02.org 也不行。
请指点一二。谢谢。 |
|