[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

4022.0. "Addressee names not shown in mail header" by GANTRY::HULL (Digital Consulting [Delivery]/Motown) Thu Mar 24 1994 13:57

A1 V3.0A

customer creates a mail message with 3 MRGATE addresses, and 2 addresses
using the Special Handling syntax (  _<whatever> ) and sends the msg.

Everyone on the list gets the mail, but the VMS mail receipients only see
the MRGATE-addressed names.  Any names using the _-addresses are not
listed.

Is this a limitation of MRGATE, or A1, or what?  Any way to correct this?

	Al
T.RTitleUserPersonal
Name
DateLines
4022.1MrGate only puts them in the message textIOSG::SHOVEDave Shove -- REO2-G/M6Thu Mar 24 1994 16:5428
    If you mean that they (the _<whatever> ones) don't appear in the TO's
    on the VMSmail header, that's MrGate.
    
    But they should appear in the message text, thus:
    
    #2          24-MAR-1994 16:46:58.25                                 
NEWMAIL
From:   IOSG::IOSG::MRGATE::"A1::SHOVE"
To:     ZERO::SHOVE,ZERO::DAVETEST
CC:
Subj:   test

From:   NAME: Dave Shove
        FUNC: IOSG
        TEL: DTN 830-4670                     <SHOVE@A1@IOSG@REO>
To:     shove@zero@mrgate,
        davetest@zero@mrgate,
        _shove@A1@IOSG@REO,
        _hero::shove@A1@IOSG@REO

Test Al Hull's qn


MAIL>

Or have I mis-understood the question?

D.
4022.2DetailsGANTRY::HULLDigital Consulting [Delivery]/MotownThu Mar 24 1994 19:4310
DAve - you interpreted my question correctly.  But on our setup those
addressees don't even show up in the body.  We have custom scripts that use
the _ trigger for sending mail to PROFS or out to Internet via SMTP mail
gateway.  I have to translate all WPS-PLUS message files into ASCII, so
part of my Send action in SPECIAL.COM is to do an A1 COPY command of
"@OA$CURDOC" to OA$TEMP:filename.txt.

Would it be easier if I posted the actual code?

	Al
4022.3Verified the problemGANTRY::HULLDigital Consulting [Delivery]/MotownFri Mar 25 1994 14:41137
Here's all the gory details.  This is probably irrelevant to list this code 
since it's the MRGATE mail that's getting messed up, not the _-special 
handled mail.  I have a copy of the user-received VAXmail msg in my hand that 
does not list ANY of the _-addressed names, only the VMSmail names. In fact, 
I just sent a test msg myself using the @MRGATE and @SMTP addresses shown 
below, and here's the VMS mail that just popped in:

    #1          25-MAR-1994 09:34:22.88                                NEWMAIL
From:   EEDVAX::MRGATE::"A1::HULL"
To:     EEDVAX::HULL
CC:
Subj:   test copy to ascii

This is a test of wps to ascii conversion.

MAIL>

The A1 msg that was sent out is listed just below.  Note the 2 addressees.
So it has to be some sort of MRGATE issue.  How do we get this corrected?

	Al

Here's the special sending code we use for _-addresses:
---
I have verified that the COPY'd msg text created in SPECIAL_SEND.SCP (see 
below) does have ALL the addressees listed.  Here's a simple example of the 
OA$TEMP file that gets created:


 E   L   D   -   P   E   O    M E M O R A N D U M


                                        Date:     25-Mar-1994 09:12am EST
                                        From:     Al Hull
                                                  HULL
                                        Dept:     K8190 (Digital Consultant)
                                        Tel No:   313-845-4509

TO:  Remote Addressee                     ( hull @eedvax @mrgate )

CC:  PROFS address                        ( [email protected] @SMTP )

Subject: test copy to ascii

This is is a test of wps to ascii conversion.

[end]


Our SPECIAL.COM (send phase) file only has the following lines in it:

$! site-customized version of Special.com - sends mail using
$! special addressing trigger
$       write oamailbox "oa do special_send"
$       @dclmailbox:
$       exit
$exit


And in SPECIAL_SEND.SCP the handling for our PROFS and Internet mail follows 
this logic:

! SPECIAL_SEND.SCP   called from SPECIAL.COM at mail Send time
! ported to A1V3.0 4-Feb-1993 ADH
!
.label start
! see if its a SMTP PROFS Address - if so use new code

.if #mailaddr <=> "@SMTP" or #mailaddr <=> "@EMS_MBX" -
        then .goto SMTP_style

   . . .

.label SMTP_style
        get #new_mailfile = "oa$temp:smtp_mail_out_" oa$date_nbs ".txt"
        copy  "@oa$curdoc"  #new_mailfile  "ASCII"

! this will keep the logfiles for the most recent 2 msgs (keep 1, + new 1)
        purge_file      sys$login:smtp_send.log
        submit_script(  script = "smtp_send", -
                        account = oa$user, -
                        trace_file, -
                        P1 = #mailsubj, -
                        P2 = #mailaddr, -
                        P3 = #new_mailfile, -
                        P4 = oa$curdoc_docnum )
 
	.exit

***I send the message out via the Script Symbiont to avoid conflicts with 
current file being open, etc.

!+
!       SMTP_SEND.SCP
!+
.LABEL START
        oa$ini_initialize
        get #subject = oa$smb_parameter_1
        get #to = oa$smb_parameter_2::1
        get #fname = 'smtp' oa$date_nbs '.txt'
        get #new_mailfile = oa$smb_parameter_3
        get #orig_docnum = oa$smb_parameter_4

        cabinet set_drawer oa$mail_drawer
        mail initialize
        mail push_curmes
        get oa$function = 'mail create/open/nosend/fname=' #fname
        mail to #to
        mail subject #subject
        mail text "Message sent via SMTP Mail Gateway"
        mail close_message
        dump_cache
        append/file #new_mailfile oa$curdoc_filename
        mail send
        get oa$function = 'delete_file ' #new_mailfile
        cab refile_document , oa$wastebasket
        mail pop_curmes
! log the info for tracking
        get #smtpkey = oa$user:15 oa$date_nbs:12:2
        write add smtpqueue smtpkey = #smtpkey, -
                address_line = #to:40, -
                subject = #subject:55, -
                document_number = #orig_docnum
        .exit



! Author: Al Hull
!
! called from SPECIAL.COM at mail Send time and submitted to the
! script symbiont to avoid sending mail from within a Send mail action.
!
! #new_mailfile is the new filename of the original message's content and all
! attachments, converted to ASCII text
  


4022.4Different version of MrGate?IOSG::SHOVEDave Shove -- REO2-G/M6Fri Mar 25 1994 15:0524
    I think this is an MrGate problem:
    
    the expansion of this part of the header:
    
From:   NAME: Dave Shove
        FUNC: IOSG
        TEL: DTN 830-4670                     <SHOVE@A1@IOSG@REO>
To:     shove@zero@mrgate,
        davetest@zero@mrgate,
        _shove@A1@IOSG@REO,
        _hero::shove@A1@IOSG@REO
    
    is done by MrGate.
    
    Maybe you have a different version to the one on our system, which is:
    
            Image Identification Information
    
                    image name: "MRTOVMS"
                    image file identification: "MRG V3.3-000"
                    link date/time: 30-OCT-1993 16:15:14.86
                    linker identification: "05-13"
    
    Dave. 
4022.5Older codeGANTRY::HULLDigital Consulting [Delivery]/MotownFri Mar 25 1994 18:2511
We do have an earlier version.  Guess it's time to upgrade...

                image name: "MRTOVMS"
                image file identification: "MRG V3.2-108"
                link date/time: 30-JUN-1992 14:37:42.16
                linker identification: "05-05"

Can I safely upgrade just MRGATE to V3.3 now and do the rest of MR a bit
later without problems?

	Al
4022.6CSOA1::LENNIGDave (N8JCX), MIG, @CYOWed Mar 30 1994 23:348
    If you are not getting any header type info in the VMSmail message,
    perhaps you need to check your MRGATE configuration parameters.
    
    Specifically, what is the setting for the MRG config question:
    
    "Do you want to discard header information from Message Router mail?"
    
    Dave
4022.8Everything is peachy nowGANTRY::HULLDigital Consulting [Delivery]/MotownThu Mar 31 1994 19:259
It's possible that config question had been mis-set in the past, but I went
ahead and just upgraded MR and MRGATE to V3.3 from our latest CDROM dist. 
Only took about 1.5 hrs to do everything and the header problem went away! 
When I reconfigured after the install, I do remember answering Yes to the
prompt in question.

Thanks for the help.

	Al