>>>>> "Mithun" == Mithun Bhattacharya <[EMAIL PROTECTED]> writes:

    Mithun> Raju Mathur wrote:
    >> Extremely bad form, following up to one's own post, but I found
    >> the solution: man qmail-command
    Raju> program lines in .qmail files?  E.g. if I wish to use
    Raju> procmail as a delivery mechanism, can I do the equivalent of
    Raju> "|/usr/bin/procmail $RECEIPT" to get the target e-mail
    Raju> address into the procmail command line?


    Mithun> Heh even before qmail-command you should have done 'man
    Mithun> dot-qmail'

    Mithun> <quote> (2) A program line begins with a vertical bar:

    Mithun>                   |preline /usr/ucb/vacation djb

    Mithun>              qmail-local takes the rest of the line as a
    Mithun> command to supply to sh.  See qmail-command(8) for further
    Mithun> information.  </quote>

Did that, wanted to know how to pass /variable/ arguments to the
command.  Fixed arguments are not a problem.

Anyway, qmail-command has a list of all the environment variables
which are set.  Now just need to check whether they can be sent on the
command-line or whether the called program needs to access them from
the environment.  I'd think command-line would work since qmail-local
calls the shell to execute the command.

Regards,

-- Raju
-- 
Raju Mathur          [EMAIL PROTECTED]           http://kandalaya.org/
                     It is the mind that moves

          ================================================
To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header
Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
          =================================================

Reply via email to