Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

catch all email address to mysql

Status
Not open for further replies.

snowboardr

Programmer
Feb 22, 2002
1,401
PH
I was wondering if anyone knew of a solution to catch any email that comes to a certain @domain.com and dump the email text into mysql?

thanks

Site San Diego www.sitesd.com

 
If it's sendmail, have a look at /etc/aliases. In there you can define an email address for which all emails will be redirected to a script. Then write such a script which will read standard input and dump it into your database.

Annihilannic.
 
Annihilannic,

please could you send some more information about that?

is there literature we can read? I am also interested in speeding up sendmail management.


Thanks

QatQat

Life is what happens when you are making other plans.
 
man aliases should tell you everything you need to know. If you want to get to know sendmail intimately there's a good O'Reilly book I believe, and also a sendmail forum on this web site.

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top