× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



OK I've managed to get the server started but now the email is not sent and I can see the following error

Message ID . . . . . . : CPFAF98 Severity . . . . . . . : 60
Message type . . . . . : Information
Date sent . . . . . . : 24/11/08 Time sent . . . . . . : 13:42:30

Message . . . . : Job 919181/QMSF/QMSF stopped processing MSF message.
Cause . . . . . : Exit point program QTMMATCV in library QTCP for exit point
QIBM_QZMFMSF_ATT_CNV has detected a condition with message ID
653F0DC0811241342300000000003. The message indicates that processing should
be ended. The MSF message will be processed again the next time the Start
Mail Server Framework (STRMSF) command is used.
Recovery . . . : Determine why the exit point program indicated that
processing for a message is to be ended. There may be messages listed in the
job log that caused the exit point program to fail. Correct the error and
use the End Mail Server Framework (ENDMSF) command to end all MSF jobs. Then
use the Start Mail Server Framework (STRMSF) command to start message
processing again.

Regards

Steve Dodkins
I.T Manager
 
ebm-papst UK Ltd 
Chelmsford Business Park,
CM2 5EZ Chelmsford,
UK
Tel: +44 (0) 1245 468555
Dir: +44 (0) 1245 456510
steve.dodkins@xxxxxxxxxxxxxxx
www.ebmpapst.co.uk


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Leonard Burns IV
Sent: 24 November 2008 13:00
To: 'Midrange Systems Technical Discussion'
Subject: RE: SMTP Server V5R2

If you check your active jobs you'll probably find your QMSF is started but
your QSMTP jobs aren't. Make sure that the hostname and domain name you have
keyed into the CHGTCPDMN has a valid host table entry. When the mail server
starts up it looks for itself (to bind to the ip) and if their isn't an entry
matching in the table it starts and stops immediately.

Something to check at least. You can find the host tables through CFGTCP and
then option 10. Hope that helps.


Leonard


-----Original Message-----
From: Steve Dodkins [mailto:Steve.Dodkins@xxxxxxxxxxxxxxx]
Sent: Monday, November 24, 2008 3:29
To: Midrange Systems Technical Discussion
Subject: SMTP Server V5R2

Hi

I am trying to start my SMTP server but it stops after 1 second with the
message below. I've used the set up instructions from here
http://search400.techtarget.com/news/article/0,289142,sid3_gci968106,00.html#
and they are copied below the error message

Message ID . . . . . . : CPF1164 Severity . . . . . . . : 00
Message type . . . . . : Completion
Date sent . . . . . . : 24/11/08 Time sent . . . . . . : 08:20:18

Message . . . . : Job 919710/QTCP/QTSMTPSRVD ended on 24/11/08 at 08:20:18;
1 seconds used; end code 0

X.
Cause . . . . . : Job 919710/QTCP/QTSMTPSRVD completed on 24/11/08 at
08:20:18 after it used 1 seconds processing unit time. The job had ending
code 0. The job ended after 1 routing steps with a secondary ending code of
0. The job ending codes and their meanings are as follows:
0 - The job completed normally.
10 - The job completed normally during controlled ending or controlled
subsystem ending.
20 - The job exceeded end severity (ENDSEV job attribute).



1. Enter command CFGTCP
2. Choose option "20. Configure TCP/IP applications"
3. Choose option "12. Configure SMTP"
4. Choose option "3. Change SMTP attributes"
5. Set value "Autostart server . . . . . . . . *YES"

Automatic registration . . . . . *NO
User ID prefix . . . . . . . . QSM
Address . . . . . . . . . . . QSMRMTAD
System name . . . . . . . . TCPIP
Alias table type . . . . . . . *SYSTEM
Mail router . . . . . . . . . . 'mymailserver@xxxxxxxxxxx'

('mymailserver@xxxxxxxxxxx' is the DNS name of your mail server, please check
first locally which DNS name and TCP/IP address you'll have to use.)

The local mail server DNS name and IP Address has in any case to be added into
the local iSeries TCP/IP Host table using command CFGTCP and option 10. Work
with TCP/IP host table entries.

In our configuration we've added Internet address 111.11.111.111 with Host

Name 'mymailserver@xxxxxxxxxxx'
6. 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 email 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 the following command:

SNDDST TYPE(*MSG)
TOUSRID((USERNAME BASEL))
z DSTD('Description text')
MSG('Message text')

To send e-mails to users not defined in WRKDIRE change once the Distribution
Attributes using this 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')




Regards

Steve Dodkins
I.T Manager
 
ebm-papst UK Ltd 
Chelmsford Business Park,
CM2 5EZ Chelmsford,
UK
Tel: +44 (0) 1245 468555
Dir: +44 (0) 1245 456510
steve.dodkins@xxxxxxxxxxxxxxx
www.ebmpapst.co.uk
___________________________


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.