LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

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

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


Hi,
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, 07:48 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,107

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
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, 01:18 AM   #3
soararing
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?
 
  


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


All times are GMT -5. The time now is 02:26 PM.

Main Menu
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