Re: [newbie] Testing Procmail Whitelist

2003-12-05 Thread Margot
Todd Slater wrote:
On Thu, Dec 04, 2003 at 08:43:18PM -0500, Charles A Edwards wrote:

On Thu, 4 Dec 2003 20:30:26 -0500
JoeHill [EMAIL PROTECTED] wrote:

Viagra!
Penis


DON'T LOSE ANY MORE MONEY ON YOUR EXISTING HOME LOAN!

Todd

Paris Hilton video - why do people keep offering me a video of a hotel?

Margot


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Testing Procmail Whitelist

2003-12-05 Thread John Richard Smith
Margot wrote:

Todd Slater wrote:

On Thu, Dec 04, 2003 at 08:43:18PM -0500, Charles A Edwards wrote:

On Thu, 4 Dec 2003 20:30:26 -0500
JoeHill [EMAIL PROTECTED] wrote:

Viagra!


Penis


DON'T LOSE ANY MORE MONEY ON YOUR EXISTING HOME LOAN!

Todd

Paris Hilton video - why do people keep offering me a video of a hotel?

Margot 




You too,  

John



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Testing Procmail Whitelist

2003-12-05 Thread JoeHill
On Thu, 04 Dec 2003 21:41:05 -0400
Adolfo Bello [EMAIL PROTECTED] wrote:

 It was filtered, didn't it?
 
 You have to change:
 * [EMAIL PROTECTED]
 
 to
 * [EMAIL PROTECTED]

Actually, the way I did it worked, but yes, yours would be more accurate.

Thanks!
-- 
JoeHill ++ ICQ # 280779813
Registered Linux user #282046
Homepage: www.orderinchaos.org
+++
If those in charge of our society - politicians, corporate executives, and
owners of press and television - can dominate our ideas, they will be secure in
their power. They will not need soldiers patrolling the streets. We will control
ourselves.-- Howard Zinn

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Testing Procmail Whitelist

2003-12-05 Thread JoeHill
On Thu, 4 Dec 2003 21:15:39 -0500
Todd Slater [EMAIL PROTECTED] wrote:

   Viagra!
  
  Penis
 
 DON'T LOSE ANY MORE MONEY ON YOUR EXISTING HOME LOAN!

ROTFLMAO! Thanks guys, really funny stuff. Jeez, what would I do without this
list. The technical help is great, but the humour is still the best part...

-- 
JoeHill ++ ICQ # 280779813
Registered Linux user #282046
Homepage: www.orderinchaos.org
+++
The philosophers have only interpreted the world in various ways. The point,
however, is to change it.-- Karl Marx

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Testing Procmail Whitelist

2003-12-05 Thread JoeHill
On Fri, 05 Dec 2003 11:38:39 +
Margot [EMAIL PROTECTED] wrote:

 Paris Hilton video - why do people keep offering me a video of a hotel?

LOL! What don't you get a chill watching video of a static object? It's the
latest in porn...

-- 
JoeHill ++ ICQ # 280779813
Registered Linux user #282046
Homepage: www.orderinchaos.org
+++
Athens built the Acropolis. Corinth was a commercial city, interested in purely
materialistic things. Today we admire Athens, visit it, preserve the old
temples, yet we hardly ever set foot in Corinth.-- Dr. Harold Urey, Nobel
Laureate in chemistry

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Testing Procmail Whitelist

2003-12-05 Thread Adolfo Bello
On Fri, 2003-12-05 at 11:24, JoeHill wrote:
 On Thu, 4 Dec 2003 20:30:26 -0500
 JoeHill [EMAIL PROTECTED] wrote:
 
  Viagra!
 
 This may be where I need to start learning about locking as well.
 
 I got an error in pmlog at one point:
 
 procmail: Timeout, was waiting for /var/spool/mail/joehill
 
 Am I correct in assuming that this is to do with the fact that my recipe
 referencing /var/spool/mail/joehill:
 
 :0
 * [EMAIL PROTECTED]
 {
   :0
   /var/spool/mail/joehill
 }
 
 is the cause of this, in that it has no lock, ie. the trailing colon after
 :0?

Joe:

You should write that recipe as:

:0
* [EMAIL PROTECTED]
/var/spool/mail/joehill

From man procmailrc:
===
A  line  starting with ':' marks the beginning of a recipe.  It has the 
following format:

:0 [flags] [ : [locallockfile] ]
zero or more conditions (one per line)
exactly one action line
===

So it looks like the recipe is waiting for an answer from
/var/spool/mail/joehill.

HTH

-- 
Adolfo A. Bello B. [EMAIL PROTECTED]
Make your posts more effective. Learn how at
http://mandrake.vmlinuz.ca/bin/view/Main/MandrakeMailingListEtiquette


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Testing Procmail Whitelist

2003-12-05 Thread JoeHill
On Fri, 05 Dec 2003 13:38:33 -0400
Adolfo Bello [EMAIL PROTECTED] wrote:

 You should write that recipe as:
 
 :0
 * [EMAIL PROTECTED]
 /var/spool/mail/joehill
 
 From man procmailrc:
 ===
 A  line  starting with ':' marks the beginning of a recipe.  It has the 
 following format:
 
 :0 [flags] [ : [locallockfile] ]
 zero or more conditions (one per line)
 exactly one action line
 ===
 
 So it looks like the recipe is waiting for an answer from
 /var/spool/mail/joehill.

I've been following the format I originally snagged from Stephen K.'s site:

http://thor.prohosting.com/~kilgoret/files/procmailrc

So that my recipe file looks like this:

:0
* [EMAIL PROTECTED]
{
:0:
/var/spool/mail/joehill
}

:0
* [EMAIL PROTECTED]
{
:0:
/var/spool/mail/joehill
}

:0
* !^Message-Id
{
:0
$MAILDIR/spam
}

:0
* [EMAIL PROTECTED]
{
 :0
 /dev/null
}

:0
* ^Subject:.*joehill
{
 :0
 $MAILDIR/spam
}

:0
* ^Subject:.hi$
{
 :0
 $MAILDIR/spam
}

:0
* ^Message-Id:.*[EMAIL PROTECTED]
{
 :0
 $MAILDIR/spam
}

:0 B
* .*viagra
{
:0
/dev/null
}

as you can see, I added a lock (:) to the rules which forward to
/var/spool/mail/joehill, as I think what was happening was if I got two mails
both trying to write to there, it was timing out. Since adding the lock, I don't
seem to be having any probs, but I'll keep an eye on it.

I've been reading everything I can get my hands on for Procmail, esp the list
archives, and I'm *beginning*, I think, to understand the concept of the
lock, among other things.

Cheers!

-- 
JoeHill ++ ICQ # 280779813
Registered Linux user #282046
Homepage: www.orderinchaos.org
+++
I'm even lethal when I'm unarmed, 'cuz I'm louder than a bomb!
-- Chuck D.

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Testing Procmail Whitelist

2003-12-05 Thread Adolfo Bello
On Fri, 2003-12-05 at 13:47, JoeHill wrote: 
 On Fri, 05 Dec 2003 13:38:33 -0400
 Adolfo Bello [EMAIL PROTECTED] wrote:
 
  You should write that recipe as:
  
  :0
  * [EMAIL PROTECTED]
  /var/spool/mail/joehill
  
  From man procmailrc:
  ===
  A  line  starting with ':' marks the beginning of a recipe.  It has the 
  following format:
  
  :0 [flags] [ : [locallockfile] ]
  zero or more conditions (one per line)
  exactly one action line
  ===
  
  So it looks like the recipe is waiting for an answer from
  /var/spool/mail/joehill.
 
 I've been following the format I originally snagged from Stephen K.'s site:
 http://thor.prohosting.com/~kilgoret/files/procmailrc
 
 So that my recipe file looks like this:
 
 :0
 * [EMAIL PROTECTED]
 {
   :0:
   /var/spool/mail/joehill
 }
 
 :0
 * [EMAIL PROTECTED]
 {
   :0:
   /var/spool/mail/joehill
 }
 
 :0
 * !^Message-Id
 {
 :0
 $MAILDIR/spam
 }
 
 :0
 * [EMAIL PROTECTED]
 {
  :0
  /dev/null
 }
 
 :0
 * ^Subject:.*joehill
 {
  :0
  $MAILDIR/spam
 }
 
 :0
 * ^Subject:.hi$
 {
  :0
  $MAILDIR/spam
 }
 
 :0
 * ^Message-Id:.*[EMAIL PROTECTED]
 {
  :0
  $MAILDIR/spam
 }
 
 :0 B
 * .*viagra
 {
   :0
   /dev/null
 }
 
 as you can see, I added a lock (:) to the rules which forward to
 /var/spool/mail/joehill, as I think what was happening was if I got two mails
 both trying to write to there, it was timing out. Since adding the lock, I don't
 seem to be having any probs, but I'll keep an eye on it.
 
 I've been reading everything I can get my hands on for Procmail, esp the list
 archives, and I'm *beginning*, I think, to understand the concept of the
 lock, among other things.
 
 Cheers!

I don't see the point of having something that does nothing. Rewriting
the recipe the way I wrote it does the same thing as using the recipe
with {} and a second :0.

I really respect Stephen's knowledge but in this case I don't see any
point in having a recipe like:

:0 
* [EMAIL PROTECTED]
* ^Subject:.*
{
 :0
 /dev/null
}

which translates into: if the message is coming from any body at
fc.emc.com.ph *and* the subject is any thing, send it to /dev/null. To
me, the subject line is adding no value to the recipe.

Take a look at man procmailex (procmailrc examples), specially at the
second example, and see how they avoid using unneeded {}.

Wow, you made me read some stuffs before posting a reply :-)

Saludos,

-- 
Adolfo A. Bello B. [EMAIL PROTECTED]
Make your posts more effective. Learn how at
http://mandrake.vmlinuz.ca/bin/view/Main/MandrakeMailingListEtiquette


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Testing Procmail Whitelist

2003-12-05 Thread Carroll Grigsby
On Friday 05 December 2003 07:56 am, JoeHill wrote:
 On Fri, 05 Dec 2003 11:38:39 +

 Margot [EMAIL PROTECTED] wrote:
  Paris Hilton video - why do people keep offering me a video of a hotel?

 LOL! What don't you get a chill watching video of a static object? It's the
 latest in porn...

I'll be damned. You mean that people actually move during sex? I learn 
something every day.
-- cmg


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] Testing Procmail Whitelist

2003-12-04 Thread JoeHill

Viagra!

-- 
JoeHill ++ ICQ # 280779813
Registered Linux user #282046
Homepage: www.orderinchaos.org
+++
Reality is what you can get away with.
-- Robert Anton Wilson

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Testing Procmail Whitelist

2003-12-04 Thread JoeHill
On Thu, 4 Dec 2003 20:30:26 -0500
JoeHill [EMAIL PROTECTED] wrote:

 Viagra!

It works! Woot! I's learnin', sorry to bombard like this...

-- 
JoeHill ++ ICQ # 280779813
Registered Linux user #282046
Homepage: www.orderinchaos.org
+++
Where the state begins, individual liberty ceases, and vice versa.
-- Bakunin

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Testing Procmail Whitelist

2003-12-04 Thread Adolfo Bello
It was filtered, didn't it?

You have to change:
* [EMAIL PROTECTED]

to
* [EMAIL PROTECTED]

Saludos,

Adolfo


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Testing Procmail Whitelist

2003-12-04 Thread Charles A Edwards
On Thu, 4 Dec 2003 20:30:26 -0500
JoeHill [EMAIL PROTECTED] wrote:

 Viagra!

Penis

-- 
Collar points don't match, and you've trimmed all the seams
-- Murphy's Laws of Sewing n°13
-
Mandrake Linux 10.0 on PurpleDragon
Kernel-2.6.0-0.2mdkenterprise
http://www.eslrahc.com
-




pgp0.pgp
Description: PGP signature


Re: [newbie] Testing Procmail Whitelist

2003-12-04 Thread Adolfo Bello
On Thu, 2003-12-04 at 21:43, Charles A Edwards wrote:
 On Thu, 4 Dec 2003 20:30:26 -0500
 JoeHill [EMAIL PROTECTED] wrote:
 
  Viagra!
 
 Penis

spamassassin




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Testing Procmail Whitelist

2003-12-04 Thread Charles A Edwards
On Thu, 04 Dec 2003 21:47:46 -0400
Adolfo Bello [EMAIL PROTECTED] wrote:

 spamassassin

not big enough

-- 
Collar points don't match, and you've trimmed all the seams
-- Murphy's Laws of Sewing n°13
-
Mandrake Linux 10.0 on PurpleDragon
Kernel-2.6.0-0.2mdkenterprise
http://www.eslrahc.com
-



pgp0.pgp
Description: PGP signature


Re: [newbie] Testing Procmail Whitelist

2003-12-04 Thread Todd Slater
On Thu, Dec 04, 2003 at 08:43:18PM -0500, Charles A Edwards wrote:
 On Thu, 4 Dec 2003 20:30:26 -0500
 JoeHill [EMAIL PROTECTED] wrote:
 
  Viagra!
 
 Penis

DON'T LOSE ANY MORE MONEY ON YOUR EXISTING HOME LOAN!

Todd

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com