0

(This is a newbie question, requesting answers that will point me in the right general direction).

What would be the best way to receive emails, parse their content and send different email replies based upon certain words appearing in the content?

I have a server running CentOS Linux and WHM/CPanel.

4
  • possible duplicate of What do I need to parse incoming emails? Jun 20, 2011 at 16:33
  • Thank you, Ignacio, for drawing my attention to that question, which is somewhat related, but only covers the receiving and parsing aspects. I am asking if there might be some sort of solution or existing product that enables the entire sequence, possibly already part of WHM/CPanel or easily integrated. I have amended my questions tags to more clearly specify WHM and CPanel.
    – Donnacha
    Jun 20, 2011 at 16:52
  • Perhaps you want an "autoresponder" then. Jun 20, 2011 at 16:53
  • Well, an autoresponder might be the correct solution if one exists that is sophisticated enough to send different replies depending on certain words appearing in the received content. I am pretty sure that such software must exist but, at the moment, I don't know how to find it, hence my question.
    – Donnacha
    Jun 20, 2011 at 17:04

1 Answer 1

2

procmail

This is exactly what procmail is designed to do.

procmail Homepage

You still need to write procmail recipes to act on the e-mail, but it's powerful and flexible.

1
  • Thanks EightBitTony, I will start researching procmail. According to Wikipedia, the project is no longer maintained, so I am still interested in hearing about any other possible approaches, but very grateful for this first pointer.
    – Donnacha
    Jun 20, 2011 at 17:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .