This seems to be going around in circles without ever getting it right, so I'll throw a little in here to see if I can help.
POP3 is a protocol for fetching mail from a mail server. For my address at RJS there's a mail entry in a DNS somewhere matching all the stuff after the "@" that gives the IP address of a Windows box where our Exchange Server runs. If you want to send me an email, your client will use SMTP (Simple Mail Transfer Protocol) to get the email to my Exchange Server using that DNS entry. Exchange Server is normally an IMAP server but can optionally also support POP3. If so configured, a mail client running on my Windows PC or IBMi can use POP3 to fetch a list of the emails Exchange Server is storing that match all the stuff in my address before the "@" and then ask Exchange Server to send over each item in the list. Typically a POP3 server deletes each email from its contents once it has been transferred to the client. POP3 servers usually listen on port 110.
See
http://tools.ietf.org/html/rfc1939 for POP3 protocol definition.
So, you don't ever have anything setup on IBMi so you can forward and email from Exchange to a POP3 i5 mailbox. POP3 is a protocol for fetching email, not for sending it.
There are mail servers that run on IBMi that receive mail via SMTP and allow connection from clients using POP3. But that's what Exchange is doing for you, so you probably aren't wanting to do that, really.
From earlier posts, I think OP is wanting a program that will monitor an Exchange mailbox and fetch mail from it to the IBMi machine so it can be processed by a native program running on IBMi. POP3 is the protocol widely used for that purpose. One can also use IMAP, but it is more complicated.
SMTP is not used in fetching mail from a post office server, only for sending mail to one. SMTP really pays no attention at all to the part of an address before the "@". SMTP listens on port 25 or 587. If SMTP receives a message addressed to a different server, it is supposed to resend the message, though we usually stop this as it creates an "open relay".
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Ken Sims
Sent: Tuesday, April 23, 2013 3:29 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: i5 text message solution
Hi Paul -
On Tue, 23 Apr 2013 15:15:51 -0400, "Steinmetz, Paul"
<PSteinmetz@xxxxxxxxxx> wrote:
Ken,
Do know what needs to be setup on the i5 so I can forward an email from Exchange to a POP3 i5 mailbox, mail will then reside on IFS /QTCPTMM/MAIL/New box to be created.
Is this correct?
Thanks
Paul
Sorry, I've never done anything with mail coming in to an i, just mail going out (for which I wrote my own SMTP daemon).
In general terms, you will need an SMTP server job running on the i to accept the incoming email from the Exchange server and store it somewhere, whether it be IBM's SMTP server or someone else's.
As I believe someone else already mentioned, it's that SMTP server which decides where and how the email is stored. If you are going to access the email store directly, then POP3 doesn't figure into it at all.
Ken
Opinions expressed are my own and do not necessarily represent the views of my employer or anyone in their right mind.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.