Art, thanks again. This does what I need, but it only handles 1 message at a time. The biggest problem is that I have 25,000 messages to retrieve which would mean I would have to loop over this script 25,000 times and scan a 120 MB file that same number of times. This is just too resource intensive.
Thanks, Dean On Tue, Aug 26, 2008 at 12:21 PM, Plato, Art <[EMAIL PROTECTED]> wrote: > Ok. Use this one then in conjunction with the other. Use emailfrom to > get the message ID then use specificemail to get all of the log output > pertaining to that email. I have written many tools to gleen info from > the logs. These are just a few. Hope this helps. > > Art. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Darin Cox > Sent: Tuesday, August 26, 2008 12:10 PM > To: Imail_Forum@list.ipswitch.com > Subject: Re: [IMail Forum] Extract single mailing from logs > > Hi Art, > > I don't think this does everything. I believe he needs all lines for > the > message in the log, not just the lines with the FROM address on it. > > Darin. > > > ----- Original Message ----- > From: "Plato, Art" <[EMAIL PROTECTED]> > To: <Imail_Forum@list.ipswitch.com> > Sent: Tuesday, August 26, 2008 11:55 AM > Subject: RE: [IMail Forum] Extract single mailing from logs > > > Here is a PERL script I wrote just for that type of information. > Hope it helps. I've also attached the instructions for using it. > > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Darin Cox > Sent: Tuesday, August 26, 2008 11:07 AM > To: Imail_Forum@list.ipswitch.com > Subject: Re: [IMail Forum] Extract single mailing from logs > > You could probably do this with some sort of grep tool. I'll leave that > to > the grep experts. If we received a request like that, I would import > the > logs into a SQL database, filter based on from domain, parse out the > queue > ID from the lines, then reselect all lines with those queue IDs and > export > the results to a file. > > Darin. > > > ----- Original Message ----- > From: "Dean Lawrence" <[EMAIL PROTECTED]> > To: <imail_forum@list.ipswitch.com> > Sent: Tuesday, August 26, 2008 10:53 AM > Subject: [IMail Forum] Extract single mailing from logs > > > I have a client that sends a weekly newsletter from my server. There > is a reporting agency that is requesting their mail logs to be able to > verify successful delivery so that they can determine the true number > of subscribers. Does anyone know of a reporting tool or set of grep > scripts that would allow me to extract just those mailings from my > log? I would need the complete email communications (multiple lines) > for each message and the current subscription is about 25,000 > addresses. Since Imail does not allow a per domain log file, these > mailings are inter-mingled with al my other client's mail. With this > scenario, is this even something that can be reasonably accomplished? > I'm running 8.22. > > Thanks, > > Dean > > -- > __________________________________________ > Dean Lawrence, CIO/Partner > Internet Data Technology > 888.GET.IDT1 ext. 701 * fax: 888.438.4381 > http://www.idatatech.com/ > Corporate Internet Development and Marketing Specialists > > To Unsubscribe: http://imailserver.com/support/discussion_list/ > List Archive: > http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ > Knowledge Base/FAQ: http://imailserver.com/support/kb.html > > > To Unsubscribe: http://imailserver.com/support/discussion_list/ > List Archive: > http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ > Knowledge Base/FAQ: http://imailserver.com/support/kb.html > > > To Unsubscribe: http://imailserver.com/support/discussion_list/ > List Archive: > http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ > Knowledge Base/FAQ: http://imailserver.com/support/kb.html > -- __________________________________________ Dean Lawrence, CIO/Partner Internet Data Technology 888.GET.IDT1 ext. 701 * fax: 888.438.4381 http://www.idatatech.com/ Corporate Internet Development and Marketing Specialists To Unsubscribe: http://imailserver.com/support/discussion_list/ List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://imailserver.com/support/kb.html