Search Advanced Search
Categories
Insight Server (165)
WebClient (18)
Insight Connector (65)
Address Book (12)
ExportPST (1)
Search Articles
Advanced Search
Frequently Asked Questions
Search our FAQ to find resolutions to common issues.
Blacklisting by email address/domain/IP
Create a file called sender_checks, under /opt/insight/etc/postfix/ and use the following example to craft your rules:

    # This file must be "compiled" with "postmap"

# Using a domain name
example.tld 554 Spam not tolerated here

# Maybe example2.tld is on a DNSbl, but we want to let their
# email in anyway.
example2.tld OK

# We get lots of spam from example3.tld, but we have somebody
# there from which we do want to hear
someuser@example3.tld OK
example3.tld REJECT
Save the file and compile it into a Postfix database like this:
# /opt/insight/sbin/postmap /opt/insight/etc/postfix/sender_checks

Log in to the server web interface as manager.
Click Configuration->Services->Postfix, and scroll down to the UCE section.
Locate the option "smtpd_recipient_restrictions".
Add the following to the beginning of the comma separated list of values there:

check_sender_access hash:/opt/insight/etc/postfix/sender_checks,

(don't overlook the comma at the end)

Update the configuration and restart Postfix. You'll need to recompile with postmap and restart Postfix anytime the list changes.

UPDATE:

You can also use regular expressions to block entire root-level domains. You may decide that your business has no legitimate reason to receive email from Russia or Taiwan. Create regular expression rules in a new file called sender_checks_regex:

/^.*\.ru/    REJECT
/^.*\.tw/    REJECT

Save it in /opt/insight/etc/postfix as above, but don't use postmap to compile it.
Add it to the Postfix configuration as above, but use "regexp:/opt/insight/etc/postfix/sender_checks_regex" instead.





Print  Email  Save  Comments  Notify Me  Add to Favorites 
Article ID: 200039 Article Created: 01-08-2007 21:31 PMLast Modified: 10-10-2007 19:15 PM

How well did this article answer your question? 100% 75% 50% 25% 0%

Most Recently Viewed Articles
Blacklisting by email address/domain/IP
Create a file called sender_checks, under /opt/insight/etc/postfix/ and use the following example to craft your rules: # This file must be "compiled" with "postmap" # Using a domain name ex...
I cannot use the default Outlook 'Contacts' folder as an e-mail address book. In the tab 'Outlook Address Book' the option to use it as an e-mail address book is unchecked and grayed out.
To access your Contacts folder as an Addressbook you need to configure an Outlook Addresbook account.Outlook 2003: Click Tools > Account > View or Change existing Addressbook accounts. Click Add > Add...
Local email messages are not getting delivered via LMTP - 550-Mailbox unknown.
There are a number of possibilities that can cause this behavior in Insight Server. The most common cause is a misconfiguration in Cyrus IMAP. Examine the following entries in the configuration file /opt/insight/etc/imapd.conf:defaultdom...
How do I keep a copy of all emails sent thru the InsightServer?
You can use a resource or regular user account to store the emails. Be aware that this account will get very large. Thru the web-admin interface as manager: Configuration > Services > Postfix ...
When sending email from the web service, the source address is:
Login to the web admin interface and goto "Configuration" > "Services" > "Postfix" . Change the entry: myorigin = $myhostname to:myorigin = $mydomain At the bo...
Automated script for purging virusmails directory
Your /opt/inisight/var/virusmails directory can grow quite large over time. The maintenance (purging) of this directory is designed to be managed by the systems administrators. There are potential company policies on email retention that may include it...
Dependency Error libstdc++.so.5 when installing Insight Server
Q:  When I try to install the Insight Server rpm I get a dependency error.  It tells me that the “dependency for libstdc++.so.5” i...
"Failed to get the license certificate from the server" Error when registering AddressBook 3.0
...
Automatic Installation of Insight Connector
Automatic InstallationTo install the Insight Connector with minimal user intervention, the administrator (or manager) can modify a setup.ini file that will answer questions about the configuration setting...
When trying to move mail or create folders with the Insight Connector, I receive errors
When using a mail server other than Insight Server, the mail server may not be able to handle Access Control Lists (ACL).The Insight Connector applies permissions to each folder allowing or denying read and/or write access.  If the server ...