Solved

Automatic e-mail reply

Posted on 1997-05-29
1
240 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
1 Comment
 
LVL 1

Accepted Solution

by:
josv earned 100 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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

808 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