Show Presentation
 
 
 TN-restrict IPs
Home • support • supportcommentary • IS • TN-restrict IPs
 
fcss0.jpg
Limiting inbound email or inbound access to Internet Services from a range of IPs

Limiting inbound access to IS from one or more IPs only

IMPORTANT: this willl restrict ANY inbound connection to one IP only, so users trying to use the web interface, or POP or any protocol to connect to FirstClass should be going through the SPAM gateway IP.

With FirstClass you can choose to restrict incoming email to being received from 1 IP address only.  This would be a solution for sites that have a SPAM gateway sitting in front of the FirstClass Server.  Log in as the Admin on the FirstClass server and open Internet Services. Open the Filters folder within and open the Sample document.  At the bottom of this document add the following information:

+X.X.X.X        <--  Where X.X.X.X is the IP address of the SPAM gateway machine.
*.*.*.*

i.e.
101206_111515_0.png

Close and save the document, open the Internet Monitor, select the Control tab, and click on the Reload Config button.


Limiting inbound email to IS from one or more IPs only

To restrict inbound email from one IP, add the following line to the rules.mailrules file:

^: IF ($SenderIP !="XXX.XXX.XXX.XXX") NDN 550 "Please send your message through correct SMTP Channel"

where xxx.xxx.xxx.xxx is the IP of your inbound email gateway.
Then do the Reload Config on the Internet Monitor.

Another alternative is to add a line:

^: IF (NOT @InWordList("lists.AllowedIPs", $senderip)) NDN 550 "Your IP, <$senderip> is blocked from sending to us."

to the document rules.mailrules in the Filters folder, create a document titled lists.AllowedIPs in the Filters fodler and populate it with IP(s), then do the Reload Config on the Internet Monitor.

In both cases, this will deny SMTP connections only (i.e. not web or POP, etc.) from any IP except those stated in lists.AllowedIPs.

10132006_45335_0.png
10132006_45444_2.png

 

Copyright© 2008 Open Text Corporation. All Rights Reserved.