I'd appreciate help debugging the following procmailrc. I'm using
SpamAssassin 2.54 (1.174.2.17-2003-05-11-exp) on FreeBSD.
==
## BEGIN PROCMAILRC ##
TMPLOGFILE=$LOGFILE
TMPLOGABSTRACT=$LOGABSTRACT
TMPVERBOSE=$VERBOSE
DROPPRIVS=yes
LOGFILE=/dev/null
LOGABSTRACT=yes
VERBOSE=no
:0fw
|/usr/
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Friday 02 January 2004 18:59, Jack Gostl wrote:
> > On Friday 02 January 2004 17:26, Jack Gostl wrote:
> > > This is really more of a procmail question, but its part of the process.
> > >
> > > If I spot a certain string in the subject line, I'd li
> -Original Message-
> From: Jack Gostl
> Sent: Friday, January 02, 2004 7:00 PM
> To: Douglas Kirkland
> Cc: [EMAIL PROTECTED]
> Subject: Re: [SAtalk] procmail
>
>
>
> > On Friday 02 January 2004 17:26, Jack Gostl wrote:
> > > This is really
> On Friday 02 January 2004 17:26, Jack Gostl wrote:
> > This is really more of a procmail question, but its part of the process.
> >
> > If I spot a certain string in the subject line, I'd like to stop the
> > process and let the mail through without invoking spamassassin. Can anyone
> > clue me
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Friday 02 January 2004 17:26, Jack Gostl wrote:
> This is really more of a procmail question, but its part of the process.
>
> If I spot a certain string in the subject line, I'd like to stop the
> process and let the mail through without invoking
This is really more of a procmail question, but its part of the process.
If I spot a certain string in the subject line, I'd like to stop the
process and let the mail through without invoking spamassassin. Can anyone
clue me in as to how to do this?
--
Jack Gostl [EMAIL PROTECTED]
> I want to backup my incoming mail before sending it
> to spamassasin. I have made the following .procmailrc.
>
> :0 c:
> backup
>
> :0fw: spamassassin.lock
> * < 256000
> | spamassassin
>
> Can someone tell if this is fine.
Looks good. See 'man procmailex' for this and other examples.
...g
Hi,
I want to backup my incoming mail before sending it
to spamassasin. I have made the following .procmailrc.
:0 c:
backup
:0fw: spamassassin.lock
* < 256000
| spamassassin
-
Can someone tell if this is fine.
TIA,
Venkat.
_
Does anyone else have trouble with procmail not cleaning up
spamassassin.lock when it's done?
I see a series of these in the procmail log:
procmail: Locking "spamassassin.lock"
procmail: [2425] Mon Nov 17 14:06:56 2003
procmail: Locking "spamassassin.lock"
procmail: [2425] Mon Nov 17 14:07:04 20
Change \[Possible Spam\] to whatever the pattern in your spam mail subject
should be make sure you escape any special characters. To delete a customers
spam automatically create a blank file in the customers home directory. This
could be handled via CGI script if necessary.
Thanks to John Hardin (
Peter Rosa wrote:
Hello list's friends.
I'm sorry for writting same message third time, but please be patient with
me - I have about 200 spam messages a day so I REALLY need to block them.
You'd probably have more luck un a procmail list, since that's where
your problem really lies. That sai
Hello list's friends.
I'm sorry for writting same message third time, but please be patient with
me - I have about 200 spam messages a day so I REALLY need to block them.
I have FreeBSD box with sendmail+spamassassin+procmail. As it comes more and
more spam messages I realize to prepare rules for
orris Jones" <[EMAIL PROTECTED]>
To: "Peter Rosa" <[EMAIL PROTECTED]>
Sent: Wednesday, October 22, 2003 7:52 PM
Subject: Re: [SAtalk] Procmail+Sendmail+SpamAssassin
> There's an example procmailrc in the spamassassin package. Look for
> procmailrc.example.
Hello list's friends.
I have FreeBSD box with sendmail+spamassassin+procmail. As it comes more and
more spam messages I realize to prepare rules for spam deletion. I have done
3 months work on spam mesgs+senders+scores analysis. Now I'm ready to do it,
but I'm not very familiar with procmail. I pr
We call Spam Assassin from procmail (and call procmail from .forward).
Out .procmailrc contains
:0 fw:sa_foo.lock
* < 256000
| /usr/local/bin/spamassassin
We're seeing steadily increasing procmail processes for one user (of several
who use Spam Assassin and procmail)
We're also seeing
Hi Dan,
Is it possible that this file was created on a Windows host and then moved
into the user's home? I have seen this happen if the .procmailrc file is
either corrupt or if it has control characters, like a line return, that was
not produced in a *nix format.
--Larry
> -Original Messag
Hello,
I was wondering if anyone might be able to help me out with my dilemma.
I'm getting an error message in just one of my user's procmail logs. The
error is; 'procmail: Error while writing to "caughtspam"' I've set the
permissions properly, I'm sure of that.
Here is my setup
K6 2 450 MHz
512
Hi I have setup .procmailrc and this part is in concern
[...]
:0fw:spam.lock
| spamassassin
:0e
{
EXITCODE=$?
}
:0:
* ^Subject:.*\*\*\*\*SPAM\*\*\*\*
|/usr/bin/mailx [EMAIL PROTECTED]
[...]
I am seeing this error in the procmail log file
--> pro
I know this is probably more of a procmail issue but I'll ask anyway as
it involves Spamassassin.
This is how I call it from my main server for system wide use
DROPPRIVS=yes
:0
* ! ? test -f $HOME/.sabypass
{
:0fw
* < 256000
| /usr/bin/spamc -f -U /var/spool/spamassassin/spamd.sock
:0:
* ^X-S
On Mon, 2003-08-11 at 20:06, Mike Burger wrote:
> On Mon, 11 Aug 2003, Gary Funck wrote:
>
> > > I have a feeleing that my ~/.procmailrc files are being skipped, it
> > > seems that email being delivered via fetchmail, is not following the
> > > rules in these files. Is there anyway, to force fetc
I have a feeleing that my ~/.procmailrc files are being skipped, it
seems that email being delivered via fetchmail, is not following the
rules in these files. Is there anyway, to force fetchmail to send all
mail it collects to procmail?
I use postfix as my MTA
On Mon, 11 Aug 2003, Gary Funck wrote:
> > I have a feeleing that my ~/.procmailrc files are being skipped, it
> > seems that email being delivered via fetchmail, is not following the
> > rules in these files. Is there anyway, to force fetchmail to send all
> > mail it collects to procmail?
> >
>
On 13 Aug 2003, Angel Gabriel wrote:
> > Something else to check is in his /etc/postfix/main.cf file. He'll have
> > to make sure that postfix is configured to actually use procmail as the
> > lcoal delivery agent by setting:
> >
> > mailbox_command = /usr/bin/procmail
> >
> > Otherwise, post
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Angel
> Gabriel
> Sent: Monday, August 11, 2003 9:39 AM
> To: Spam Assassin
> Subject: [SAtalk] Procmail files being skipped?
>
>
> I have a feeleing that my ~/.procmail
> -Original Message-
> From: Shane Hickey [mailto:[EMAIL PROTECTED]
>
> Howdy all,
Howdy Shane! A good procmail book is "The Procmail Companion" by Martin
McCarthy.
> | spamassassin -e
I could be wrong but I don't think you are limited to this. I'll attempt
this but just looking a
> -Original Message-
> From: Shane Hickey [mailto:[EMAIL PROTECTED]
>
> Howdy all,
Howdy Shane! A good procmail book is "The Procmail Companion" by Martin
McCarthy.
> | spamassassin -e
I could be wrong but I don't think you are limited to this. I'll attempt
this but just looking a
Howdy all,
I am messing around with bogofilter and I want to have spamassassin
train it. There is an example as to how to do this on the bogofilter
FAQ at
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/bogofilter/bogofilter/doc/bogofilter-faq.html#spamassassin
but my problem wit
On Wed, Jul 16, 2003 at 11:43:31AM -0500, Chris Barnes is rumored to have said:
>
> I need a simple procmail script so that any messages marked as spam by
> SA get put into a folder named "Filtered" (I use IMAP, so using the MUA
> is not an option).
>
Here's the procmail stuff I use for SA:
###
I need a simple procmail script so that any messages marked as spam by
SA get put into a folder named "Filtered" (I use IMAP, so using the MUA
is not an option).
My initial thought was to simply look for the **SPAM** that SA adds to
the subject line. Seemed easy enough, right up until I found out
On Wed, Jul 09, 2003 at 02:49:10PM -0700, Patrick Murphy wrote:
> Hi,
>
> I am running Spamasssassin / Spamass-Milter on Solaris 8 with Sendmail
> 8.12.9. I want to be able to have identified spam placed in a per user
> spam file without the spam appearing in the users Inbox.
>
> I understand th
Hi,
I am running Spamasssassin / Spamass-Milter on Solaris 8 with Sendmail
8.12.9. I want to be able to have identified spam placed in a per user
spam file without the spam appearing in the users Inbox.
I understand that Procmail is probably my best option to achieve this,
but I still want to re
Hi,
OS: Redhat Linux 9.0
KERNEL: 2.4.20-smp
MTA:Exim 3.36
SPAM: SpamAssassin 2.55
PROCMAIL: Procmail 3.22
HOW OUR MAIL WORKS
--
USERS: 4000
DOMAINS:160
Each users mail resides in /var/spool/mail/$LOGNAME
I have se
Hi,
OS: Redhat Linux 9.0
KERNEL: 2.4.20-smp
MTA:Exim 3.36
SPAM: SpamAssassin 2.55
PROCMAIL: Procmail 3.22
HOW OUR MAIL WORKS
--
USERS: 4000
DOMAINS:160
Each users mail resides in /var/spool/mail/$LOGNAME
I have se
> -Original Message-
> From: Jose M. Herrera
> Sent: Wednesday, May 28, 2003 12:22 PM
>
> Why is necesary put DROPPRIVS=yes in /etc/procmailrc ???
>
> What is DROPPRIVS for?
From "man procmailrc":
DROPPRIVS If set to `yes' procmail will drop all privileges it
might
>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 28, 2003 2:22 PM
Subject: [SAtalk] Procmail
>
> Why is necesary put DROPPRIVS=yes in /etc/procmailrc ???
>
> What is DROPPRIVS for?
>
> Thanks
---
This SF.net email is sponsore
Why is necesary put DROPPRIVS=yes in /etc/procmailrc ???
What is DROPPRIVS for?
Thanks
--
*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*
Jose Miguel Herrera M. - User #246070 counter.li.org
[EMAIL PROTECTED]
-
Est.Ing.Civil Informatica - UTFSM
Servicios Centrales - Depto.I
Hey, Joe.
I am doing almost the same thing, except I hand off the email to
GroupWise.
Rather than use Sendmail which has just had another major security hole
published, I use postfix. The configuration is much simpler and there
is a great paper on integrating postfix with SA. Now if I could jus
I have spamassassin setup in a sitewide config using RH71, SendMail and
ProcMail, all installed via RPM's.
I configured /etc/procmail as follows:
LOGDATE=`date +\%m\%d\%Y`
LOGFILE=/var/log/procmail/PROCmAIL.LOG.$LOGDATE
:0fw
| /usr/local/bin/spamc
I check the log file and I do see the message
Hi Jim,
I'm new to SA, but I /do/ know a bit about procmail. I think the "c" flag
will help you out here:
:0fw
| spamassassin -P
:0:
* ^X-Spam-Status: Yes
caughtspam
:0 c
!wireless@address
...The c flag copies the message. So the action
line--"!wireless@address"--is enacted on the origin
At 06/23/2002 08:17, Jim Howard wrote:
>What I'd like to do is modify this rule so that it sends good mail to my
>inbox, but also forwards it to another internet address, namely that of my
>wireless device.
Hi Jim,
Add something like this to the end:
:0 c
! [EMAIL PROTECTED]
Beware, how
On Sun, Jun 23, 2002 at 11:17:40AM -0500, Jim Howard wrote:
> What I'd like to do is modify this rule so that it sends good mail to my
> inbox, but also forwards it to another internet address, namely that of my
> wireless device.
At the end of your .procmailrc, add the following:
:0c
[EMAIL PRO
Hi, All:
I realize this is a beginner question, and it's related to my procmail
recipe, but if anyone could help me, I'd appreciate it.
My current procmail recipe is:
:0fw
| spamassassin -P
:0:
* ^X-Spam-Status: Yes
caughtspam
Which works as intended. Good mail ends up in my inbox, bad mail
Well, I finally got Spamassassin running using procmail on a gateway device.
Just in case anyone else wants a link to the config file, here it is:
http://www.impsec.org/email-tools/procmail-on-gateway.txt
(Thank god for google)
Maybe this could find it's way into the SA website?
-Jason
-
Doug --
...and then Doug Dempsey said...
%
% If I am running qmail, do I still need to install procmail to have
% spamassassin work??
Not necessarily :-)
If you want SA to run on all mail, you can tell qmail to run messages
through SA as part of the processing. If you only want it for a user
If I am running qmail, do I still need to install procmail to have
spamassassin work??
Thanks
Doug
___
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/inde
On Wed, May 22, 2002 at 10:16:11AM -0500, Brian wrote:
| Got SA working well, killer app, Thanks!
|
| I'm sending all spam to an account designed just for spam, where mail is
| looked over for any false positives(?).
...
| I'm thinking I don't even need to clutter my "eye-balling" in this mailbo
On Wed, 22 May 2002, Brian wrote:
> I can use some help with a recipe or any suggestion to accomplish (hopr
> you get the idea here)...
> :0
> * ^X-Spam-Status: Yes
> {B
> * ^SPAM: Hit! (3.0 points) Listed in Razor*
> /dev/null
> }
> {B
> * ^SPAM: Hit! (2.0 points) Received via a relay in
Got SA working well, killer app, Thanks!
I'm sending all spam to an account designed just for spam, where mail is
looked over for any false positives(?).
Have the whitelist configured properly, can send what FEW emails marked as
spam back to the user (usually my fault, updating the whitelist fix
>Someone suggested doing an alias in /etc/mail/aliases that looked
>like this:
>
>spam:"|/usr/bin/spamassassin -r"
>
>I keep getting a procmail error that says "unknown user". I am doing
>"newaliases" in between each modification.
before the message is handed to procmail for delivery, it mus
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm trying to set up a local mail account that I can forward messages
to so that they will be reported to the Razor database. All that I
need to do is run the command
"| spamassassin -r"on the messages.
Someone suggested doing an alias in /etc/m
>procmail: Couldn't determine implicit lockfile from "spamc"
What could be causing this?
- Transcript of session follows -
>... while talking to mail-incoming.hostsave.com.:
> >>> DATA
><<< 550 5.7.2 Refused at request of postmaster
>554 5.0.0 Service unavailable
>procmail: Coul
> Thank you, this works beautifully. I had failed to mention that
> I did have
> the seek patch already too. :-)
>
> Now to get the SQL implementation going with my modified spamc
> and a quick CGI
> for the users to turn on/off their filtering. Oh yes, and a cron
> job so that
> we only keep t
> I have been using this for about a week now and it works fine.
Thank you, this works beautifully. I had failed to mention that I did have
the seek patch already too. :-)
Now to get the SQL implementation going with my modified spamc and a quick CGI
for the users to turn on/off their filter
> First make sure you have added the "seek.diff" patch to vpopmail so that
> vdeliver can accept multiple pipes. Next change bottom of procmailrc to:
>
Forgot to mention the link to the vpopmail seek patch:
http://www.thesafebox.com/
Here is the discussion regarding it:
http://bluedot.net/m
> I'm setting up another mail system and I'd like to be able to deliver the
> site-wide spam to a single maildir, while letting everything else get
> delivered by vpopmail.
>
> So far I've been unsuccessful because Procmail seems to want to
> either deliver
> everything or nothing; it doesn't (or
I'm setting up another mail system and I'd like to be able to deliver the
site-wide spam to a single maildir, while letting everything else get
delivered by vpopmail.
So far I've been unsuccessful because Procmail seems to want to either deliver
everything or nothing; it doesn't (or rather I d
56 matches
Mail list logo