Vacation (auto-reply) with procmail

I am using a script for while to set auto-reply/vacation/out-of-office throught procmail.
it's very convenient and easy for the users as they just need to send an email to themselves...
it's working "fine" with one problem. if the user send the email to other people it will setup the vacation/auto-reply to them as well.
example: Send the email TO: himself and TO:myself - it will setup the auto-reply for both of us.
the script is the same as in the link.
does anyone knows how to avoid it?
Who is Participating?
jackdaniel_chinaConnect With a Mentor Author Commented:
I kind of fix it adding below line to script
# Add/remove vacation message

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.