Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!hacgate!ladcgw.ladc.bull.com!melb.bull.oz.au!sjg From: sjg@melb.bull.oz.au (Simon J. Gerraty) Newsgroups: comp.mail.sendmail Subject: sendmail 5.65+IDA, e-mail privacy. Summary: Postmater receives whole text of bounced messages. Message-ID: <1991Jun21.060835.904@melb.bull.oz.au> Date: 21 Jun 91 06:08:35 GMT Sender: news@melb.bull.oz.au (USENET News Account) Organization: Bull HN Information Systems Australia. Lines: 78 Nntp-Posting-Host: sun0 I have recently installed sendmail-5.65+IDA on our Sun's and Bull DPX/2 systems here. We have now noticed that Postmaster receives the body of messages being returned to sender. With the P option set (ie. OPPostmaster in sendmail.cf) Both the user and the Postmaster receive. >Return-Path: >Date: Fri, 21 Jun 91 14:46:07 +1000 >From: Mailer-Daemon (Mail Delivery Subsystem) >Subject: Returned mail: User unknown >To: sjg >Cc: Postmaster > > ----- Transcript of session follows ----- >550 fred.nerk@sun0... User unknown > > ----- Unsent message follows ----- >Return-Path: >Received: by sun0.melb.bull.oz.au (5.65+/Bull-1.1) > id AA08893; Fri, 21 Jun 91 14:46:07 +1000 >Date: Fri, 21 Jun 91 14:46:07 +1000 >From: sjg (Simon J. Gerraty) >Message-Id: <9106210446.AA08893@sun0.melb.bull.oz.au> >To: fred.nerk@sun0 >Subject: this is a test > >Ok guys what do we see? Without the P option set Postmaster gets nothing. When using Sun's sendmail Postmaster would only have received: >Return-Path: >Date: Fri, 21 Jun 91 14:46:07 +1000 >From: Mailer-Daemon (Mail Delivery Subsystem) >Subject: Returned mail: User unknown >To: sjg >Cc: Postmaster > > ----- Transcript of session follows ----- >550 fred.nerk@sun0... User unknown > > ----- Message header follows ----- >Return-Path: >Received: by sun0.melb.bull.oz.au (5.65+/Bull-1.1) > id AA08893; Fri, 21 Jun 91 14:46:07 +1000 >Date: Fri, 21 Jun 91 14:46:07 +1000 >From: sjg (Simon J. Gerraty) >Message-Id: <9106210446.AA08893@sun0.melb.bull.oz.au> >To: fred.nerk@sun0 >Subject: this is a test Even though the originator received the body as well. We much prefer this arrangement. I have had a look at savemail.c etc and can't see that the behaviour we would like is catered for. It seems to me that the ``Cc'' to Postmaster would have to be handled as a separate message so that only the headers be included. Or that something other than sendall() would need to be called from returntosender(). Before I go doing any useless hacking... I'd love to hear if someone already has some patches, or better yet, that I have missed something simple... (yes I have read the op.me and related documents again :-) Please e-mail as I'll be off-site for a couple of weeks and probably won't get a chance to read news. -- Simon J. Gerraty (work) (home) #include /* imagine something *very* witty here */