|
||
Getting-started GuideHow to Install the ProductThe PYTHEAS MailGate product is made up of four components:
Where to install itYou can install the PYTHEAS MailGate Communication Task along with the other programs on any machine with the appropriate operating system on your LAN, being able to reach the Internet. Generally it may be a good idea to install it on your mail server itself. Once the configuration tasks completed, you should set up the Communication Task as a Windows NT/200x service - do so using the button on its Configuration tab.
Benefits of handling outgoing mail with PYTHEAS MailGate
Basic configurationWhen you run the Communication Task or the Configuration program for the first time, it will automatically launch a configuration wizard, which will ask you:
The wizard will give you instructions on how to configure your mail server. Upon completion, you should be able to successfully download email from your first POP3 account into a mailbox hosted on your internal mail server: launch the Communication Task (if it isn't running already), and start a Connection Cycle (use the toolbar button in the upper left of the window). Please note that you may want to
run this wizard again at a later time,
for example if you change your mail server, or want to activate outgoing mail handling
through PYTHEAS MailGate. How to Configure Incoming Mail HandlingTo handle incoming mail, PYTHEAS MailGate needs to know...
Creating a new POP3 account entryAdd a new POP3 account entry - click on the green plus sign in the toolbar, or hit the Insert key. Once you have entered the basic information (POP3 server, username, password), check if you can successfully connect: go to the Misc. tab, and use the Try connection button. Most of the time, it will be ok to leave the other settings as defined by default. Creating a new Recipient entryA Recipient is a pointer to a mailbox hosted on your internal mail server. The most important information is its SMTP address. This should be the SMTP address belonging to the Recipient's Internet POP3 mailbox. First check the address book of your mail server (Active Directory for Microsoft Exchange 2003 or 2000), then use this address as SMTP address for the Recipient. In case this requires you to change the SMTP addresses in Active Directory, you may want to read this. The next information to set is the POP3 account where the Recipient's mail comes from. In the Message routing criteria, you configure how messages downloaded from the POP3 account are distributed. You can have several Recipients receiving mail from a single POP3 account. The easiest case is a one-to-one relationship, where you would just check the route all mail from the POP3 account to this Recipient option. For one-POP3-account-to-many-Recipients relationships, please see this page. You can leave the other options with their default values; however, you may be interested in the following features:
Before closing the Recipient property sheet, you may want to send him a test message: click on the corresponding button, then open the messaging client and confirm that the message has been delivered into the Recipient's mailbox. If you have many Recipients and/or POP3 accounts (let's say, more than 50), you should consider storing their configuration data in separate files. See the online help file which describes how to do so. There will be another benefit: these files are tab-separated text files, and you can edit these lists with your favourite spreadsheet program. Setting the ScheduleMost of the time, you will want to start download sessions at regular intervals: select the every ... option, which you may want to further restrict inside a certain time interval and on certain weekdays. How to Configure Outgoing MailThis feature is optional, so you may skip to the next section, if outgoing mail is not handled by PYTHEAS MailGate. Understanding outgoing mail flowHere's how it's supposed to work:
If your ISP's SMTP relay server requires authentication, you will find the available options on the Outgoing mail configuration page. Have a glance at the Outbound transfer tabHere is an example of what should appear in the Outbound transfer tab of the PYTHEAS MailGate Communication Task or Remote Control. When a message is accepted in the outgoing queue, you should see something like this: [10:09] Queue [1] ESMTP Connection accepted from:
mailserver.yourdomain.private When the message is sent to your ISP's SMTP relay server, you should get: [10:10] Send: Connecting to smtprelay.isp.com...Login
successful...done. (ESMTP, Max size: 21000000, DSN) If this does not work as expected, you may want to have a look at our article about troubleshooting of outgoing mail handling. Outgoing mail schedule with a dial-up Internet connectionMost of the time, you may want to use the send outgoing first option of the Sequence of operations choices on the Schedule page. Under such conditions, the after collecting more, for... option may prove most useful. Please note that options and delays can be set depending on message priority, to let you find a compromise for urgent messages. If you want to avoid triggering an Internet connection in behalf of outgoing mail, which means that outgoing mail will be sent only during your regular schedule for incoming mail download sessions, then use the when connected anyway option. Outgoing mail schedule with a permanent Internet connectionUnder these conditions, the Collect regularly - always send immediately option of the Sequence of operations choices on the Schedule page should be most useful. Please note that with this choice, you can configure outgoing messages to be sent...
The outgoing mail queueYou can manage the outgoing mail queue from the Configuration Program, or with the Outgoing Queue management program. Besides seeing the contents of the queue, you can also freeze or unfreeze messages, or remove messages from the queue, which will then be returned to the sender. There are a couple of parameters to fine-tune the way outgoing mail is handled; some require direct editing of the configuration file; see the online help file for more details.
How to Define Exceptions in Incoming Mail DeliveryTo define exceptions in incoming message delivery, you can use content-checking rules. There are two kinds of rules: interception and pass-through. If a match occurs for an interception rule, the action associated with the rule will be performed. If a match occurs for a pass-through rule, message delivery will be done as usual; this kind of rule is used to stop the content checking engine trying to find a match at a certain point, when walking through the list of rules from top to bottom. Let's see an example: we choose not to allow attachments containing executable files to be directly delivered to internal mailboxes. Proceed as follows:
You can find another example here. Please note that the notification messages are based on templates which can be customized (cf. the online help file). Virus checkingThe anti-virus interface submits each incoming message to a file-level real-time on-access virus scanner. We have a dedicated web page on this topic. Spam detectionSpam detection can be done using SpamAssassin (tm). We have a dedicated web page how to get SpamAssassin and PYTHEAS MailGate work together to help you fight spam.
SupervisionThe PYTHEAS MailGate Remote Control program allows you to keep track in real time of what PYTHEAS MailGate is doing. You can also use it to start an out-of-sequence connection cycle. Install it on your workstation using the appropriate option in the setup program
that you have downloaded from the Internet. When you run it for the first time,
go to the Preferences tab and enter the name of the machine where the
Another source of information are session log messages, which we already mentioned in this document.
Keep track of Internet mail flowFor each incoming and outgoing message, PYTHEAS MailGate can write a line to a log file, which can be queried by a CGI program. Configure this feature on the Logging tab.
CustomizationAll system messages which are generated by PYTHEAS MailGate are made from templates, which can be customized and translated. Please see the online help for more information, Templates for System Messages chapter. |
||