Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-17-2010, 09:47 AM
Starter Member
 
Posts: 2
Cool Verbose smtp logging to determine compromised account

We are running Zimbra 6.05 NE and need to turn on verbose SMTP logging to determine a compromised user account that is being used for spamming. Unless, someone has a better method of determining this.

Any help is much appreciated.
Reply With Quote
  #2 (permalink)  
Old 06-18-2010, 02:22 AM
Moderator
 
Posts: 7,928
Default

Welcome to the forums

This code snippet should help to find which user is sending lots of emails
Code:
cat /var/log/zimbra.log | sed -n "s/.*from=<\(.*\)@yourdomain.com>.*/\1/p" | uniq -c
__________________
Reply With Quote
  #3 (permalink)  
Old 06-18-2010, 08:10 AM
Starter Member
 
Posts: 2
Default

Thanks I appreciate it.

In the case of a compromised account the from address can be spoofed once authenticated. Isn't this the case?
Reply With Quote
  #4 (permalink)  
Old 06-18-2010, 08:38 AM
Moderator
 
Posts: 7,928
Default

Depends on whether they are changing the headers or not. Give this a go as it should show better information
Code:
cat /opt/zimbra/log/mailbox.log | sed -n 's/.*SendMsgRequest.*name=\(.*\)@yourdomain.com;mid=.*;ip=\(.*\);ua=.*Adding Message.*/\1,\2/p'
__________________
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.