Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-14-2005, 07:55 AM   #1
LQ Newbie
Registered: Jul 2005
Posts: 13

Rep: Reputation: 0
c programming: monitoring user's mail system

When users send mails, The system should have to get some information including sender's mail address, receiver's mail address, mail title and attachment files' name if exists, How to implement this?
Thank a lot!
Old 07-15-2005, 08:48 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Your question is very vague. If you're wondering how an e-mail server does this, read up on the SMTP protocol. Otherwise please give a little more detail about what exactly you want to do.
Old 07-18-2005, 02:18 AM   #3
LQ Newbie
Registered: Jul 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Sorry, let me express it more clearly. The problem has nothing to do with e-mail server, I think. what I want to do is to get the mail information when the users send their mails on this compute.
when a user is sending a mail, then there should be a TCP connection to the e-mail server, maybe we should get these TCP packets through the connection by using libpcap , then parse the packets, we can get what I want.
But this method is a little fussy, so do you have better solution?


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
restrict a user's access to mail reading only? ksgill Linux - Newbie 2 11-22-2005 02:54 PM
Individual user's mail file in /var/spool/mail Swakoo Linux - General 1 09-07-2005 07:33 AM
System Monitoring makko Debian 1 06-27-2005 08:35 AM
System Monitoring FrostBot Linux - Software 2 08-22-2004 12:00 AM
Hotmail user's: M$ are giving out your e-mail address amp2000 General 14 06-07-2002 12:07 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:17 PM.

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