|
Tony ... That is a GREAT report, isn't it?
First make sure all journal entries are deposited in the AnyMail/400 Mail
Server Framework journal (QUSRSYS/QZMF)....
CHGSMTPA JOURNAL(*YES) ALLMAILMSF(*YES)
If your mail goes through a firewall specify so:
CHGSMTPA FIREWALL(*YES)
Now try to send some mail to the iSeries.
Display the journal entries to an *OUTFILE:
DSPJRN JRN(QUSRSYS/QZMF)
RCVRNG(*CURCHAIN)
FROMTIME(040104 130000) <-- Specify date/time
TOTIME(040104 133000) <-- Specify date/time
OUTPUT(*OUTFILE)
OUTFILE(MYLIB/QZMF) <-- Specify where you want the file.
ENTDTALEN(512)
Query the MYLIB/QZMF file to generate a report. I use the IBM Query for
AS/400 interface:
<see attachment>
The meaning of the codes can be found in Info Center:
http://publib.boulder.ibm.com/iseries/v5r2/ic2924/info/rzair/rzairjournal.ht
m
Good luck!
Kenneth
****************************************
Kenneth E. Graap
IBM Certified Specialist
AS/400e Professional System Administrator
NW Natural (Gas Services)
keg@xxxxxxxxxxxxx
Phone: 503-226-4211 x5537
FAX: 603-849-0591
****************************************
-----Original Message-----
From: tony.goodall@xxxxxxxxxxxxxx [mailto:tony.goodall@xxxxxxxxxxxxxx]
Sent: Wednesday, April 07, 2004 6:16 AM
To: keg@xxxxxxxxxxxxx
Subject: RE: Email forwarding
Importance: High
Ken
How do you get the SMTP audit report?
-----Original Message-----
From: Graap, Ken [mailto:keg@xxxxxxxxxxxxx]
Sent: 06 April 2004 23:19
To: 'Midrange'
Cc: Goodall, Tony : Enable
Subject: FW: Email forwarding
Importance: High
Tony -
Enter this command ONCE:
CHGSYSDIRA USRDFNFLD((FORWARDING *NONE *ADD *ADDRESS 256)
(FWDSRVLVL *NONE *ADD *MSFSRVLVL 1))
Then for each directory entry, something like this:
CHGDIRE USRID(KEG S02) USRDFNFLD((FORWARDING *NONE KEG@xxxxxxxxxxxxx))
MSFSRVLVL(FWDSRVLVL *NONE) PREFADR(FORWARDING *NONE MIME)
In this example, mail sent to KEG on S02 (keg@xxxxxxxxxxxxx) will be
forwarded to keg@xxxxxxxxxxxxxx
When set up like this the SMTP "audit" trail will show this activity:
<see attachment>
5722QU1 V5R2M0 020719 IBM Query for AS/400 S02 4/07/04
14:21:01 Page 1
Query . . . . . . . . . . . . . . . . . QZMF
Library . . . . . . . . . . . . . . . KENNETH
Query text . . . . . . . . . . . . . . JRN(QZMF) OUTFILE(KENNETH/QZMF)
ENTDTALEN(512)
Query CCSID . . . . . . . . . . . . . . 37
Query language id . . . . . . . . . . . ENU
Query country or region id . . . . . . US
*** . is the decimal separator character for this query ***
Collating sequence . . . . . . . . . . Hexadecimal
Processing options
Use rounding . . . . . . . . . . . . Yes (default)
Ignore decimal data errors . . . . . No (default)
Ignore substitution warnings . . . . Yes
Use collating for all compares . . . Yes
Selected files
ID File Library Member Record Format
T01 QZMF KENNETH *FIRST QJORDJE
Select record tests
AND/OR Field Test Value (Field, Numbers, or 'Characters')
JOCODE EQ 'S'
AND JOTIME GT 000000
Ordering of selected fields
Field Sort Ascending/ Break Field
Name Priority Descending Level Text
JOCODE Journal Code
JOENTT Entry Type
JODATE Date of entry: Job date format
JOTIME Time of entry:
hour/minute/second
JOUSER Name of User
JOESD Entry Specific Data - Variable
contents
IBM Query for AS/400 4/07/04
14:21:01 Page 2
Report column formatting and summary functions
Summary functions: 1-Total, 2-Average, 3-Minimum, 4-Maximum, 5-Count
Overrides
Field Summary Column Dec Null
Dec Numeric
Name Functions Spacing Column Headings Len Pos Cap
Len Pos Editing
JOCODE 0 CODE 1
JOENTT 2 TYPE 2
JODATE 2 DATE 6
JOTIME 2 TIME 6 0
Yes
JOUSER 2 USER 10
NAME
JOESD 2 SPECIFIC 512
DATA
Selected output attributes
Output type . . . . . . . . . . . . . . Printer
Form of output . . . . . . . . . . . . Detail
Line wrapping . . . . . . . . . . . . . Yes
Wrapping width . . . . . . . . . . . 132
Record on one page . . . . . . . . . No
Printer Output
Printer device . . . . . . . . . . . . *PRINT
Report size
Length . . . . . . . . . . . . . . . 66 (default)
Width . . . . . . . . . . . . . . . . 132
Report start line . . . . . . . . . . . 6
Report end line . . . . . . . . . . . . 60
Report line spacing . . . . . . . . . . Single space
Print definition . . . . . . . . . . . No
Printer Spooled Output
Spool the output . . . . . . . . . . . Yes
Form type . . . . . . . . . . . . . . . (Defaults to value in print file,
QPQUPRFIL)
Copies . . . . . . . . . . . . . . . . 1
Hold . . . . . . . . . . . . . . . . . (Defaults to value in print file,
QPQUPRFIL)
IBM Query for AS/400 4/07/04
14:21:01 Page 3
Cover Page
Print cover page . . . . . . . . . . . Yes
Cover page title
SMTP Journal Report
Page headings and footings
Print standard page heading . . . . . . Yes
Page heading
Page footing
* * * * * E N D O F Q U E R Y P R I N T * * * * *
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.