dupfilter(8)


NAME

   dupfilter - Sample Courier mail filter

SYNOPSIS

   filterctl {[start] | [stop]} dupfilter

DESCRIPTION

   This is an example global mail filter written in C. This is a threaded
   filter that tries to block junk E-mail by attempting to detect multiple
   copies of the same message, which are rejected. This filter is
   presented mostly for educational purposes. It's method for detecting
   duplicate messages is rather simplistic, and, over time, ways of
   defeating it will certainly proliferate.

   dupfilter works by calculating a hash value of the contents of every
   message it sees. Hash values of recent messages are kept in a circular
   FIFO queue. When dupfilter starts seeing messages with the same hash
   value, it will reject them. The hash value is calculated in such a way
   as to try to detect minor changes to messages' contents that are
   designed to avoid these kinds of filters, but it's still not a very
   sophisticated approach, and it can be easily fooled.

BUGS

   This is not a very smart mail filter. The hash function is very simple
   and is not expected to be very useful.

   Don't even think of using dupfilter on a machine that either runs a
   mailing list, or contains mailboxes that subscribe to mailing lists.
   dupfilter likes to bounce mailing list traffic.

FILES

   dupfilter uses the following configuration files. Changes to the
   following files do not take effect until the filter has been stopped
   and restarted.

   /etc/courier/filters/dupfilter-hashsize
       This file contains a single numerical value that sets the size of
       dupfilter's circular FIFO queue.

   /etc/courier/filters/dupfilter-duplevel
       This file contains a single numerical value that sets how many
       identical messages dupfilter will tolerate before blocking them.
       When this many identical messages are seen, dupfilter will start
       rejecting all messages with the same content.

   /etc/courier/filters/dupfilter-mode
       If this file exists and contains the word "all", dupfilter will
       create its socket in /var/lib/courier/allfilters, otherwise the
       socket will be created in /var/lib/courier/filters, see
       courierfilter(8)[1] for more information.

   /etc/courier/filters/dupfilter-nthreads
       This file contains a single numerical value that sets the number of
       threads created (each thread is used to calculate a message's hash
       value). The default number of threads is 4.

SEE ALSO

   courierfilter(8)[1].

AUTHOR

   Sam Varshavchik
       Author

NOTES

    1. courierfilter(8)
       [set $man.base.url.for.relative.links]/courierfilter.html





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.