Oh, and I'm not sure, but I don't expect that qmlog will take 2
different -g options. It might, but don't be surprised if it doesn't.
Sysadmin wrote:
Hi eric,
should that all be on one line? like so:
qmlog smtp -nl -d 0915-0922 -g us...@domain.com \ > -g us...@domain.com
| less
and I assume 0915-0922 is the dates from and to.
Thanks
----- Original Message ----- From: "Eric Shubert" <e...@shubes.net>
To: <qmailtoaster-list@qmailtoaster.com>
Sent: Monday, September 27, 2010 10:47 AM
Subject: [qmailtoaster] Re: Logs
Patrick Ring wrote:
Depending on how far back your smtp logs go, you could possible
catenate the files of the last week and pipe the result to "grep"
with a filter statement of us...@domain.com <mailto:us...@domain.com>.
You could possibly even output that as a text file (>
/root/textfile.txt) then catenate that with a grep of
us...@domain.com <mailto:us...@domain.com>.
I'm sure there are more eloquent ways of doing this, but it might
give you a start.
Patrick M. Ring
P. Ring Technologies
Louisiana Web Host, LLC.
985-868-4200
------------------------------------------------------------------------
*From:* Sysadmin [mailto:sysad...@tricubemedia.com]
*Sent:* Monday, September 27, 2010 10:43 AM
*To:* qmailtoaster-list@qmailtoaster.com
*Subject:* [qmailtoaster] Logs
Hi guys,
had a request from on of my clients:
basically , they want to see if we can tell that , eg:
us...@domain.com <mailto:us...@domain.com>, sent emails to
us...@domain.com <mailto:us...@domain.com>, over the past week.
How do I filter the logs to show what I want.
other than that, I have had no problems for a long time,
qmailtoaster rocks...
Also I will be updating the " VMware image " ( the one with all the
added security ) on my site very shortly.
Thanks
madmac
qmlog can do most of the heavy lifting for you here. Something like
# qmlog smtp -nl -d 0915-0922 -g f...@domain.com \
> | -g t...@domain.com | less
--
-Eric 'shubes'
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and
installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and
packages.
To unsubscribe, e-mail:
qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
--
-Eric 'shubes'
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com