Solved

Auto Responder for email

Posted on 1998-12-16
6
336 Views
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?
0
Comment
Question by:ianfoster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 3

Expert Comment

by:elfie
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)
0
 

Author Comment

by:ianfoster
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"
0
 
LVL 84

Expert Comment

by:ozo
ID: 2008438
You should be able to set an /etc/aliases entry so you don't have to keep the home directory
0
The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

 

Author Comment

by:ianfoster
ID: 2008439
so is vacation + an entry in the aliases file the only option?
0
 
LVL 3

Expert Comment

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

Accepted Solution

by:
arthurd earned 50 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


0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

705 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