?
Solved

Automatic e-mail reply

Posted on 1997-05-29
1
Medium Priority
?
259 Views
Last Modified: 2013-12-23
I am setting up an automated-reply system for an e-mail helpdesk. How can I have the computer run a program whenever new e-mail is received in a certain accout?
I am using Digital Unix running on an Alpha.
0
Comment
Question by:Slarti
[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
1 Comment
 
LVL 1

Accepted Solution

by:
josv earned 300 total points
ID: 1582110
Yes you can!

Assuming that sendmail is doing the mail delivery, you can set up an email alias that will feed your email through a program. Sendmail maintains an alias file (usually /etc/aliases) that can be used to create email aliases for users, or groups of users. The usual syntax is:

admin: josv, frans, erik

to denote that all mail sent to admin@somehwere should be sent to all three users (josv, erik, frans). However, sendmail also allows the following syntax:

helpdesk: "| myprog"

This means that whenever sendmail detects mail for helpdesk@somewhere, it starts the program myprog and feeds the email message as stdin.

++Jos
0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Suggested Courses

801 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