LinuxQuestions.org
Visit Jeremy's Blog.
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 02-24-2011, 02:35 AM   #1
aliabbass
Member
 
Registered: Jun 2008
Posts: 57

Rep: Reputation: 0
Question qmail log related issue


hi. i am using qmail server. There is always some demands from the higher authorities to give them the logs of the particular person on a particular date. now all the maillogs are there in a specific folder. Now i want to know how to change the time up to which our server keeps the mail records, i mean if it is keeping the record of last 6 months, can we change to 1 year or 3 months or according to our own choice. Secondly how to extract human readable information from those logs.
 
Old 02-24-2011, 11:51 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603Reputation: 3603
Quote:
Originally Posted by aliabbass View Post
i want to know how to change the time up to which our server keeps the mail records, i mean if it is keeping the record of last 6 months, can we change to 1 year or 3 months or according to our own choice.
You need to find out if multilog (daemontools) or logrotate is used for rotating logs: multilog responds to ALRM sig to rotate logs on demand (say a cronjob at 00:00:00) and for logrotate configuration see /etc/logrotate.d/[servicename].


Quote:
Originally Posted by aliabbass View Post
Secondly how to extract human readable information from those logs.
That totally depends. If for instance syslog is used then it should be human readable already. If multilog is used then only time stamps are in TAI64N format on which you can run 'tai64nlocal'. It would be a different case if "higher authorities" means records are going to be subpoenaed but we're not talking about that here, right?
 
  


Reply


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
qmail related issue aliabbass Linux - Server 2 02-22-2011 12:52 AM
Issue with vqadmin and qmail (Perl/apache related) jon_k Debian 3 02-22-2007 11:32 PM
Issue with vqadmin and qmail (Perl/apache related) jon_k Debian 2 02-22-2007 08:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:30 AM.

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
Open Source Consulting | Domain Registration