- 论坛徽章:
- 0
|
mysql还是openldap以及垃圾邮件的问题?
原帖由 "hzqbbc" 发表:
怎么会接收下来再reject呢?你postconf -n 你的配置来看看吧。也许是你的smtpd_recipient_restrictions有问题。这样任何信笺都可以进来了。
这是我的 postconf -n 的结果:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases, ldap:ldapsource
command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
default_privs = nobody
default_process_limit = 20
fallback_transport = cyrus
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_transport = cyrus
mydestination = $myhostname
mydomain = $myhostname
myhostname = mail.aaa.com
mynetworks = 1.2.3.4/32, 2.3.4.5/32, 127.0.0.0/24
mynetworks_style = subnet
queue_directory = /var/spool/postfix
smtpd_client_restrictions = hash:/usr/local/etc/postfix/access
transport_maps = hash:/usr/local/etc/postfix/transport
virtual_maps = regexp:/usr/local/etc/postfix/virtual_regexp
请问要怎样配置才能挡本机没有的帐号的信件?我已经把 relay 关掉了,
只接收本机的信件,问题是我们的用户不多,但垃圾从aaa一直试下去,
要处理很多的无用信件...
谢谢你了 |
|