[BlueOnyx:05239] Re: OT: Maillog listing

Klein Joachim j.klein at ibusiness.at
Wed Aug 18 01:48:16 -05 2010


  Am 17.08.2010 18:32, schrieb Chuck Tetlow:
> Use the following command on your BX server:
>
> grep "to=<destination e-mail>" /var/log/maillog | grep ctladdr
>
> Replace the "destination e-mail" with the e-mail address of your 
> receiver.  This will provide a list of e-mails to that individual's 
> address, the sender's address (ctladdr), and date time.  It won't be 
> in any pretty format - but all the data will be there.
>
> But depending on how long this was going on, you may have to do it to 
> /var/log/maillog.1 and /var/log/maillog.2 too.
>
>
>
> Chuck
>
>
Hy Chuck!

Thanks for that info.
Is much simpler than the solution I have found with google.
I used the Script
maillog2commonlog.pl newsmail < maillog > log.txt
Then I get also a not so pretty formated list, but it worked for the 
customer and it was happy.
This is the most important.
Thanks
Joachim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20100818/8e86dd3b/attachment.html>


More information about the Blueonyx mailing list