FME Version
Many organizations use an existing internal or external service for sending and receiving email, such as Microsoft Exchange Server or Gmail. This articles describes how to forward email from those servers to FME Server.
Direct (no forwarding)
If you are not concerned with security, spam or IT departments, then you can configure your firewall to allow open communication port 25 (smtp) on the machine that FME Server is installed. Then you can email the server directly.
Gmail
Gmail allows you to easily define email filters and leverage existing spam control functionality.
Firewall
You will need to configure your firewall to only allow communication to port 25 (smtp) from google servers. Google uses IP addresses in the range 74.125.0.0 to 74.125.255.255
The steps required will vary based on the firewall you are using. For example, with AWS you must configure and apply a security group.
FME Server
Before you can have Gmail forward emails, you need to enable FME Server to receive email. Gmail sends a confirmation code to the forwarded address, which must be provided to Google before forwarding takes affect.
- Web Interface > Notifications > Topics
- Create a topic (e.g. incoming_data_to_validate)
- Click Publications > New
- Create a new publication of type email.
- Enter an email username (e.g. validatedata) and select the topic you created.
- Click Subscriptions > New
- Add the topic you created, set the Protocol to Logger, and set Log Level to High.
- Test out the topic by emailing FME Server using the email username you provided and the host name (e.g. validatedata@myfmeserver.com)
- Open the logger log file to see the email contents near the bottom (<FMEServerDir>\Logs\notifier\subscribers\logger\Logger_###.log)
Filter
Now configure Gmail to forward email to the machine that FME Server is installed on.
First configure a new forwarding address:
- Gmail > Settings > Forwwarding and POP/IMAP > Add a forwarding address.
- Enter the email address you created previously (e.g. validatedata@myfmeserver.com)
- Open the logger log file to see the confirmation code link (<FMEServerDir>\Logs\notifier\subscribers\logger\Logger_###.log)
- It should resemble the following: https://mail.google.com/mail/vf-21395f84f5-validatedata%40myfmeserver.com-5es064HJQww7ATagUExt7DdxALE
- Paste that link into a browser.
- You should see a confirmation message.
- You can now delete the Logger subscription that you setup previously.
Next, define a filter that forwards email based on some criteria:
- Gmail > Settings > Filters > Create a new filter
- Enter some filter criteria (e.g. To: fmeserver+validatedata@gmail.com)
- Click Create filter with this search.
- Check on Forward it to and select the email address you verified previously.
You should now have a system configured to forward specific emails from Gmail to FME Server.
Microsoft Exchange Server
Filter
If your organization uses an internal Microsoft Exchange Server, then you can configure it to forward email to the machine that FME Server is installed on.
The basic steps for doing this are:
- Ensure that your DNS has an entry for the FME Server host.
- Open Exchange Management Console.
- Create a Contact containing the a FME Server email address (e.g. validatedata@myfmeserver.com)
- Create a Transport rule that forwards specific email to the contact you created.
You should now have a system configured to forward specific emails from Exchange server to an internal FME Server.
FME Server
Once you have configured email forwarding you will want to configure FME Server to process the messages. The article on Email with FME Server is a good starting point.
Comments
0 comments
Please sign in to leave a comment.