POP3 Connector / POP3 Gateway for Microsoft Exchange 2007
Be sure to use PYTHEAS MailGate v.2.32 or later - its Configuration Wizard
has special support for Microsoft Exchange 2007. PYTHEAS MailGate will interact
with an Microsoft Exchange 2007 server holding the
Hub Transport role.
Configure incoming mail flow
1. Allow anonymous connections for the existing Receive Connector
Open the Microsoft Exchange Server 2007 Management Shell from the
Start Menu.
Issue the following commands (each of them on a single line):
get-ReceiveConnector
This should yield a list containing a Receive Connector named like
Default Your_Server, bound to {0.0.0.0:25}. The two commands below will
act upon this Receive Connector.
set-ReceiveConnector "Default Your_Server" -PermissionGroups:"ExchangeUsers,
ExchangeServers,ExchangeLegacyServers,AnonymousUsers"
add-adpermission "Default Your_Server" -User AN -ExtendedRights ms-Exch-SMTP-Accept-Any-Recipient
2. Allow incoming messages sent to your messaging domain
In the Microsoft Exchange 2007 management console, go to Organization
Configuration / Hub Transport, the Accepted Domains tab.
- If you have your own messaging domain (like company.com): if you
see it in the list, skip the rest of this section. If you don't, add your
messaging domain to the list: Create a New Accepted Domain for your messaging
domain, with type Authoritative Domain.
- If you do not have your own messaging domain (i.e. your users have
email addresses like user@your-isp.com), create a New Accepted Domain for the
domain your-isp.com, with type Internal Relay Domain.

Configure outgoing mail flow
If you do not want PYTHEAS MailGate take care of outgoing email, you may skip
this section and organize outgoing mail flow according to your requirements in
Microsoft Exchange. On the other hand, if you want PYTHEAS MailGate take
care of outgoing mail, please do the following:
Create a new Send Connector
- If you already have a Send Connector to send email to the Internet, you
may consider removing it and create a new one, or modify it according to the
instructions below.
- In the Microsoft Exchange 2007 management console, go to
Organization
Configuration / Hub Transport, the Send Connectors tab. If the list is empty,
create a new Send Connector with the following characteristics:
- Name: ToPytheasMailgate (for example);
- Intended usage: Custom;
- Address spaces: click Add then enter * (a
single asterisk) as the domain name, leave Include all sub domains
checked;
- Network settings: choose Route mail through the
following smart host, then click Add, then add the IP
address of the machine which will be running the PYTHEAS MailGate
Communication Task to the list
. You may use 127.0.0.1 if it's on the same machine.
Leave the Use the External DNS Lookup settings on the transport
server box unchecked.
- Smart host security settings: choose None
- Source Server: Your Exchange server should already be in
the list.
- If both Microsoft Exchange 2007 and PYTHEAS MailGate run on the same
machine, you will need to change the outgoing SMTP port of the Send Connector:
- Open the Microsoft Exchange Server 2007 Management Shell from the Start
Menu.
- Paste the command
Set-SendConnector -identity "ToPytheasMailgate" -Port:2500
into the management shell window, and execute it. This will change
to outgoing SMTP port to 2500.
- You may check the new configuration with the following command:
Get-SendConnector -identity "ToPytheasMailgate" | Format-List
giving the following result:
Schema : Microsoft.Exch(...)SendConnectorSchema
DNSRoutingEnabled : False
SmartHosts : {[127.0.0.1]}
Port : 2500
(...)
RequireTLS : False
Enabled : True
ProtocolLoggingLevel : None
SmartHostAuthMechanism : None
AuthenticationCredential :
UseExternalDNSServersEnabled : False
(...)
Name : ToPytheasMailgate
(...)
Id : ToPytheasMailgate
IsValid : True
Note that you won't see any change in the graphical user interface of the
management console.
Limit de number of outgoing connections
- In the Microsoft Exchange 2007
management console, go to Server Configuration, and open the
Properties,
Limits tab. In Connection Restrictions, set both the Maximum concurrent
outbound connections and the Maximum concurrent outbound connections
per domain to 1.
|