LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 10-27-2011, 05:17 AM   #1
soslinux
LQ Newbie
 
Registered: Oct 2008
Posts: 18

Rep: Reputation: 0
Reporting on a single user in maillog


Hi all, I am trying to produce a usage report for a single email address on a CentOS server running sendmail. The servers with Exim are easy as the exim mainlog records each mail with the address from, to and completed. Sendmail is a mess compared to this. I need to show who a certain email address sent mail to and who that same address received mail from. Any ideas on the easiest way to do this? Thanks.
 
Old 10-27-2011, 07:22 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,765
Blog Entries: 54

Rep: Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976Reputation: 2976
Sendmail logs each mail too grouped by message ID. Just awk or grep for the requested from= or to= addresses. Can't see why that should be hard to do or be called a mess.
 
  


Reply

Tags
analysis, maillog, reporting


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Linux user reporting in ddkat LinuxQuestions.org Member Intro 3 08-03-2008 06:34 PM
Losing network connectivity between single user and multi user modes n3now Linux - Hardware 14 04-13-2008 02:13 PM
[bash] get user unknown ip from maillog kriezo Programming 2 02-19-2008 05:48 AM
why is maillog on my server getting created in /var/log/maillog.3 ? weblink_dipti Linux - Software 2 06-16-2007 05:47 AM
Samba Reporting Wrong User xenic501 Linux - Networking 0 07-21-2004 12:35 PM


All times are GMT -5. The time now is 05:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration