linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* procmailrc to filter spam
@ 2002-06-26 13:16 urgrue
  2002-06-26 14:24 ` Scott Taylor
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: urgrue @ 2002-06-26 13:16 UTC (permalink / raw)
  To: admin

hi,
im using .procmailrc to filter spam. it doesnt seem to work though. 
example from .procmailrc:
:0
* ^From.*link2buy.com*
/dev/null


if i telnet to my mail server's port 25 and enter a mail as if from 
asdasd@link2buy.com, it DOES get thrown away.
but i still receive mail from this horrid link2buy.com people every day.

can anyone think of an explanation?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: procmailrc to filter spam
  2002-06-26 13:16 procmailrc to filter spam urgrue
@ 2002-06-26 14:24 ` Scott Taylor
  2002-06-26 17:04 ` rich+ml
  2002-06-27  4:53 ` Mohammed Khalid Ansari
  2 siblings, 0 replies; 4+ messages in thread
From: Scott Taylor @ 2002-06-26 14:24 UTC (permalink / raw)
  To: admin

At 06:16 AM 26/06/2002, urgrue wrote:
>hi,
>im using .procmailrc to filter spam. it doesnt seem to work though.
>example from .procmailrc:
>:0
>* ^From.*link2buy.com*
>/dev/null

Try this instead:

:0
* ^From:.*<*link2buy\.com>
/dev/null

If you are still having trouble, join us at the Email Security Discussion list
mailto:esd-l-request@spconnect.com?subject=subscribe

There are a few Procmail experts there.
You may want to include the header of the offending email otherwise there's 
not much to go by to explain your situation.

Scott.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: procmailrc to filter spam
  2002-06-26 13:16 procmailrc to filter spam urgrue
  2002-06-26 14:24 ` Scott Taylor
@ 2002-06-26 17:04 ` rich+ml
  2002-06-27  4:53 ` Mohammed Khalid Ansari
  2 siblings, 0 replies; 4+ messages in thread
From: rich+ml @ 2002-06-26 17:04 UTC (permalink / raw)
  To: urgrue; +Cc: admin

> example from .procmailrc:
> :0
> * ^From.*link2buy.com*
I believe you are missing a '.', this matches 'asdasd@link2buy.commmmmm'
but not '<asdasd@link2buy.com>'. Try:
  * ^From.*link2buy\.com.*
> /dev/null



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: procmailrc to filter spam
  2002-06-26 13:16 procmailrc to filter spam urgrue
  2002-06-26 14:24 ` Scott Taylor
  2002-06-26 17:04 ` rich+ml
@ 2002-06-27  4:53 ` Mohammed Khalid Ansari
  2 siblings, 0 replies; 4+ messages in thread
From: Mohammed Khalid Ansari @ 2002-06-27  4:53 UTC (permalink / raw)
  To: urgrue; +Cc: admin


You are missing a : after 0 ie it must be

:0:
* ^From.*link2buy.com*
/dev/null

try it.

-- 

**************************************************************************

Mohammed Khalid Ansari                    Tel (res) : 0091-022-3051360
Assistant Manager II                          (off) : 0091-022-2024641
National Centre for Software Technology   Fax       : 0091-022-2049573 
8th flr,Air India Build. Nariman Point,   E-Mail    : khalid@ncst.ernet.in 	
Mumbai 400021.

Homepage : http://soochak.ncst.ernet.in/~khalid			  	  

**************************************************************************

On Wed, 26 Jun 2002, urgrue wrote:

> hi,
> im using .procmailrc to filter spam. it doesnt seem to work though. 
> example from .procmailrc:
> :0
> * ^From.*link2buy.com*
> /dev/null
> 
> 
> if i telnet to my mail server's port 25 and enter a mail as if from 
> asdasd@link2buy.com, it DOES get thrown away.
> but i still receive mail from this horrid link2buy.com people every day.
> 
> can anyone think of an explanation?
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-06-27  4:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-26 13:16 procmailrc to filter spam urgrue
2002-06-26 14:24 ` Scott Taylor
2002-06-26 17:04 ` rich+ml
2002-06-27  4:53 ` Mohammed Khalid Ansari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).