We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

using postfix, store body message in email to db

COwebmaster
COwebmaster asked
on
Medium Priority
516 Views
Last Modified: 2012-05-11
I'm using postfix on my linux server and running php and mysql.  When an email comes through to email@domain.com, is it possible store the message in the body of the email into a mysql db table automatically?
Comment
Watch Question

Most Valuable Expert 2011
Author of the Year 2014
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
COwebmasterWeb Manager

Author

Commented:
so what I'm trying to do is extract the message from the body and store in a mysql db table
COwebmasterWeb Manager

Author

Commented:
I'm using virtualmin and there is a "feed to program" feature under mail aliases.  are you familiar with that?
Most Valuable Expert 2011
Author of the Year 2014

Commented:
I am not familiar with "feed to program" but it sounds like it might be useful for a Pipe Script.  Have you looked this up on Google?
COwebmasterWeb Manager

Author

Commented:
yes, running into some errors though.
COwebmasterWeb Manager

Author

Commented:
Thanks!
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.