引用:
原帖由 Cloud.D.Ace 于 2008-8-28 16:21 发表 
本域,不是局域网。。。
main.cf:
smtpd_sender_restrictions = check_sender_access mysql:/path/to/mysql-not-user.cf, reject
mysql-not-user.cf:
user = someone
password = some_password
dbname = customer_database
query = SELECT '%s' from users where email='%s' having count(*)=0
master.cf:
smtps inet n - n - - smtpd
-o smtpd_tls_wrappermode=yes
-o smtpd_sender_restrictions=
-o ......
[
本帖最后由 hihihihi 于 2008-8-28 21:55 编辑 ]