You are not logged in. Login Now
 0-24   9-33   34-58   59-83   84-108   109-133   134-158   159-183   184-208 
 209-233   234-251         
 
Author Message
25 new of 251 responses total.
jlamb
response 34 of 251: Mark Unseen   Jan 2 00:28 UTC 2003

resp:33   READ CLOSER
On since Wed Jan  1 10:48 (EST) on ttypk, idle 0:08, from 203.111.194.11
keesan
response 35 of 251: Mark Unseen   Jan 2 16:11 UTC 2003

In the past day or so I have received five (5) copies of happy.scr from
azhar.rajput@sympatico.ca.  If other people have been receiving these, can
the filter be set to reject mail from this idiot?  Is happy.scr the
screensaver it claims to be or some virus on another machine?  The mails are
47K and I have to empty my mailbox regularly to keep it functional.
keesan
response 36 of 251: Mark Unseen   Jan 2 18:03 UTC 2003

Can someone explain again, in detail, how to use procmail.  I just got a sixth
copy of the above spam, all 49K with header and message.
keesan
response 37 of 251: Mark Unseen   Jan 2 18:12 UTC 2003

Would it work to create a file in my home directory called .procmailrc
and put into it the lines  :0      * ^From:azhar.rajput*      /dev/null
(These are three separate lines but I cannot type a line starting with a colon
into bbs.)
naftee
response 38 of 251: Mark Unseen   Jan 2 18:33 UTC 2003

RE:37 
You might have to put something in your .forward to make it work.  You can
also put a space before the gate prompt if you are entering special
characters, like:
 !
 :
keesan
response 39 of 251: Mark Unseen   Jan 2 19:06 UTC 2003

So what is .forward supposed to look like?
I think procmail should be included in something like the CHANGE program so
that all we beginners can use it more easily.  Any volunteers to do this?
I put those lines in a file .procmailrc (also * before the from address
since it comes as azhar rajput <azhar.rajput.....> and at least it is not
blocking normal mail (I sent myself a test mail).  The man page for procmail
also said to put -m somewhere, but I could not understand most of it.
jlamb
response 40 of 251: Mark Unseen   Jan 2 20:32 UTC 2003

You might want to post something in JellyWare about this, i dont think 
the item gets much traffic
jmsaul
response 41 of 251: Mark Unseen   Jan 2 22:32 UTC 2003

Procmail's not trivial to set up using just the man page.
keesan
response 42 of 251: Mark Unseen   Jan 2 23:40 UTC 2003

I know, can you help me to figure it out?  All I want to do is block mail from
azhar.rajput@sympatico.ca (send it to /dev/null), but I suppose it would also
be helpful to block other mail with subject line 'urgent business proposal',
and other people probably would want to learn procmail.  Should I start an
agora item on this?
jlamb
response 43 of 251: Mark Unseen   Jan 3 02:55 UTC 2003

resp:42 you should start an item on procmail, i would like to know how 
to block spam from many different places i get them from 
jmsaul
response 44 of 251: Mark Unseen   Jan 3 03:05 UTC 2003

Re #42:  No, because I haven't taken the time to learn it myself.
naftee
response 45 of 251: Mark Unseen   Jan 3 03:09 UTC 2003

 !man 5 procmailrc
remmers
response 46 of 251: Mark Unseen   Jan 3 11:55 UTC 2003

I've been using procmail for a while, so I'll make a stab at a procmail
quickstart.  Your .forward file should have one line, that looks like this:

        "|IFS=' '&&exec /usr/local/bin/procmail -f-||exit 75 #USER"

where in place of USER you put your own login id.  The .foward file must
be publicly readable.  Then every time a mail message is received,
procmail will be run and consult your .procmailrc file to decide what
to do with the message.

The first line of .procmailrc should be this:

        MAIL=PATH-TO-YOUR-INBOX

where in place of PATH-TO-YOUR-INBOX you put the full path of your mail
inbox.  For keesan, this would be /var/spool/mail/k/e/keesan .

Subsequent lines of .procmailrc are filter rules.  Lines that begin with
a # are comments.  A filter rule that will will send all messages from
azhar.rajput@sympatico.ca to /dev/null would be this:

        # Toss all mail from azhar.rajput
        :0:
        * ^From:.*azhar\.rajput@sympatico\.ca
        /dev/null

The characters '.' and '*' are wildcards that match any single character
and any run of 0 or more characters, respectively.  The purpose of the
the '.*' in the above rule is to skip over blanks between the From: header
and the email address.  The purpose of the '\' preceding the periods in
the email address is to cause the periods to be interpreted literally
rather than as wildcard characters.  The '^' character means "beginning
of line".

You can filter on "From:", "To:", "Subject:", or any other header, as well
as body content.  For example, this rule tosses all mail with the phrase
"free sex site" in the subject line:

        :0:
        * ^Subject:.*free *sex *site
        /dev/null

Here, the ' *' sequences match any number of blanks between the words, so
that this rule will catch the phrase even if the words are separated by
multiple spaces.  Procmail does case-independent pattern matching, so the
rule will also filter "FREE SEX SITE", "Free Sex Site", etc.

The above examples are pretty simple.  Procmail rules can be quite elaborate;
see "man procmailrc" and "man procmailex" for complete discussion and more
examples.

I actually don't use procmail rules to filter spam -- the spamassassin
program (not installed on Grex) is much more effective for this purpose.
My main use of procmail is to pre-sort mailing list messages into separate
folders.
krj
response 47 of 251: Mark Unseen   Jan 3 13:57 UTC 2003

(That should probably be a separate item so it's easier to find it.
Thanks John!)
tsty
response 48 of 251: Mark Unseen   Jan 3 15:34 UTC 2003

what are teh various pros/cons between procmail and mh. or does mh
also use procmail for a filter?
gelinas
response 49 of 251: Mark Unseen   Jan 3 16:06 UTC 2003

Rather than responding further, let's start a new item for mail-processing.
If one hasn't been started by the time I finish reading currently new
responses, I'll start one.
remmers
response 50 of 251: Mark Unseen   Jan 3 16:07 UTC 2003

Mh is just a mail reading/composing application.  If it has any
filtering capabilities, they aren't very extensive.  It's possible
to use procmail in conjuction with mh, or any other mail program
for that matter.

I'll copy my procmail quickstart to its own item.
remmers
response 51 of 251: Mark Unseen   Jan 3 16:12 UTC 2003

Joe's $49 slipped in.  I've already posted a mail processing item
and copied my procmail response over to it.
tonster
response 52 of 251: Mark Unseen   Jan 3 21:51 UTC 2003

damn joe, why'd you throw $49 into an item ?
gelinas
response 53 of 251: Mark Unseen   Jan 3 22:41 UTC 2003

'cause it was all I had on me at the time.
gull
response 54 of 251: Mark Unseen   Jan 4 00:29 UTC 2003

Grex's network connection seems really laggy right now.  I gave up and
dialed in because I kept getting 3 to 5 minute pauses.
aruba
response 55 of 251: Mark Unseen   Jan 4 06:28 UTC 2003

Still really slow now.
gelinas
response 56 of 251: Mark Unseen   Jan 4 06:40 UTC 2003

traceroute indicates a network problem; uptime says load is fine.
jor
response 57 of 251: Mark Unseen   Jan 4 09:05 UTC 2003

        peppy now
russ
response 58 of 251: Mark Unseen   Jan 9 01:13 UTC 2003

Everything going over the Internet is extremely slow tonight.
 0-24   9-33   34-58   59-83   84-108   109-133   134-158   159-183   184-208 
 209-233   234-251         
Response Not Possible: You are Not Logged In
 

- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss