🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.misc
Article #1156

Re: Problem using procmail

#1156
From: Stephen R. van den Berg
Date: Thu, 20 Aug 1992 14:11
29 lines
1891 bytes
Richard Kooijman writes:
>I have the following problem with procmail. I have defined a set of recipes
>with which I want to save mail for certain lists in certain files and
>place a log message in my system mailbox. All other mail should be
>placed in my system mailbox without generating a log message.

>For example, mail from the SNMP list should be appended to a file
>called ~/mail/SNMP and a log message should be generated in my
>system mailbox /var/spool/mail/richard.

>The log message and the appending works fine, but the message itself is
>also placed in my system mailbox.

>Can somebody tell me what I am doing wrong?

>My .procmailrc is included below.

Your .procmailrc file looks fine.  My guess is that the problem lies in your
.forward file.  Look in the man page for procmail(1) in the NOTES section, and
check to see if you don't have any extraneous entries in your .forward file.

I suspect you looked at the .forward file example in the vacation(1) man page.
Procmail, unlike vacation does not need the \username entry in the .forward
file.
-- 
Sincerely,                                  berg@pool.informatik.rwth-aachen.de
           Stephen R. van den Berg (AKA BuGless).    berg@physik.tu-muenchen.de

"My name is Psmith, the P is not pronounced."
Technical Details
Message-ID: <1992Aug20.141139.727@Urmel.Informatik.RWTH-Aachen.DE>
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!physik.tu-muenchen.de!berg
References: <richard.714210066@dutepp6>

Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!physik.tu-muenchen.de!berg
From: berg@physik.tu-muenchen.de (Stephen R. van den Berg)
Subject: Re: Problem using procmail
Message-ID: <1992Aug20.141139.727@Urmel.Informatik.RWTH-Aachen.DE>
Originator: berg@tabaqui
Sender: news@Urmel.Informatik.RWTH-Aachen.DE (Newsfiles Owner)
Nntp-Posting-Host: tabaqui
Organization: Rechnerbetrieb Informatik  /  RWTH Aachen
References: <richard.714210066@dutepp6>
Date: Thu, 20 Aug 92 14:11:39 GMT
Lines: 29