have not yet found syntax for pipe in a .forward. Can you help me with that?

When ever I leave the office for a long time, I install a .forward file that both keeps a copy in my mail spool file and also pipes it through an autoreply "I'm not here" process.

To do that, the .forward file looks like this:

\graff, "|/usr/bin/vacation graff"
I'm not sure what will happen if the process crashes. I do know that if the mode on .forward isn't rw-r--r--, my mail server will bounce all mail sent to graff, 'cuz any other mode is either unworkable or a nasty security no-no. I'm not sure, but I might expect it to look up the pipeline process too, to make sure it's not an open door.

(Presumably, if I only want the mail to go to the process, I just leave off the first part of the line.)


In reply to Re: Re: Re: Triggering a script via email...continued by graff
in thread Triggering a script via email...continued by jerrygarciuh

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.