From owner-freebsd-questions Sun Jul 25 10:11:29 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns.clientlogic.com (ns.clientlogic.com [207.51.66.75]) by hub.freebsd.org (Postfix) with ESMTP id C7CB214F73 for ; Sun, 25 Jul 1999 10:11:27 -0700 (PDT) (envelope-from ChrisMic@clientlogic.com) Received: by site0s1 with Internet Mail Service (5.5.2448.0) id ; Sun, 25 Jul 1999 13:10:21 -0400 Message-ID: <6C37EE640B78D2118D2F00A0C90FCB4401105AE9@site2s1> From: Christopher Michaels To: 'Mark Thomas' Cc: "FreeBSD Questions (E-mail)" Subject: RE: procmail or .forward for "vacation" program. Date: Sun, 25 Jul 1999 13:12:35 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG See below. > -----Original Message----- > From: Mark Thomas [SMTP:thomas@clark.net] > Sent: Sunday, July 25, 1999 1:11 PM > To: Christopher Michaels > Subject: RE: procmail or .forward for "vacation" program. > > At 12:37 PM 7/25/99 -0400, you wrote: > >Ok, I should just stop sending e-mail today. I think I'm getting antsy > >since I'm one day away from vacation. I did a bit more reading of man > >pages, and hopefully someone can tell me if I'm on the right track. > > > >I have several rules that filter out the FreeBSD mailing list and some > other > >things by (if memory serves I'm not at home) the sender line in the > header. > >It then (of course) delivers it to a file in my ~/mail/ dir. > > > >Now, according to "man procmailrc" when a delivering rule is processed, > >subsequent rules are not processed. Given than, is it safe to put the > >following at the end of my .procmailrc? > > > >--------------------------------------------- > >:0 c: > >| "/usr/bin/vacation -a cjm2" > >--------------------------------------------- > > > > This should work. You probably want to short circuit any mailer messages > by > putting a rule near the top of your .procmailrc like this: > > :0: > * ^FROM_DAEMON > $ORIGMAIL > Thanks, I didn't think of that! Ok, given this, should I maybe make my rule instead say the following, or does it not matter since it's the last rule in the file? --------------------------------------------- :0: | "/usr/bin/vacation -a cjm2" $ORGMAIL --------------------------------------------- > Which delivers daemon generated mail to your normal mailbox. > > If you do a lot of procmail stuff, using X-Loop headers to short circuit > mail loops is a good thing too. > I really just use it to dump my mailing lists, and cron output, etc.. into different folders, but that's definitely a good idea. If I read properly, vacation is smart enough not to get into any loops, isn't it? Again thanks! > Mark > --- > thomas@clark.net ---> http://www.clark.net/pub/thomas > PBEM Eldritch --------> http://www.pmpro.com/eldritch > [TM4463-ORG] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message