Go Back   Technology Questions > Software Questions > Operating System Questions > Linux

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 02-25-2008, 12:11 PM
Jason Maur
Tablet PC Guest
 
Posts: n/a
Linux, mySQL and e-mail server question

This is a general question, mainly because I
don't know what to search for to do what I want...

I have a dedicated web server running Fedora 5
that has a exim mail server running, as well as
a mysql 4.1.22 database. Basically, I would like
to have a daemon running that logs all incoming
and outgoing e-mail into the database. Well, not
all e-mail, just e-mails from previous or current
clients. The flow of this program would be something
like this:

- Detect that an e-mail has been received.
- Check the database to see if a client exists with
that e-mail, and if there is one, then insert a row
into the database containing the message of the text
and other info.

Any ideas? Ideally, there is some event that I can
catch (i.e., when an e-mail is sent or received through
the mail server) that will let me run an external program
when said event happens. For example:

onReceiveEmail || onSentEmail: php /my/email/handing/script.php

Is this possible? Any information would be useful.
Thanks in advance,

-Jason
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 02-25-2008, 12:11 PM
Xploder HD Movie Player for PS3. Manage, convert and transfer media files between the PC and PS3.
Reply

Bookmarks

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Training Tips - Boot Linux from a Linux Installation CD or a Linux Live CD to Learn Linux knowledgefield@hotmail.com Linux 0 06-17-2007 03:00 AM
Excel E-mail/Mail Merge Question JDenise Microsoft Office 0 03-13-2007 07:46 AM
NoClassDefFoundError: Java Connector/J for MySQL on MAC OS X question remko caprio Apple Macintosh Hardware 0 02-06-2007 03:57 PM
Outlook 2003 fails to send mail through an SSL-equiped mail server - reboot resolves it temporarily AE Microsoft Office 0 01-16-2007 12:15 AM
Linux Server Down LPH Tablet PC Bloggers 0 01-14-2007 02:36 PM


All times are GMT -8. The time now is 11:17 PM.


2003 - 2008 All Rights Reserved. Technology Questions

SEO by vBSEO 3.1.0