07-04-2011 12:54 PM
Hi guys,
i need a help to retrieve mail information, i want search mail_logs from sender <mickey@disney.com> to recipient <wolverine@marvel.com>
and the next step is filtring for subject "travels" for example.
I try to create the regex below:
grep -e "From: <mickey@disney.com> | -e "to: <wolverine@marvel.com>" | -e "Subject 'trav.*'" mail_logs
but is not display.
please, help me to understand the syntax e see the administration guide for GREP COMMAND, but not help me.
07-04-2011 01:12 PM
Hi Patrick,
Please follow the link to our knowledge base article below which provides detailed instructions.
How do I use the command grep? How can I determine the disposition of a message using the mail logs?
Hope this helps!
Regards,
Viquar
Customer Support Engineer
07-04-2011 09:35 PM
hi viahmed,
thanks to help me, but the information not display
i read the document and i type the correct syntax ( i believe)
my Async OS is 7.0
i use the findevent command below
>findevent -i -f "mickey@disney.com | -t wolverine@marvel.com" mail_logs
>findevent -i "-f mickey@disney.com | -t wolverine@marvel.com" mail_logs
>findevent -i -f "mickey@disney.com" | -t "wolverine@marvel.com" mail_logs
>findevent -i -f "(mickey@disney.com | -t wolverine@marvel.com)" mail_logs
and cannot retrieve the mail message...
please, if i type the incorrect command syntax, help me.
Thanks.
07-05-2011 02:00 PM
Patrick
What are you seeing when you run this? an error or no results? If you use findevent to just search for one parameter does it display any results?
find event -i -f "micky@disney.com" mail_logs
Keep in mind that mail_logs does not hold data for an indefinite period of time.
Christopher C Smith
CSE
Cisco IronPort Customer Support
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide