Here is a quick PHP script to send autoreplies to emails based on filters.
This was created because the gmail autoreplies go to the “return-path” which in our situation is a mandrill “bounce” address. In our situation the gmail autoreplies were just going to the mandrill bounce address so we had to use this script.