Email Piping (to PHP app)

3 posts / 0 new
Last post
#1 Sun, 03/14/2010 - 17:52
tpnsolutions's picture

Email Piping (to PHP app)


I have a client who is using "Webmin" and "Postfix".

He wants to "pipe" an email to a PHP script.

How does one go about doing this?

  • Peter
Tue, 03/16/2010 - 08:27

Well, in Virtualmin, you'd go into Edit Mail Aliases, choose an alias, click the "Advanced" tab, and choose "Feed to Program" as the alias destination.

As far as doing that in Webmin goes? Honestly, I'm not certain where you'd accomplish that :-) However, the goal would be to add an alias that looks like "|/path/to/script.php".


Thu, 03/18/2010 - 07:40
tpnsolutions's picture


Thanks for your suggestion, I did the next best thing.

I convinced the client to allow me to handle the domain for him on my server which runs Virtualmin, and was able to setup piping with ease via a ".procmail" file in his home directory ;-)


Best Regards,
Peter Knowles | TPN Solutions
Email: | Skype: tpnassist
Topic locked