Solved

SendMail configuration question

Posted on 1998-04-20
6
212 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

Question has a verified solution.

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

Suggested Solutions

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
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…
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

896 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now