ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Sending Mail from iSeries

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sending Mail from iSeries

    Have implemented the QtmmSendMail API (thanks to Scott K website for the code) and can send emails anywhere but internally to our exchange server.

    Any ideas?

    our exchange server is xxx.yyy.com and the domain name is defined as yyy.com.

    Have tried all of the basic setup things and SNDDST and the API work great to externals, the network guys looked and saw the traffic external but not a sniff of the yyy.com addresses.

    Am trying to figure it out as we have turnover processes that work, so since they work I must be doing something wrong (but why would external work...)

    Best I have found so far is this from a IBM setup guide



    If you have two separate mail server platforms that are not serviced by a common global address book, for example, OS/400 SMTP on one system and SendMail on an IBM® RISC System/6000®, the mail domains should be different, meaning CFGTCP Option 12 Domain should be different if you have two separate mail servers handling SMTP Mail. Two mail servers cannot be serviced by a single MX record if no global name and address book (like in Domino) exists to correlate which mail server the mail user resides on

    which sounds like my issue with the iseries as yyy.com wanting to route everything thru the DIRE entries(?) , not finding them and tossing them out. Kind of in a hole without access to see all of the commands.

    Any ideas or pointing to other threads would be appreciated,

    Thanks.

  • #2
    Re: Sending Mail from iSeries

    just wanted to push this to the top of the heap
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

    Comment


    • #3
      Re: Sending Mail from iSeries

      Originally posted by johnharrison View Post
      Have implemented the QtmmSendMail API (thanks to Scott K website for the code) and can send emails anywhere but internally to our exchange server.
      Any ideas?
      I'm not familiar with the details, but I do know that our Exchange Administrator had
      to start some sort of SMTP service on the Exchange server in order to receive mail from our iSeries boxes.

      Good luck...

      Terry

      Comment


      • #4
        Re: Sending Mail from iSeries

        I've never used QtmmSendMail, but I have used SNDDST, SNDMAIL, and MMAIL successfully.

        As a starter, check that the local DNS server and the iSeries (CFGTCP) have entries for both

        mysystem
        mysystem.domain.com

        with the iSeries IP address. Normally we send all mail fromthe iSeries to the local Exchange server, which then sends it thru to the outside world. We had to set a permission in Exchange so it doesn't see the iSeries as a spam relay. Not sure if QtmmSendMail works the same way

        Comment


        • #5
          Re: Sending Mail from iSeries

          Made sure that was occurring, had our network gnomes use a sniffer on the network traffic, he could see the outgoing email to @gmail.com on the network go into the exchange server, anything with the yyy.com address he would not see at all in the traffic. From his view, everything was fine on what he could see.
          Unfortunately we have pretty rigid lines in who controls and can see what, so he can't go up stream to the iSeries to debug the SMTP server on the iSeries.
          Ending up at my roadblock again, Turnover email works but not base SNDDST. It must be using something outside of the SNDDST and QTMMSENDMAIL apps to get to the exchange server.

          So that's why I think the definition of the server and domain are the key and all the totally well-documented parameters, but how to prove without breaking the current system? Unfortunately since our prod and dev systems are setup the same will have to fix both systems when I find the issue, changing the SMTP parms would involve coordination and changing something that works, which people don't like this time of year.
          Last edited by johnharrison; November 9, 2007, 10:50 AM.

          Comment


          • #6
            Re: Sending Mail from iSeries

            Hi John:

            You've probably already checked but do a wrkdstq and check the send times and status.

            The distribution queue may be held or only opened for a short period.

            Best of Luck
            GLS
            The problem with quotes on the internet is that it is hard to verify their authenticity.....Abraham Lincoln

            Comment

            Working...
            X