Hi guys i trying to block some domains to send spam via exim, and i setup this:
domainlist blocked_domains = lsearch;/etc/blockeddomains
/etc/blockeddomains file contains:
domain.tld
domain2.tld
domain3.tld
And my config section:
######################################################################
# ROUTERS CONFIGURATION #
# Specifies how remote addresses are handled #
######################################################################
# ORDER DOES MATTER #
# A remote address is passed to each in turn until it is accepted. #
######################################################################
# Remote addresses are those with a domain that does not match any item
# in the "local_domains" setting above.
Section: PREROUTERS
reject_domains:
driver = redirect
# RBL Blacklist incoming hosts
domains = blocked_domains
allow_fail
data = :fail: Connection rejected: SPAM source $domain is manually blacklisted.
But domain.tld or domain2.tld or domain3.tld can send email via php and exim flag like "Queued" not "Frozen"...
What i did wrong? What i must setup to block entirely domain and get frozen?
Regards!
domainlist blocked_domains = lsearch;/etc/blockeddomains
/etc/blockeddomains file contains:
domain.tld
domain2.tld
domain3.tld
And my config section:
######################################################################
# ROUTERS CONFIGURATION #
# Specifies how remote addresses are handled #
######################################################################
# ORDER DOES MATTER #
# A remote address is passed to each in turn until it is accepted. #
######################################################################
# Remote addresses are those with a domain that does not match any item
# in the "local_domains" setting above.
Section: PREROUTERS
reject_domains:
driver = redirect
# RBL Blacklist incoming hosts
domains = blocked_domains
allow_fail
data = :fail: Connection rejected: SPAM source $domain is manually blacklisted.
But domain.tld or domain2.tld or domain3.tld can send email via php and exim flag like "Queued" not "Frozen"...
What i did wrong? What i must setup to block entirely domain and get frozen?
Regards!