Great Circle Associates Majordomo-Users
(October 1994)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: HELP PLEASE! "Info" alias autoresponder problems (2nd tr
From: Dougal Campbell <dougal @ magellan . iquest . com>
Date: Wed, 26 Oct 1994 19:01:50 +0100
To: majordomo-users @ greatcircle . com
In-reply-to: <9409267832.AA783215014@multi.iquest.com>

Just an aside about the $SENDER stuff.  We use this method, and it works 
fine.  Things to keep in mind:  1) We have it in a .forward file  2) we 
use smail instead of sendmail.

Here's an exerpt from the smail(5) man page about its "Sendmail-compatible 
forward files":

-----------------------------------------------------------------------
       A useful forward file is:

            # I am on vacation, save away my mail, but tell people
            # I won't be back for a while
            hustead,
            "|mailx -s 'Yep, gone fishing!' \"$SENDER\" < $HOME/.fish"

       Which will save to Ted Hustead's  mailbox  file  and  will
       also execute the following shell command:

            mailx -s 'Yep, gone fishing!' "$SENDER" < $HOME/.fish

       where  the shell variables $HOME and $SENDER are available
       from the environment as the user's home directory and  the
       sender   address,   respectively.  
---------------------------------------------------------------------- 
It also mentions that several environment variables (including SENDER) 
are available when using the pipe driver.

Dougal Campbell	         | Check out the interQuest home page:
System Administrator     | http://www.iquest.com/
dougal@iquest.com        | interQuest:  We can hook you up!


Indexed By Date Previous: Re: Configuring Reply_To with Majordomo
From: David Barr <barr@pop.psu.edu>
Next: Re: HELP PLEASE! "Info" alias autoresponder problems (2nd try)
From: pzee@express.com (Philip Zee)
Indexed By Thread Previous: Re: Configuring Reply_To with Majordomo
From: David Barr <barr@pop.psu.edu>
Next: bug?
From: Colin Allen <callen@spot.Colorado.EDU>

Google
 
Search Internet Search www.greatcircle.com