Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General > Member Success Stories
User Name
Password Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.


  Search this Thread
Old 01-28-2004, 10:52 AM   #1
Registered: Oct 2003
Posts: 66

Rep: Reputation: 15
Perfect dailly dilbert

After quite a while of hacking about, trying to learn about the procmailrc file and sed, ive managed to get it to filter out all adverts on my daily dilbert perfectly

Incase your interested, heres my /etc/procmailrc file.

# SpamAssassin check
* <25600
| spamc

# Dilbert Advert filter
* ^Subject.*Your Daily Dilbert
| sed -e '/<!-- AD TABLE BEGIN -->/,/<!-- DATE TABLE BEGIN -->/c\<TABLE WIDTH="183" BGCOLOR="#336699"><IMG SRC=""  WIDTH="183" HEIGHT="109" BORDER="0" ALT="Daily Dilbert"></TD></TR></TABLE>'
* ^Subject.*Your Daily Dilbert
| sed -e '/<!-- AD BADGE TABLE BEGIN -->/,/<!-- AD BADGE TABLE END -->/d'

Last edited by kzar; 01-28-2004 at 10:54 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
that perfect mouse danieljames General 8 04-02-2005 10:31 AM
The perfect distro for me... mhelliwell Linux - Distributions 2 03-18-2005 02:16 PM
Word Perfect digger Linux - Software 1 05-29-2004 12:38 AM
Word Perfect 8 digger Linux - Newbie 2 06-27-2003 06:04 PM
...just a perfect distro el_felipe Linux - Distributions 22 01-03-2002 03:21 AM > Forums > Linux Forums > Linux - General > Member Success Stories

All times are GMT -5. The time now is 09:17 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration