LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Closed Thread
  Search this Thread
Old 07-27-2012, 04:28 AM   #1
jamil.isayyed
LQ Newbie
 
Registered: Jul 2012
Location: Palestine
Posts: 27

Rep: Reputation: Disabled
Mail Server Using Postfix, Roundcube, Vimbadmin, and MySQL, reporting scripts


Hello,

i have Mail server (debian) using Postfix, roundcube, vimbadmin and MySQL. what i want to do is to create a script report that gives:

1- the Mailbox Size, which i think i will use du -sh to find the size but also i want the qouta for each user and what is the space the the user still have.
2- the Amount of unread/read emails for each user. which i do not have any idea about how i can do it.
3- Last logon/access (if possible also by protocol POP3 or HTTP)


So any Help
 
Old 07-27-2012, 05:26 AM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
http://www.google.com and do your homework
 
Old 07-27-2012, 05:37 AM   #3
jamil.isayyed
LQ Newbie
 
Registered: Jul 2012
Location: Palestine
Posts: 27

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Dutch Master View Post
http://www.google.com and do your homework
hahaha actually i am doing it, butt all what i want is little help
which how i can find the number of unread messages, or last time access... etc

by the way don't worry if you don't know how to do it i will keep this thread updated
 
Old 07-27-2012, 07:20 AM   #4
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
You won't know the number of unread messages unless you open the user's mailbox. But that's a breach of confidentiality, you're actually reading some other peoples email! Unless you're prepared to do battle with your users, including those who are in charge of your pay-check, don't go there... As for access times, look in /var/log. Again, you are on the cutting edge of legality here, and probably on the wrong side of it...
 
Old 07-27-2012, 07:27 AM   #5
jamil.isayyed
LQ Newbie
 
Registered: Jul 2012
Location: Palestine
Posts: 27

Original Poster
Rep: Reputation: Disabled
aha what i am searching for if there is a flag for example in the database or any where else that i can use it to know if the message is read or not, without even knowing the content of the message, from where,..etc. i do not want to get in privacy and confidentiality problems.

what i am thinking about access time is to build a script that monitor the users access when they access there email for example i will write in other file the time and if possible to get what protocol.
 
Old 07-30-2012, 04:16 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate of http://www.linuxquestions.org/questi...ts-4175418910/
 
  


Closed Thread



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
Mail Server Using Postfix, Roundcube, Vimbadmin, and MySQL, reporting scripts jamil.isayyed Linux - Server 7 07-29-2012 07:22 PM
LXer: iRedMail:Full-Featured Mail Server With LDAP, Postfix, RoundCube/SquirrelMail O LXer Syndicated Linux News 0 10-09-2009 05:00 PM
Mail server issues (Postfix, MySQL, Dovecot) manijeee Linux - Server 0 08-03-2009 02:38 AM
LXer: iRedMail: Mail Server With LDAP, Postfix, RoundCube/SquirrelMail, Dovecot On De LXer Syndicated Linux News 0 06-05-2009 12:30 PM
mail server postfix with mysql at rhel5 rajinfokiit Linux - Newbie 2 09-09-2008 04:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:49 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
Open Source Consulting | Domain Registration