Auto Responder for email

I need to setup an auto responder for an email addresses to say that the person has left the company, we are running solaris 2.5.1 with sendmail 8.8.7.  I think I can use the vacation program to do the trick but that requires me to keep the users home directory and passwd file entry.

Does anyone know of any freeware software or standard software that I could use?
ianfosterAsked:
Who is Participating?
 
arthurdConnect With a Mentor Commented:
Try this:  if you have the "REDIRECT" feature added in your sendmail.cf (I think it comes this way by default).

In /etc/aliases

olduser:  olduser@new.address.com.REDIRECT

Anybody that sends mail to olduser, will get a bounce back telling them that the user is now located at olduser@new.address.com

If you want the olduser to get the email also:

olduser: olduser@new.address.com,olduser@new.address.com.REDIRECT


0
 
elfieCommented:
what about removing the user from the system. The senders will get a message telling that the user was not found on the system (kind a crude way, but then you can remove everything)
0
 
ianfosterAuthor Commented:
sorry, not a option (wish it was!) ideally I would like to be able to respond with a message saying "sorry but xxxx has left the company but you can contact them at the address xxx@xxx.XXX"
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
ozoCommented:
You should be able to set an /etc/aliases entry so you don't have to keep the home directory
0
 
ianfosterAuthor Commented:
so is vacation + an entry in the aliases file the only option?
0
 
elfieCommented:
maybe you can also do somthing with procmail options, but it's about the same as working with the vacation config.
0
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.