HP3000-L Archives

August 2001, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Bixby <[log in to unmask]>
Reply To:
Mark Bixby <[log in to unmask]>
Date:
Tue, 14 Aug 2001 10:27:57 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (46 lines)
"Simonsen, Larry" wrote:
>
> We send out alerts using send mail to users both internal and external to
> our company.  One of the problems I am having is trapping the delivery
> returns either undeliverable or out of office replies back to the system
> manager mailbox and not back to the e3000.  I have tried altering the sender
> email address to be the system manager address but the replay is coming back
> to the user of the sender in this case it is a user who only runs batch
> jobs.  I would like to have the replies come back to the system manager.
> What configuration in the sendmail.cf file or in the mail header will make
> this work?

You need to use the -f option to change the sender address on the envelope.

Here's how I send out invent3k confirmation notices while I am logged on as
MGR.CSY but have any bounces,etc go back to [log in to unmask]:

  (/bin/cat <<EOF
From: [log in to unmask]
To: $EMAIL
Bcc: [log in to unmask]
Subject: new account $ACCOUNT created on $LOCALHOST

Thank you for registering for access to the CSY public access development
system.  All usage of this system must be in strict accordance with the terms
and conditions of the user agreement listed on the web at
http://jazz.external.hp.com/pads/agreement.html.

...snip...

Thank You!
----------

Thanks again for registering.  Now go forth and invent cool things for the
HP e3000.  :-)

[log in to unmask]
EOF
  ) | /SENDMAIL/PUB/SENDMAIL -t -f [log in to unmask]
--
[log in to unmask]
Remainder of .sig suppressed to conserve scarce California electrons...

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2