IMail v12 Administrator Help
Related Topics
About LDAP Server (on page 395)
About LDAP Data (on page 395)
LDAP Service Settings (on page 396)
LDAP User Information (on page 172)
Populating the LDAP Database Using Ldaper.exe (on page 400)
Init & Sync LDAP DB - iLDAP.exe utility (on page 401)
Bouncing Spam Messages using Rules
To bounce a message that is identified as spam, you must set up a delivery rule at the host level. Before you setup a rule, determine the reason you want to bounce spam messages and identify the corresponding X-IMAIL-SPAM header that is inserted into these types of messages (i.e. X-IMAIL-SPAM- DNSBL). If you want to bounce all spam messages regardless of the reason it was identified as spam, you need to create a rule or rules that search for the generic X-IMAIL- SPAM header. For more information, see Spam X-Header Explanations (on
page 351).
Example:
The following example assumes that you want to bounce all messages that are identified as spam.
To bounce a message that is identified as spam:
1 Make sure that all of the antispam features are setup with the Insert X-Header action to be taken when e-mail is determined to be spam. For more information, see Getting to
IMail Inbound Rules Options.
2 Click on an e-mail domain's Inbound Rules (on page 246) page, then click Add. Enter
the following rule parameters:
Field: Header
Comparison: Contains
Search Text: X-IMAIL-SPAM
1 Click Add. The new rule is added to the list of rules.
2 Select the rule you just added.
3 On the Action Type list, select Bounce.
4 Click Save.
58
IMail v12 Administrator Help
IMail Server Default Service Ports
Ports are used to facilitate communications between client and server programs, such as IMail
Administrator services (on page 388). The following are the default service ports for IMail
Server and can be configured.
TCP Ports:
SMTP : Port 25
SMTP Alternate Port : 587
SMTP SSL : Port 465
IMAP4 : Port 143
IMAP4 SSL: Port 993
LDAP : Port 389
POP3 : Port 110
POP3 SSL: 995
CommTouch : 8088
CommTouch IP Reputation : 8181
WorkgroupShare : 8100 (Unsecure)
WorkgroupShare : 8101 (Secured)
WorkgroupShare Free/Busy : 8109
Instant Messaging Server : 5177
Instant Messaging Client : 5188 (Persistent connections not enabled)
Archiving
MailArchiva SMTP : 8091
MailArchiva : 8090
MailArchiva - IMail Web Service : 8080
-OR-
Sonian SMTP - 25
Setting up a Dial-up Internet Connection
IMail Server is designed to work on a 7-day, 24-hour Internet Connection, but you can also set up IMail Server to support dial-up connections. You can create a dial-up Internet connection from IMail Server to your Internet Service Provider (ISP), allowing you to receive mail from an account with your ISP.
59
IMail v12 Administrator Help
IMail Server does not perform dial-up functions or spawn off dialing commands. To start your
RAS/PPP connection to your ISP, you need to either use a scheduling program or start the connection manually.
IMail Server uses the TCP/IP transport on Windows; it does not configure the Windows TCP/IP transport. If you need to set up a RAS/PPP connection, refer to your Windows Help.
Receiving Mail from an Internet Service Provider
When you use a dial-up connection, your inbound mail from the Internet must be stored somewhere, usually with your ISP. Your ISP can store your mail in several ways. Three of the more popular ways are:
Method 1: The ISP sets up individual mail accounts on the ISP computers. This method usually uses the POP3 mail protocol to read or retrieve mail. Each user dials up the ISP and either reads or downloads mail.
Method 2: The ISP sets up individual mail accounts on the ISP computers, but the ISP forwards all mail for your users to your mail server when your dial-up connection is
up. This method uses the ISP's Internet domain name. Example. (on page 62)
Method 3: You have a registered Internet domain of your own, and you register your domain to point to the ISP computer. Your ISP stores incoming mail and forwards it to
your mail server when your dial-up connection is up. Example. (on page 63)
To register your own domain, contact your ISP. In most cases, they will do the work for you.
All you have to do is come up with a name.
If you currently use Method 1, then you must change to either Method 2 or 3 to receive mail from your ISP. IMail Server cannot log into individual mail accounts on your ISP mail server, retrieve the mail, and then parse the mail correctly.
Setting Up the Server for Dial-up Access
1 Setting up IMail Server using a dial-up connection is the same for both Methods 2 and 3, above. To do this, you need to create mail accounts for users on the IMail Server computer. For more information, see Administering IMail Users. If you use Method 2, user names must be the same on both the ISP's computer and your IMail Server computer.
2 Tell Windows about your e-mail domain name. When Windows looks up a domain name, it first searches the \winnt\system32\drivers\hosts file. If there is no match, it asks a Domain Name Server (DNS) for the IP address for the domain name.
60
IMail v12 Administrator Help
This creates a problem, as your Windows computer has a different IP address than your
ISP's computer. When IMail Server looks at the incoming mail, it looks up the domain name to which the email is addressed. If the domain name points to your ISP's computer
(your ISP's IP address), then IMail Server sends the mail back to your ISP's computer
(which it thinks is correct). Mail will be bounced back and forth until one of the computers sends the message back to the original sender.
To avoid this problem, set up the domain as a virtual host , then add the domain name to which your incoming mail is addressed -- either your ISP's (Method 2, see Example (on
page 62)), or your own (Method 3, see Example (on page 63)) on the Add New Domain
page. See Adding a New IMail Domain (on page 48), Setting Up a Virtual IMail Domain With
an IP Address (on page 142), or Setting Up a Virtual IMail Domain Without an IP Address (on page 142) for more information.
3 Unless you plan on maintaining a 24-hour, 7-day a week dial-up Internet connection, your ISP must spool all mail for your company. Then, have your ISP set up their computer to try to periodically send mail to the IMail Server computer. How often the
ISP attempts to send mail to your server depends on how often your dial-up connection is up. Consider the following factors in determining queue times. The first factor is the most important.
How long will your dial-up connection last (10, 20, 30 minutes)?
How often will your ISP's computer try to send the spooled mail to your computer?
How often will your computer try to send mail to the Internet?
How much mail will you receive and send when you make your dial-up connection?
For example, if the connection time will be 20 minutes, and you will have relatively light traffic (50 received and 50 sent) and relatively short messages (no attachments or large files) you could set up the queue times as follows:
Queue Time
Connection Time
Minutes
20
ISP Queue Time
IMail Server Queue Time
E-mail Quantity
15
15
50 received/50 sent (short messages)
In this example, the Connection Time is the amount of time your IMail Server is connected to the ISP's computer. This would be set in your scheduling program. The ISP Queue Time determines how often the ISP mail computer tries to send mail to the IMail Server. The IMail
Server Queue Time determines how often IMail Server tries to send mail to the ISP or Internet
(this is set up on the SMTP Options (on page 413) page).
To be sure your mail gets processed, regardless of the connection time, make the queue times less than the connection time. If you expect to receive or send greater numbers of messages, or more lengthy mail than in the example, you can either increase the connection time, or decrease both queue times.
Alternatively, you can use the ETRN command to manually retrieve mail from the ISP's mail
server. See Using ETRN to Retrieve Mail on a Dial-up Connection (on page 62).
61