Auto Responder for email

Posted on 1998-12-16
Medium Priority
Last Modified: 2013-12-27
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?
Question by:ianfoster

Expert Comment

ID: 2008436
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)

Author Comment

ID: 2008437
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"
LVL 85

Expert Comment

ID: 2008438
You should be able to set an /etc/aliases entry so you don't have to keep the home directory
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.


Author Comment

ID: 2008439
so is vacation + an entry in the aliases file the only option?

Expert Comment

ID: 2008440
maybe you can also do somthing with procmail options, but it's about the same as working with the vacation config.

Accepted Solution

arthurd earned 100 total points
ID: 2008441
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


Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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.

Join & Write a Comment

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

588 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question