+ Reply to Thread
Results 1 to 8 of 8

Thread: SMTP-mail, Error CPI9045 when sending mail via SNDDST

  1. #1
    Guest.Visitor Guest

    Default SMTP-mail, Error CPI9045 when sending mail via SNDDST

    Hallo, Hope there are somebody out there who can ansvear to this. I have searched the mailing-list withou any result. My problem is: I have made up a SMTP-configuration on our AS/400 (ver 4.5). I have followed a list of instructions which are avalible via this forum. Everything looks OK according to those instruction which are avalible, BUT I still get this error-message. __________________________________________________ _________________ Message ID . . . . . . : CPI9045 Severity . . . . . . . : 00 Message type . . . . . : Information Date sent . . . . . . : 01-03-02 Time sent . . . . . . : 09:19:50 Message . . . . : Distribution to user identifier *UNKNOWN *ANYMAIL failed. Cause . . . . . : The distribution was sent by user identifier(ID) KENBEN DEMONEN to user ID *UNKNOWN *ANYMAIL at 01-03-02 09:19:47. The distribution failed at System name DEMONEN System group with System Network Architecture Distribution Services (SNADS) condition code X'0005'. Common SNADS condition codes are: 0001-Routing error. Where route to the destination System name does not exist. 0002-Invalid user ID. Where the user ID does not exist in the distribution directory at the destination node. 0003-Hop count was exceeded. For other condition codes, refer to the manual Communications: Distributed __________________________________________________ __________________ This message comes right after I have got the confirmation which says "Send distribuation completed succesfully". What I find strange is that the message seems to be send från user KENBEN DEMONEN, which actually is my ID in the direcory, BUT when I send via SNDDST I do it with the following arguments: SNDDST TYPE(*LMSG) TOUSRID((INTERNET SMTPRTE)) TOINTNET(('xxxxx.yyyyyyy@hotmail.com')) DSTD(TEST55) LONGMSG(TEST55) I thougt at least that the error-message would say that something went wrong wtih the user INTERNET SMTPRTE-user which I have set up and are using via SNDDST. I have somebody run into this before?? Regards Kenneth

  2. #2

    Default SMTP-mail, Error CPI9045 when sending mail via SNDDST

    I've never encountered this, the only documentation I found on it is at http://as400service.rochester.ibm.co...1402188625680b 0002037e/8943d3702dc35fac862567a9002c6f81. Are you sure the configurations are correct? From the link it looks like you are using SNADS to send the mail. I may be wrong, but I don't believe we use SNADS to send e-mail.

  3. #3

  4. #4
    Guest.Visitor Guest

    Default SMTP-mail, Error CPI9045 when sending mail via SNDDST

    David, Thanks for your help. The problem is I've already followed those posted links. As far as I know SNDDST is a command using SNADS. Kenneth

  5. #5
    Guest.Visitor Guest

    Default SMTP-mail, Error CPI9045 when sending mail via SNDDST

    Hi Kenneth We had problems with mail being rejected by our "Exchange " server, and it was caused by the system directory entry of the sender having a domain name that was unacceptable. Once we changed the domain name to that of our "real" domain then everything was ok. This assumes that SNADS is set up correctly e.g. Remote Remote Opt Queue Name Queue Type Location Name Mode Name Net ID QSMTPQ *RPDS TCPIPLOC *NETATR *LOC

  6. #6
    Guest.Visitor Guest

    Default SMTP-mail, Error CPI9045 when sending mail via SNDDST

    Ken, I would be interested in the information on setting up a mail server on the as/400. Can you direct me to where that information is or can be found? Thanks Mike W

  7. #7
    Guest.Visitor Guest

    Default SMTP-mail, Error CPI9045 when sending mail via SNDDST

    Kenneth - When using SNDDST *LMSG, your command is SNDDST TYPE(*LMSG) TOUSRID((INTERNET SMTPRTE)) TOINTNET(('xxxxx.yyyyyyy@hotmail.com')) DSTD(TEST55) LONGMSG(TEST55) but you don't need the TOUSRID parm so it should be SNDDST TYPE(*LMSG) TOINTNET(('xxxxx.yyyyyyy@hotmail.com')) DSTD(TEST55) LONGMSG(TEST55) HTH, Steve

  8. #8
    Guest.Visitor Guest

    Default SMTP-mail, Error CPI9045 when sending mail via SNDDST

    How is this done? I have the SMTP & POP3 servers set up. Which one should I use. I can use the SNDDST command and it says it sends a message to an internet address successfully, but the messages don't seem to go anywhere. D. Oestmann

+ Reply to Thread

Similar Threads

  1. Sending E-mail using SNDDST
    By David Abramowitz in forum General
    Replies: 5
    Last Post: 06-24-2002, 06:53 AM
  2. Replies: 2
    Last Post: 02-26-2002, 01:04 PM
  3. SMTP Mail
    By Guest.Visitor in forum IBM i (OS/400, i5/OS)
    Replies: 3
    Last Post: 02-13-2001, 08:37 AM
  4. Configuring SMTP for sending e-mail
    By Guest.Visitor in forum Internet
    Replies: 5
    Last Post: 12-11-2000, 10:29 AM
  5. Sending E-Mail via an IMAP mail server
    By Guest.Visitor in forum Application Software
    Replies: 1
    Last Post: 09-12-2000, 11:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts