E-mail client relay
Previous  Top  Next

Spam Sleuth Enterprise will not allow any e-mail relaying by default. You can tell Spam Sleuth Enterprise to relay e-mail for certain IP addresses. Usually this will be your internal IP addresses of your user's computers.

If you are using a second computer for Spam Sleuth Enterprise, you shouldn't need an access.conf file. If you are using Spam Sleuth Enterprise on the same computer as your e-mail server, and you don't want to change the port that the e-mail clients use to send e-mail, you can add the access.conf file.

Create a file named access.conf in the \Server directory. In most cases, you would just need to add your internal e-mail addresses like this:
relay <subnet> <mask>

Example:
relay 10.1.1.0 255.255.255.0

This would cause any e-mail sent from any IP starting with 10.1.1.x to be relayed directly from Spam Sleuth Enterprise to the e-mail server specified in "Relay to Host"


You can also specify to analyze e-mail from an IP range:
analyze <subnet> <mask>

Example:
analyze 10.1.1.2 255.255.255.255

This will analyze any e-mail sent from the single IP address 10.1.1.2.


You can have Spam Sleuth Enterprise reject e-mail from an IP range. This may be useful, if you find that you only spam from certain IP ranges:
reject <subnet> <mask>

Example:
reject 209.220.10.0 255.255.255.0

This will reject any e-mail for the Class C subnet of 209.220.10.x. Any e-mail from that Class C range would be rejected. Spam Sleuth Enterprise would close the connection immediately.

Below is an example where you would like to allow all of your internal users to relay e-mail, but you want any inbound e-mail relayed from your firewall to be analyzed. Spam Sleuth Enterprise will use the first one that matches. If the e-mail came in as 10.1.1.2, then it would match the first line and be analyzed. If the e-mail came in from 10.1.1.3, then it would match only the second line and be automatically relayed. If an e-mail came in from 209.220.10.4, the connection would be immediately severed.

analyze 10.1.1.2 255.255.255.255
relay 10.1.1.0 255.255.255.0
reject 209.220.10.0 255.255.255.0

Important: The default is to analyze everything, so there is no reason to put an
analyze line at the bottom. The message will only be analyzed if it meets all the other criteria such as a valid user in a valid domain, etc. See Configuration-Accounts for user and domain options, and how Spam Sleuth Enterprise will handle unknown users and domains.