Date: Sun, 25 Jul 1999 13:12:35 -0400 From: Christopher Michaels <ChrisMic@clientlogic.com> To: 'Mark Thomas' <thomas@clark.net> Cc: "FreeBSD Questions (E-mail)" <questions@FreeBSD.org> Subject: RE: procmail or .forward for "vacation" program. Message-ID: <6C37EE640B78D2118D2F00A0C90FCB4401105AE9@site2s1>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C37EE640B78D2118D2F00A0C90FCB4401105AE9>