Difference between revisions of "EMail Server Relay Check"

From NST Wiki
Jump to navigationJump to search
m (Configuration)
m (Configuration)
Line 17: Line 17:
 
== Configuration ==
 
== Configuration ==
  
In order for the tool to work correctly, you will need to change the variable ''$email_address'' to your own email address. This is located on line 30 of the file /usr/share/relaycheck/cgi-bin/relaycheck.pl
+
The config file for Relay Check is /usr/share/relaycheck/cgi-bin/relaycheck.config. Values need to stay in single quotes.
  ''' $email_address='change_this@change_this.whatever';'''
+
 
 +
In order for the tool to work correctly, you will need to change the default email to your own email address.
 +
 
 +
''' my email address = 'change-me@some.domain.com' '''
 +
 
 +
Change this to your actual email address, it is where test messages will be sent.
 +
 
 +
You can also change server timeout values.
 +
 
 +
Enter your preferred timeout value in seconds for an initial connection to the
 +
target server. Default value is 5 seconds.
 +
 
 +
  '''initial timeout = '5''''
 +
 
 +
Enter your preferred timeout value for individual SMTP commands
 +
EHLO, MAIL FROM, RCPT TO, etc. Default value is 3 seconds.
 +
 
 +
'''individual smtp command timeouts = '3''''
 +
 
  
  
 
'''(this documentation is currently under development)'''
 
'''(this documentation is currently under development)'''

Revision as of 11:49, 21 March 2011

Overview

The eMail Server Relay Check Tool is a simple security tool designed for testing email servers for signs of misconfiguration.

You can gain access to the eMail Server Relay Check page by selecting

 NSTWUI > Network > email > eMail Server Relay Check

The tool checks for the following:

  • SMTP banner - reverse DNS mismatch
  • Open Relay
  • Bounce Messages or Non-Delivery Reports (NRS's)
  • Listings on DNS-based Realtime Blacklists
  • Optional NETBIOS ports scan

Configuration

The config file for Relay Check is /usr/share/relaycheck/cgi-bin/relaycheck.config. Values need to stay in single quotes.

In order for the tool to work correctly, you will need to change the default email to your own email address.

 my email address = 'change-me@some.domain.com' 

Change this to your actual email address, it is where test messages will be sent.

You can also change server timeout values.

Enter your preferred timeout value in seconds for an initial connection to the target server. Default value is 5 seconds.

initial timeout = '5'

Enter your preferred timeout value for individual SMTP commands EHLO, MAIL FROM, RCPT TO, etc. Default value is 3 seconds.

individual smtp command timeouts = '3'


(this documentation is currently under development)