Link to home
Start Free TrialLog in
Avatar of fgarufijr
fgarufijrFlag for United States of America

asked on

Run SPAM Reports in E2k7

I need to run some reports detailing the amount of SPAM we are receiving, the portion that is tagged and discarded as SPAM, and those that are SPAM - tagged as such in the subject line - then passed along to our Inboxes.

From some of my reading, it seems possible to do this with MOM 2007 Operations Manager, but I dont have that. It would also seem that this is a product that needs to be purchased. Is there any other way to run the kind of reports I need?
ASKER CERTIFIED SOLUTION
Avatar of BiPod
BiPod
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
that should read:

"If you CAN'T afford SCOM one thing you could try would be outputting some of these scripts to a .csv then importing into Excel and generating a lovely excel graph of the relevant info (i did this before the days of SCOM 2007)."
Avatar of fgarufijr

ASKER

Ok... I went to run the command through Exchange Management Shell and get the following error when running this command:

 Get-AgentLog -StartDate "7/11/2008" | out-file c:\spam-report.txt

Error Message:

Get-AgentLog : The location "c:\program files\Microsoft\Exchange Server\TransportRoles\Logs\AgentLog\" does not exist. Please specify a valid file or directory to look for agent logs using the -Location parameter

Is it possible that I need to turn a service on in order for it to record the AgentLogs? I drilled down the path that it was giving and its correct, there is no AgentLog under \logs
sorry - do you have edge transport server running?  Run this command on your transport server (Edge if you have it or Hub if you dont and are running Exchange 2007 Anti-Spam filters).

Also you can check to see if the agent logs are being populated by navigating here in windows explorer: c:\program files\Microsoft\Exchange Server\TransportRoles\Logs\AgentLog\  you should see a collection of log files.
The agent log basically shows u all the e-mails sent/recieved between the dates you specify and what filtering was applied to them etc.
Ok... I'm not running an Edge Transport... Just a HUB Transport... I ran the command above on the Hub Transport ( my only Exchange Server ) and recieved that error. What am I doing wrong?
do you have the antispam agents enabled?