Dallman Ross | 1 May 2003 01:35

RE: Regexp fails in scoring recipe

Kevin Wu [mailto:tessar <at> bigfoot.com] wrote:
> 
> Dallman Ross wrote:
> 
> >On Tue, Apr 29, 2003 at 04:45:01PM -0700, Kevin Wu wrote:
> >
> >>Does anyone know why procmail behaves inconsistently between
> >>production mode and test mode (see the diagnostic output below)? 
> >>
> Uh, it's not that I don't appreciate your detailed analysis, but it 
> doesn't answer my question so perhaps I need to restate it. 

Heh.  Sometimes the best answers are to unasked questions.  :)

> Why does my recipe as posted fail on the sample traffic report as 
> posted when the message is delivered in production mode? 

I confess that I didn't look that hard at your log output; but
I did skim it briefly, and I didn't see why.  However, if your
mail is arriving on a separate server to that under which your shell
account is running, that could be one explanation.  That is how
things operate at the shell provider I use as my main account
and under which I run procmail.  Can you rule that out categorically
as a possibility?  Try putting this near the top of the .procmailrc,
from the recipe through the close-quote below the log entry:

:0 hi  # this is an assignment recipe, not a delivering one
PROCV_OUT=| procmail -v 2>&1 | sed '2,10d; s/^/       /'

LOG = "
(Continue reading)

Kevin Wu | 1 May 2003 04:34
Picon

Re: Regexp fails in scoring recipe

Dallman Ross wrote:

>Kevin Wu [mailto:tessar <at> bigfoot.com] wrote:
>  
>
>>Dallman Ross wrote:
>>
>>    
>>
>>>On Tue, Apr 29, 2003 at 04:45:01PM -0700, Kevin Wu wrote:
>>>
>>>      
>>>
>I confess that I didn't look that hard at your log output; but
>I did skim it briefly, and I didn't see why.  However, if your
>mail is arriving on a separate server to that under which your shell
>account is running, that could be one explanation.  That is how
>things operate at the shell provider I use as my main account
>and under which I run procmail.  Can you rule that out categorically
>as a possibility?  
>
Yes. I use a server behind my company's firewall as both my IMAP server 
and NFS file server. My home directory is on a local disk of this 
server. My mail is delivered to this server. My workstation uses NFS to 
mount my home directory from that server. My mail client accesses my 
mail drop via IMAP, and the mail folders are in my home directory. I can 
log into the server since my network password is the same on all the 
machines here thanks to NIS. I did this to test the message in a test 
directory. The platform should be the same for production mode and 
subsequent testing when I log onto the server.
(Continue reading)

Tony L. Svanstrom | 1 May 2003 12:06

Re: Regexp fails in scoring recipe


 Kevin, this might be a stupid question, but since you said that it used to
work and then stopped... Have you checked if the e-mails are encoded?

 If they nowadays are encoded your tests would/could fail, but since the e-mail
client decodes it you might not have noticed (and your saved testmessages would
look just as before).

--

-- 
      /\___/\                                              /\___/\
      \_ <at>   <at> _/                                              \_ <at>   <at> _/
 +--oOO-(_)-OOo------------------------------------------oOO-(_)-OOo--+
 | Per scientiam ad libertatem! // Through knowledge towards freedom! |
 +---ôôô---ôôô--------------------------------------------ôôô---ôôô---+
     \O/   \O/      (c)1998-2003  tony <at> svanstrom.com      \O/   \O/

_______________________________________________
procmail mailing list
procmail <at> lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

Jerry Shenk | 1 May 2003 12:43

Best spam scoring system for domain's mail

What's the best scoring system for inbound mail to the domain (ie. not a
specific procmail setup for each user).  The goal is to curtail the worst of
the spam.  You all know what I mean....the stuff that could end up causing a
sexual harassment lawsuit for not providing a 'harassment free' work area.

I'm familiar with procmail and have created a couple rules on my own but if
possible, it would be nice if this could be something that an administrator
could be set up to maintain.  If the scoring information could be in a flat
text file to simple editing with vi or pico, that would be a plus.  If
everything is in the form of procmail-syntax rules, that's OK too.  While
I'm on a wish-list, I'd like to be able to strip certain attachments (.exe,
.js, .vbs to name a few) and replace them with a note stating what was
stripped off.

_______________________________________________
procmail mailing list
procmail <at> lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

Tony L. Svanstrom | 1 May 2003 13:36

Re: Best spam scoring system for domain's mail

On Thu, 1 May 2003 the voices made Jerry Shenk write:

JS> What's the best scoring system for inbound mail to the domain (ie. not a
JS> specific procmail setup for each user).  The goal is to curtail the worst of
JS> the spam.

 Although possible to do with procmail I think you'd prefer to use SpamAssassin
for this:
 <URL http://www.spamassassin.org/ >

 SpamAssassin is basically just a very advanced scoring-system written in perl.

--

-- 
      /\___/\                                              /\___/\
      \_ <at>   <at> _/                                              \_ <at>   <at> _/
 +--oOO-(_)-OOo------------------------------------------oOO-(_)-OOo--+
 | Per scientiam ad libertatem! // Through knowledge towards freedom! |
 +---ôôô---ôôô--------------------------------------------ôôô---ôôô---+
     \O/   \O/      (c)1998-2003  tony <at> svanstrom.com      \O/   \O/

_______________________________________________
procmail mailing list
procmail <at> lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

Jerry Shenk | 1 May 2003 14:02

RE: Best spam scoring system for domain's mail

How about mailscanner (www.mailscanner.info)?  Another guy at the office
just mentioned that one to me this AM.  He has installed that one in the
past.

-----Original Message-----
From: Tony L. Svanstrom [mailto:tony <at> svanstrom.com]
Sent: Thursday, May 01, 2003 7:37 AM
To: Jerry Shenk
Cc: procmail <at> lists.RWTH-Aachen.DE
Subject: Re: Best spam scoring system for domain's mail

On Thu, 1 May 2003 the voices made Jerry Shenk write:

JS> What's the best scoring system for inbound mail to the domain (ie. not a
JS> specific procmail setup for each user).  The goal is to curtail the
worst of
JS> the spam.

 Although possible to do with procmail I think you'd prefer to use
SpamAssassin
for this:
 <URL http://www.spamassassin.org/ >

 SpamAssassin is basically just a very advanced scoring-system written in
perl.

--
      /\___/\                                              /\___/\
      \_ <at>   <at> _/                                              \_ <at>   <at> _/
 +--oOO-(_)-OOo------------------------------------------oOO-(_)-OOo--+
(Continue reading)

Richard Ibbotson | 1 May 2003 14:37
Picon

Re: Best spam scoring system for domain's mail

Hi

> How about mailscanner (www.mailscanner.info)?  Another guy at the
> office just mentioned that one to me this AM.  He has installed
> that one in the past.

I was going to mention this but didn't.  Seems that the above with 
Spam Assassin is good but so far I haven't been able to get it to 
work :)

I think in my own case it a combination of the wrong distribution and 
some other factors - such as - I haven't configured it before.

--

-- 
Richard
www.sheflug.co.uk

_______________________________________________
procmail mailing list
procmail <at> lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

Tony L. Svanstrom | 1 May 2003 14:46

Re: Best spam scoring system for domain's mail

On Thu, 1 May 2003 the voices made Jerry Shenk write:

JS> How about mailscanner (www.mailscanner.info)?  Another guy at the office
JS> just mentioned that one to me this AM.  He has installed that one in the
JS> past.

 Sure, but spend a cpl of minutes at their website and you'll find that you'll
end up using SpamAssassin as part of it anyways... =)

--

-- 
      /\___/\                                              /\___/\
      \_ <at>   <at> _/                                              \_ <at>   <at> _/
 +--oOO-(_)-OOo------------------------------------------oOO-(_)-OOo--+
 | Per scientiam ad libertatem! // Through knowledge towards freedom! |
 +---ôôô---ôôô--------------------------------------------ôôô---ôôô---+
     \O/   \O/      (c)1998-2003  tony <at> svanstrom.com      \O/   \O/

_______________________________________________
procmail mailing list
procmail <at> lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

Re: Best spam scoring system for domain's mail

At 06:43 2003-05-01 -0400, Jerry Shenk did say:
>What's the best scoring system for inbound mail to the domain (ie. not a
>specific procmail setup for each user).  The goal is to curtail the worst of
>the spam.  You all know what I mean....the stuff that could end up causing a
>sexual harassment lawsuit for not providing a 'harassment free' work area.

Everybody's idea of "the best" is different.

Unless you want to be maintaining the invividual rules, you should probably 
just go with a canned system such as SpamAssassin, which you can invoke 
from within /etc/procmailrc.  See the SpamAssassin webpage for info.

>I'm familiar with procmail and have created a couple rules on my own but if
>possible, it would be nice if this could be something that an administrator
>could be set up to maintain.
[snip]

Much of what you're asking for can be found if you check the list 
archives.  I know the attachment stuff has been posted numerous times, and 
I've posted a several different ways to allow for per-user configuration of 
options for scripts running from /etc/procmailrc.

---
  Sean B. Straw / Professional Software Engineering

  Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
  Please DO NOT carbon me on list replies.  I'll get my copy from the list.

_______________________________________________
procmail mailing list
(Continue reading)

fleet | 1 May 2003 18:25

SEPTIC stats updated

The SEPTIC statistics for April have been posted at
http://www.teachout.org/septic/

				- fleet -

_______________________________________________
procmail mailing list
procmail <at> lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


Gmane