On Mon, Sep 23, 2013 at 10:18:42PM -0400, Tim Prepscius wrote:
> On 9/23/13, Wietse Venema <wie...@porcupine.org> wrote:
> > Tim Prepscius:
> >> Umm, I'm looking for something more canonical.
> >>
> >> I want to get exactly what will be sent over the network,
> >> right before it is sent, or when it is queued.
> >
> > Postfix is not a network monitoring tool. Use tcpdump or Bro 
> > instead.
>
> No, I don't mean network dump.
> 
> I mean the full mime-message.
> With all the headers that have been attached during the postfix
> process and by (in my case) java-mail, etc.
> 
> For instance stuff like this:
> Subject: Re: on send call command
> In-Reply-To: 
> <caaj3avuz+b46ogo7umbrkx+bfbr8dcqdz0vpvp+9s9m3e98...@mail.gmail.com>
> To: Postfix users <postfix-users@postfix.org>
> Date: Mon, 23 Sep 2013 20:08:26 -0400 (EDT)
> Reply-To: Postfix users <postfix-users@postfix.org>
> X-Mailer: ELM [version 2.4ME+ PL124d (25)]
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Type: text/plain; charset="US-ASCII"
> Message-Id: <3ckn624d0mzj...@spike.porcupine.org>
> From: wie...@porcupine.org (Wietse Venema)
> Sender: owner-postfix-us...@postfix.org
> 
> 
> 
> Is there a way?

Why was always_bcc, as suggested upthread, not adequate? Oh, that 
won't have your java-mail-added headers.

I guess you want to either add another step into the mix, use a 
second instance as relayhost, and always_bcc from there; or just 
include this archiving functionality into your Java code.
-- 
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:

Reply via email to