[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Promail Help



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> I am getting this email regularly with the same body message.  I
> would like to know how to use procmail to send the message to
> /dev/null instead of filling up my inbox. The message goes like
> this:
>
> jjma,
> You have been approved.
> Cash Grant Amount:
> $10,000-$5,000,000
> Did You Know?
> -Each Year the U.S. Goverment Gives away BILLIONS in cash grants?
> -There  are No special requirements to obtain these grants.
> -These are Free Cash Grants That you NEVER have to repay!

You could do something like:

:0B:
* ^Cash Grant Amount
/dev/null


That just searches the body of each message for a line that begins 
with "Cash Grant Amount" and sends it to /dev/null.

There's a lot of other header stuff you might need in the .procmailrc 
file; that's just the rule for your particular message.  There are 
some good tutorials and example .procmailrc files you can find via  
Google or something.

- -- 
Bruce Timberlake

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE936iRvLA2hUZ9kgwRAoniAJ4jc+PdYFFkRh8cqq5gShE0rEj+qQCdGFS3
MFcNtDVBEBuiYMH/htMfqG8=
=5W7n
-----END PGP SIGNATURE-----