Rob,

I was going to mention that fix but I think it only really applied go V6R1
and lower.. (ie, IBM "fixed" this bug in later releases, but I can't be for
sure).

I apologize for leaving it out, though, if it was the fix. Please do
follow up so others know what did solve your issue.

Brad
www.bvstools.com


On Tue, Oct 13, 2015 at 9:22 AM, <rob@xxxxxxxxx> wrote:

James,

Bradley hit this right on the head. But what he didn't give you was the
simple fix.
CHGATR OBJ('/tmp') ATR(*RSTDRNMUNL) VALUE(*NO)

IBM changed the default at one time to *YES and this makes it do what
Bradley explained below. Change it back and it should work just fine.
When IBM first changed this (I forget what release) they used to change
the attribute at every IPL! This would blow up email. They issued a PTF
to stop changing it at every IPL.


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: Bradley Stone <bvstone@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 10/12/2015 11:17 PM
Subject: Re: Some QtmmSendMail weirdness: persistent files in /tmp
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



James,

What I've seen from things like this is these are temp files created by
the
person/job sending the email, but then the SMTP job doesn't have the
proper
authority to remove the file when it's done...

OR

the emails are not being delivered.

How things work with the QtmmSendMail API is

1. Create a Mime File
2. Call the API with reference to the Mime file
3. This passes off the work to a batch job(s) to delivery the mail
4. If the email is passed off with no errors, the temp file should be
removed
5. If it errors, the file stays and MSF/SMTP try to resend over and over
and over and over

So, the only reason these files should be there is the email wasn't
successfully delivered or... the job processing the email doesn't have the
proper authority to the temp file to delete it.

You also may want to contact support for the product to let them know.
Maybe they have a fix for it.

Brad
www.bvstools.com

On Mon, Oct 12, 2015 at 5:23 PM, James H. H. Lampert <
jamesl@xxxxxxxxxxxxxxxxx> wrote:

Our CRM product has the ability to send programmatically-generated email
via QtmmSendMail calls.

On a customer box (V7), I've just been informed that, for several
months,
QtmmSendMail (or more likely, what it sets into motion) has been leaving
persistent files in /tmp, with generated names in the vein of:

JWaaBN2h.eml
JWaaB2rM.eml
JWaaEzRe.eml
JWaaGXVV.eml


Those are definitely not names we're generating ourselves.

This isn't happening on our box (V6), and we haven't (to date) heard of
it
happening elsewhere.

Anybody know what could be doing this? And how to stop it?

--
JHHL
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



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-2019 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].