Solved

SendMail configuration question

Posted on 1998-04-20
6
222 Views
Last Modified: 2013-12-23
Greetings:

I'm running HP-UX 10.20 using Sendmail v. 8  I have the following mailboxes on my system:

sales@my_domain.com
order@my_domain.com

I've set up some mail aliases to invoke a shell script when mail arrives at any of the above maiboxes.

Is there a Sendmail configuration file that I can  modify to allow a specific autoresponse message to be sent
out to a customer depending on which mailbox they sent mail to?

i.e.  If Mary sends mail to sales@my_domain.com, an autoreply message with her original message attatched
might begin with "Thanks for sending email to our sales team.  One of our agents will get back with you shortly....
<etc. etc.>

or

If John sends mail to order@my_domain.com, an autoreply message with his original message attached
might begin with "Your order was received... <etc. etc...>"

Thanks for the help.
0
Comment
Question by:xtian120897
6 Comments
 
LVL 1

Expert Comment

by:OM
ID: 1582083
There is no way in sendmail to do that. The
correct way is to do this with script, like you mentioned.
Why don't you want another solution ?
0
 

Author Comment

by:xtian120897
ID: 1582084
Adjusted points to 100
0
 
LVL 1

Expert Comment

by:OM
ID: 1582085
I still so not understand what you need. Can you clarify your request please ?

0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
LVL 84

Expert Comment

by:ozo
ID: 1582086
A configuration file you can modify to allow the invokation those shell scripts would be
/usr/lib/aliases

Is that what you're asking?
0
 
LVL 84

Expert Comment

by:ozo
ID: 1582087
Maybe the increase of points to 100 was meant to be awarded to OM's Comment?
If so, you should ask OM to submit it as an Answer so you can give it a grade to award the points.


(Or you could be asking about modifying sendmail.cf to use different delivery agents for certain recipients...
But I'm sure you _don't_ want to do that, so OM's advice really would be a better answer)
0
 
LVL 3

Accepted Solution

by:
mhomann earned 100 total points
ID: 1582088
you could use procmail for such things...

0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
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…
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.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

749 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