[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

370.0. "Duplicated Incoming Mail" by HGOVC::WONGKALOK () Tue Mar 31 1992 06:36

    Sometimes our user receive the same mail message twice for a few days. 
    During that period they have to keep on deleting extra copies.  Is this
    a know bug?
    
    Here is our information:  ALL-IN-1               2.4
                              VAX Message Router     3.1B  
                              VAX MRGATE             3.1 
                              VMS                    5.4-3
    
    :-(,
    Adam.
T.RTitleUserPersonal
Name
DateLines
370.1Possibly not a bugFORTY2::ASHGrahame Ash @REOTue Mar 31 1992 14:4013
The most common way of this happening, I believe, is caused by the recipient 
being on the address list twice. This can easily happen with remote mail, and 
reply to All. Because of area routing, the same address can be formed 
diferently and so the message can be split and sent via different routes. have 
you checked the address list to see if this happens? 

Lots of other things to check - is the MRID the same? Are all the posted, 
sent,received dates the same? Any error messages in the fetcher logfile, 
OA$MTI_ERR? This does only happen on remote mail doesn't it?

(Er, and any others you can think of!)

grahame
370.2Long dist list and user on twice?AIMTEC::PORTER_TTerry Porter, ALL-IN-1 Support, Atlanta CSCTue Mar 31 1992 17:1121
When a mail message is delivered the delivery code checks to see if the filename
is already on the recipiants PENDING queue, if it is the message is not
delivered again.

If the distribution list for a mail is long enough and a user is on there twice
it is possible to get two deliveries with the right timing.

The first delivery will inform the user that there is new mail, if the user does
II immediately that empties the PENDING queue into the DOCDB and when the next
attempt to deliver to that user will not find the message in the PENDING queue
and hence it will be delivered again.

The same will apply if the user is addressed remotely and locally, the local
mail will be delivered first, if the entry is still in the PENDING queue when
the remote mail delivery is attempted it will not be delivered a second time,
however if the user has done an II or RN the remote delivery will deliver the
message a second time.

Could this be the cause?

Terry
370.3Code plays safe, so error can lead to 2 deliveriesIOSG::SHOVEDave Shove -- REO-D/3CTue Mar 31 1992 17:4315
    Certain errors in the processing, either when Sending if it's local or
    when Fetching if remote, will cause the message to be left on the
    appropriate queue and re-tried later. There's no way the sender or
    fetcher can tell how far through the addresee list it got last time
    (before the failure) so it does the whole list again. So addresses who
    received the mail the first time, before the failure, will get it
    again.
    
    Hence .1 suggesting that you looked at the error logs.
    
    I got the feeling from .0 that this started happening, happened for a
    while, and then stopped happening. True? If so, this would point to
    some error re-occuring (such as flaky disks), which got fixed.
    
    Dave.
370.4Only if II or RNAIMTEC::PORTER_TTerry Porter, ALL-IN-1 Support, Atlanta CSCTue Mar 31 1992 18:038
Dave,

The second try by the Fetcher would only deliver again if the user had done 
an II or RN to move the first delivery out of the PENDING queue. Hence the
behaviour may appear inconsistant (i.e. delivering twice to some users and
once to others earlier in the dist list).

Terry
370.5ThanksIOSG::SHOVEDave Shove -- REO-D/3CWed Apr 01 1992 12:183
    Good point, Terry.
    
    Dave.
370.6Bicker bickerFORTY2::ASHGrahame Ash @REOThu Apr 02 1992 11:2718
>The second try by the Fetcher would only deliver again if the user had done 
>an II or RN to move the first delivery out of the PENDING queue. Hence the
>behaviour may appear inconsistant (i.e. delivering twice to some users and
>once to others earlier in the dist list).
>
>Terry

Well, can I disagree with this one? If the Fetcher runs twice to deliver the 
same piece of mail, it WILL deliver it twice. This is because the key in 
PENDING is the shared-area filename, and the second run of the fetcher will 
create another file in the shared area (it restarts from the NBS files and 
creates all the ALL-IN-1 stuff again)

Just as well we haven't got any real work to do - we can spend all day with 
the ex-Mail developes trying to score points off each other! [Course, it's all 
in the cause of education isn't it]?!!

grahame
370.7Yep, you are rightAIMTEC::PORTER_TTerry Porter, ALL-IN-1 Support, Atlanta CSCThu Apr 02 1992 18:1715
Graham,

You are right the fetcher generates a completely new message every time it 
tries to deliver.

I was thinking of local delivery via the sender (e.g. second class or deferred)
where the filename does not change and hence second delivery will only happen
if the first one has been removed from the user's pending queue.

If you have not got any work to do, I can think of a list of bugs you could 
fix for the first V3.0 patch, of course most of them will not be in your
part of the product but I am sure a man of you talents would be able to cope
with that. ;^}

Terry
370.8An Ex-Mail developer .. he has ceased to be ...AIMTEC::WICKS_AVote Bill'n'Opus for a weirder USAThu Apr 02 1992 19:3112
    Terry,
    
    Graham left ALL-IN-1 Development before I did. I am sure he doesn't
    really want to go back (:==:)
    
    I am sure that he has more important work to do on the MR/GASH gateway
    than ALL-IN-1.
    
    regards,
    
    Andrew.D.Wicks
                             
370.9Red faceAIMTEC::PORTER_TTerry Porter, ALL-IN-1 Support, Atlanta CSCThu Apr 02 1992 21:498
Next time I will read the author field before assuming which Graham(e) wrote
the note.

I mistakenly assumed the note was from Graham Pye, not Grahame Ash.

My appologies to both of the fine gentlemen for mixing them up!

Terry
370.10You wouldn't catch me in the mail code either :-)IOSG::PYEGraham - ALL-IN-1 Sorcerer's ApprenticeTue Apr 21 1992 15:390
370.11So the SUBSCRIBERS thing was someone else (:==:)AIMTEC::WICKS_AMore Ship dates than actual ShipsThu Apr 23 1992 02:467
    GAP,
    
    You sure - the v3.0 sources indicate otherwise.
    
    Regards,
    
    Andrew.D.Wicks
370.12Fortunately, most people don't see the source...IOSG::PYEGraham - ALL-IN-1 Sorcerer's ApprenticeThu Apr 23 1992 14:434
    Well Winton rewrote most of my change afterwards to fix up all the
    loopholes I left, so I might as well have *not* been there...
    
    Graham
370.13MEssage delivered 70 timesGRANPA::CCOLEMANClub Pet Opens Resort in LicktensteinTue Jul 07 1992 22:0011
    There is a customer that has VMS V5.4-1A and ALL-IN-1 V2.4. The problem
    they have run into is the following:
    
    A user has sent a memo to a distribution list of 10 people. As of this
    time, 4-5 users have received 70 copies of this same memo! The mail was
    strictly local, so no routing was involved.
    
    Does anyone have any idea what is/did cause this? This is the first
    time this has happened.
    
    Cheryl
370.14FORTY2::ASHGrahame Ash @REOThu Jul 09 1992 11:3419
                        -< MEssage delivered 70 times >-

Can you get some more information to help track this down?

Are the messages absolutely identical? Do a EM SH on some of them - check the 
times, the addressee format, the MR-id

How often do they arrive? Regularly? (About the time the sender runs? Or could 
another process be doing it?

Are you SURE they're still local? 

Do any of the user have auto-forward set?

Any errors in OA$MTI_ERR or OAMTISEND.LOG?

and everything else of course!!

grahame
370.15This time it was delivered 73 times!GRANPA::CCOLEMANClub Pet Opens Resort in LicktensteinFri Jul 10 1992 21:1112
    Here is some follow up information...
    
    This has just occurred again (this afternoon) and this time it was
    delivered 73 times!
    
    Although most of the recipients were local, there were a few sent
    remote. All 73 memos have different VMS file names, but the MR id is
    the same for each one. There are no errors in OA$MTI_ERR or
    OAMTISEND.LOG. The sender runs continuously - batch job goes into wait
    state. They feel it 'might' be the fetcher, but not sure. 
    
    Cheryl
370.16Who was it sent to?IOSG::TALLETTArranging bits for a living...Mon Jul 13 1992 09:189
    
    	Can you post the list of recipients of one of these messages?
    	If your customer thinks this is too secret, you could edit
    	the names in the list to protect the innocent AS LONG AS YOU
    	ONLY CHANGE ALPHABETIC CHARS (leave all @ . " " alone so we
    	can see the address format).
    
    Regards,
    Paul