I know that the thread is old and the author has already solved own problem,...
but I would like to mention an application that implements an auto-reply functionality. Maybe someone in the future may help. The application works as the Postfix and Sendmail plugin that allows to create auto responses on the basis of defined criteria.
Program website:
http://www.mshsoftware.com?p=msh-free-autoresponder