[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 233
  • Last Modified:

SendMail configuration question

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
xtian120897
Asked:
xtian120897
1 Solution
 
OMCommented:
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
 
xtian120897Author Commented:
Adjusted points to 100
0
 
OMCommented:
I still so not understand what you need. Can you clarify your request please ?

0
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 
ozoCommented:
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
 
ozoCommented:
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
 
mhomannCommented:
you could use procmail for such things...

0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now