Feel Zhou skrev den 2013-04-23 07:26:

How can I reject these mail before it in the queue

$ cat main.cf
# in smtpd_sender_restrictions =
 ...
 check_sender_mx_access cidr:/etc/postfix/sender_mx_access
 ...

$ cat /etc/postfix/sender_mx_access
0.0.0.0/8 REJECT MX in IANA reserved network
127.0.0.0/8 REJECT MX in loopback network
10.0.0.0/8 REJECT MX in non-routable network
169.254.0.0/16 REJECT MX in non-routable network
172.16.0.0/12 REJECT MX in non-routable network
192.168.0.0/16 REJECT MX in non-routable network
224.0.0.0/4 REJECT MX in multicast network
240.0.0.0/4 REJECT MX in IANA reserved network

--
senders that put my email into body content will deliver it to my own trashcan, so if you like to get reply, dont do it

Reply via email to