Hallo Jens,
ich vermute Dir fehlt noch das:

Add following 2 entries in the Directory Entries table:
ADDDIRE USRID(INTERNET GATEWAY) USRD('Context switching entry')
SYSNAME(TCPIP) MSFSRVLVL(*USRIDX) PREFADR(NETUSRID *IBM ATCONTXT)
ADDDIRE USRID(QSMTPDMY QSMTPSYS) USRD('QSMTP user') SYSNAME(TCPIP) MSFSRVLVL(*USRIDX)
7. For each DIRE user you want to send an e-mail to, change his entry using command (here an example for my own profile on system BASLE.)
CHGDIRE USRID(USERNAME BASEL) USER(USERNAME) NETUSRID('USERNAME BASEL') USRDFNFLD((SMTPAUSRID SMTP 'firstname.lastname') (SMTPDMN SMTP 'company.com')) MSFSRVLVL(*SYSMS) PREFADR(*SMTP)
firstname.lastname is the part from your email address before the "@" character
company.com is the part from your e-mail address after the "@" character
8. Use command CHGTCPDMN to set
* HOSTNAME to BASEL (BASEL is an example; enter your system name here.)
* DMNNAME to company.com (company.com is an example; enter here your company domain name.)
To send an e-mail use command:
SNDDST TYPE(*MSG) TOUSRID((USERNAME BASEL)) DSTD('Description text') MSG('Message text')
To send e-mail to users not defined in WRKDIRE change once the Distribution Attributes using command:
CHGDSTA SMTPRTE(INTERNET GATEWAY)
Up to now, you can use following command (Information type has to be set to *LMSG) to send directly to an Internet address:
SNDDST TYPE(*LMSG) TOINTNET
(('reciepient email address')) DSTD('Description text') MSG('Message text') LONGMSG('Long message text')

Gruss TARASIK