- Individual Applications
Protect
Filter
Perform
Connect
Add-Ons
- Software Packages
- Complete Appliances
|
|
#1 (permalink) |
|
Untangler
Join Date: Nov 2010
Posts: 65
![]() |
Will this work?
1. Create the file block.cf in /etc/spamassassian blacklist_from *@*.ru Will this essentially block all emails from that come from .ru? If I want to allow a specific ".ru" address, can I simply add the single .ru email that I want to add back via the GUI? I am really surprised that there isn't a GUI blacklist in Untangle. I am having an issue where it appears that my clients are getting lots of emails that are coming from russia. |
|
|
|
|
#2 (permalink) |
|
Untangler
Join Date: Jun 2008
Posts: 32
![]() |
Hi, hopefully this will give you some more information about how to block country specific top level domains (TLDs) in SpamAssassin.
1. To block countries: There are two local.cf files.. There is the Server Local.cf and the domain local.cf: You can simply put the following in your server local.cf file and restart sendmail and spamassassin.. (from NjWebHost sitepoint) ru REJECT http://bit.ly/qRSomu |
|
|
|
|
#3 (permalink) |
|
Untangler
Join Date: Nov 2010
Posts: 65
![]() |
In the folder /etc/spamassassin, I am only seeing one local.cf file.
Looking at the file, I only see... # Untangle global Spam Blocker settings score ALL_TRUSTED 0 lock_method flock auto_whitelist_factor 0.3 pyzor_timeout 3 # A simple-to-parse report format clear_report_template report _SUMMARY_ So all that is needed is to add "ru Reject" as the end of the file, and then restart the Spam Assassin service? |
|
|
|
|
#4 (permalink) |
|
Untangler
Join Date: Nov 2010
Posts: 65
![]() |
I am unsure if I did this correctly, but it didn't appear to break the server.
cd /etc/spamassassin pico block.cf blacklist_from *@domain.ru chmod +x block.cf /etc/init.d/spamassain restart I did a ps -ef | grep spamd and it appears that the spam process is running. |
|
|
|
|
#5 (permalink) |
|
Untangler
Join Date: Nov 2010
Posts: 65
![]() |
I am still not sure if I can just add to the block.cf file "*@*.ru".
The local.cf file method posted earlier, is not exactly clear. In looking on the server, I only saw one local.cf file. Do you just add "ru REJECT" at the end? |
|
|
|
|
#6 (permalink) |
![]() ![]() Join Date: Jul 2008
Posts: 2,768
![]() |
moved to hacks.
__________________
m. Big Frickin Disclaimer: While I'm pretty sure, I can't guarantee that I know what I'm doing. There might be a better way to do this, and this way might actually suck. Make sure you understand the implications of what you're doing before trying to follow these directions. It often helps troubleshooting if you have a good network map. Look here if you want my advice on how to draw one. Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself. If you need Untangle support please call or email support@untangle.com |
|
|
|
|
#9 (permalink) |
|
Untangler
Join Date: Nov 2010
Posts: 65
![]() |
Looking at the Networking > Advanced > File overrides. If I add the local.cf file to the overrides section, will that create a problem when performing upgrades? I'd like to ensure that the my additional rejection rules hold after minor and major upgrades.
If Untangle needs to upgrade files marked in the overrides section, will it prompt or warn the user, so that the upgrade can complete without problems. |
|
|
|
|
#10 (permalink) | |
|
Untangle Junkie
![]() Join Date: Nov 2006
Location: San Mateo, CA
URLs submitted: 10
Posts: 10,612
![]() |
Quote:
__________________
Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself. If you need Untangle support please call or email support@untangle.com |
|
|
|
![]() |
| Thread Tools | |
|
|