Sophos Community
Site
User
Site
Search
User
Community & Product Forums
Sophos Endpoint
Sophos Firewall
Sophos Central
Sophos Factory
Sophos Mobile
Sophos Cloud Optix
Sophos Sensor
Sophos Switch
Sophos Wireless
Sophos Email
UTM Firewall
Community Blogs & Events
Sophos Community Blog
Community Security Blog
Product Documentation Blog
Application Control
Getting Started
Sophos Partners
Sophos Partners Group
Member Recognition
Community Leaderboards
More
Cancel
UTM Firewall
Mail Protection: SMTP, POP3, Antispam and Antivirus
Block Entire Top Level Domains - edit to exit.conf no longer works.
Release Notes & News
Discussions
Recommended Reads
Early Access Programs
Members
More
Cancel
New
UTM Firewall requires membership for participation - click to join
Thread Info
State
Verified Answer
+1
person also asked this
people also asked this
Locked
Locked
Replies
1 reply
Subscribers
3 subscribers
Views
1151 views
Users
0 members are here
Exim.conf
SMTP proxy
Email
antispam
TLD
Options
RSS
More
Cancel
Suggested
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
Block Entire Top Level Domains - edit to exit.conf no longer works.
jlbrown
over 1 year ago
I have upgraded to 9.706-8.
Previously, I used info in this (closed) thread:
community.sophos.com/.../block-entire-top-level-domains-in-email-protection-anti-spam
to block all emails from *.tech, *.info, etc TLDs as they are always spam for us.
Basically, what I did was:
su
Make a backup:
cp /var/storage/chroot-smtp/etc/exim.conf /var/storage/chroot-smtp/etc/exim.conf.original
joe -help /var/storage/chroot-smtp/etc/exim.conf
Comment out the “SENDERBLACKLIST” line
Add this line directly below it: senders = SENDERBLACKLIST/REF_SMTPGlobalProfile
Exit and save - ^KX
Restart the SMTP proxy:
/var/mdw/scripts/smtp restart
In webAdmin, add *@*.info *@*.tech etc to the Host/Network Blacklist of SMTP/Advanced
This no longer works. SMTP log shows:
2021:05:11-11:38:00 astaro1-1 exim-out[25815]: 2021-05-11 11:38:00 End queue run: pid=25815
2021:05:11-11:38:00 astaro1-2 exim[45905]: [1\2] 2021-05-11 11:38:00 Exim configuration error in line 14 of /etc/exim.conf:
2021:05:11-11:38:00 astaro1-2 exim[45905]: [2/2] main option "senders" unknown
2021:05:11-11:38:00 astaro1-2 exim[45906]: [1\2] 2021-05-11 11:38:00 Exim configuration error in line 14 of /etc/exim.conf:
2021:05:11-11:38:00 astaro1-2 exim[45906]: [2/2] main option "senders" unknown
Any idea how to do this now?
Thanks, James.
PS see also:
ideas.sophos.com/.../7075362-ability-to-block-any-subdomain-in-the-blacklisted
This thread was automatically locked due to age.
Top Replies
jlbrown
over 1 year ago
+1
verified
I take it back! It works now. Running 9.706-9 No more spam from .online domains for us anymore!