ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Email - SNDDST not working...

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

  • #16
    Re: Email - SNDDST not working...

    Though I didn't provide a "nice to read" answer to your post, I do have the same problem but there is a slight difference: I do have the directories on my ISeries.

    But we still have the error message.

    Did you manage to solve the issue?

    If so, would you care to share the solution?

    Thanks!
    "What must be done, must be well done."
    My father...

    Comment


    • #17
      Re: Email - SNDDST not working...

      what do you mean "We dont have directories on our system?"
      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


      • #18
        Re: Email - SNDDST not working...

        Finally we found out what was wrong.

        The IFS was restored from another system's tapes and the consultant that did the job probably forgot to run a RSTAUT.

        We did a RSTAUT and now SNDDST works just fine.

        HTH.
        "What must be done, must be well done."
        My father...

        Comment


        • #19
          Re: Email - SNDDST not working...

          Originally posted by jamief View Post
          what do you mean "We dont have directories on our system?"
          I don't know if you were answering to "MY" reply, anyway, I don't find out where you read "We don't have directories" in this thread.

          Maybe you refer to "I do have the directories on my ISeries". In this case I think there was a misunderstanding. I meant that in Gumbo's online manual they say "If you do not have the required directories (ATTABOX, etc...) you must reinstall TCP services."

          This should apply to pollos_lg's problem.

          But for me, it does not apply. We have those directories on our system. The only thing was that the authorities were not set properly because of the system restore job that was not completed.

          So that's it for me.

          See ya all later
          "What must be done, must be well done."
          My father...

          Comment


          • #20
            Re: Email - SNDDST not working...

            Sorry I saw the do as a DONT

            Im going back to be also
            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


            • #21
              Re: Email - SNDDST not working...

              Maybe this may help someone:

              Code:
               PGM                                                       
               
              ENDMSF     OPTION(*IMMED)                                 
              ENDTCPSVR  SERVER(*SMTP)                                  
               
              CRTDTAARA  DTAARA(QUSRSYS/QTMSCLEAN) TYPE(*CHAR) +
              LEN(1) VALUE('W') AUT(*ALL)                           
              MONMSG     MSGID(CPF9999) EXEC(GOTO CHG)                  
              GOTO       CMDLBL(END)                                    
               
              CHG:        CHGDTAARA  DTAARA(QUSRSYS/QTMSCLEAN) VALUE('W')           
               
              end:         STRTCPSVR SERVER(*SMTP)                                   
              MONMSG     MSGID(CPF9999)                                 
              STRMSF     MSGOPT(*RESUME)                                
              MONMSG     MSGID(CPF9999)                                 
               
              STRMSF     MSGOPT(*CLEAR)                                 
              ENDPGM
              This reset the queue and will only cancel the current message. If 'W' is replaced with 'C', then the complete queue is cleared.
              Last edited by kitvb1; March 26, 2008, 09:36 AM.
              Regards

              Kit
              http://www.ecofitonline.com
              DeskfIT - ChangefIT - XrefIT
              ___________________________________
              There are only 3 kinds of people -
              Those that can count and those that can't.

              Comment


              • #22
                Re: Email - SNDDST not working...

                Originally posted by arrow483 View Post
                There are others here more expert than I am (invitation to correct as needed), but,
                The sender of the message needs a directory entry. Among other things, this provides a "from" email address link to the profile. It appends the user profile, system name and domain name.

                As far as TCP, you want to have the AS400 on the domain. You should also add the AS400 to the "HOSTS" table. At least 2 entries something like
                192.168.1.1 SYSNAME
                192.168.1.1 SYSNAME.MYDOMAIN.COM

                I don't know that its actually needed for email, but I know some things will fail if its not setup. (Time for real experts to jump in here ....)
                I am having a SNDDST problem where the sender address is causing the email to be rejected since it is not valid. Is there a way to drop the system name from the sender email address? Instead of the sender email being user@company.com it is user@as400.company.com.

                Comment

                Working...
                X