Qmail-spam

From Qmailwiki
(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
<li date="20000411" date="200302160"><a name="200302160"> Chris Hardie has
+
* Chris Hardie has updated his qmail [http://www.chrishardie.com/tech/qmail/qmail-antispam.html anti-spam howto]
updated his qmail <a
+
href="http://www.chrishardie.com/tech/qmail/qmail-antispam.html">anti-spam
+
howto</a>.</a>
+
  
<li date="20000810"><a name="20000810"> Dan's <a
+
* Dan's [http://www.qmail.org/rbl/ rblsmtpd] blocks spam using the RBL and other DNS-based lists. Because of the size of the RSS zone, they have removed the necessary TXT records that rblsmtpd relies on.  
href="rbl/">rblsmtpd</a> blocks spam using the RBL</a> and other
+
DNS-based lists. Because of the size of the RSS zone, they have
+
removed the necessary TXT records that rblsmtpd relies on.  Alan Curry
+
has a patch to <a href="ucspi-rss.diff">rblsmtpd to make it work with
+
A records</a>.
+
  
<img src="new.gif" alt="new" width=31 height=12
+
* Alan Curry has a patch to [http://www.qmail.org/ucspi-rss.diff rblsmtpd to make it work with A records].
date="200403270"> <a name="200403270">David Jonas has a patch to
+
rblsmtpd to let you <a
+
href="http://www.linuxpenguins.com/forum/viewtopic.php?p=6">ignore
+
certain A record</a> responses from the bl lookup.</a>
+
  
<li><a name="200103301"></a><a
+
* David Jonas has a patch to rblsmtpd to let you [http://www.linuxpenguins.com/forum/viewtopic.php?p=6 ignore certain A record] responses from the bl lookup.
href="http://www.qmail.org/cgi-bin/m/nelson-qa@aqmail.org">Russell
+
Nelson</a> has a pair of programs to help <a href="spam-filter">keep
+
spam out of your mailbox</a>.
+
  
<li><a name="200109252">Jason R. Mastaler has improved <a
+
* Russell Nelson has a pair of programs to help [http://www.qmail.org/spam-filter keep spam out of your mailbox.
href="http://tmda.sourceforge.net/">TMDA</a>, an anti-spam system.</a>
+
  
<li>Lionel Widdifield</a> wrote an anti-spam patch.  Someone made some
+
* Jason R. Mastaler has improved [http://tmda.sourceforge.net/ TMDA], an anti-spam system.
 +
 
 +
* Lionel Widdifield</a> wrote an anti-spam patch.  Someone made some
 
improvements to Lionel's patch, which Lindsay Haisley has <a
 
improvements to Lionel's patch, which Lindsay Haisley has <a
 
href="http://www.fmp.com/downloads/qmail-antispam4.tar.gz">ported to qmail 1.03</a>.
 
href="http://www.fmp.com/downloads/qmail-antispam4.tar.gz">ported to qmail 1.03</a>.
  
<a name="200112280">
+
* <a name="200403290"><a
 
+
<LI><img src="updated.gif" alt="updated" width=52 height=12
+
date="200403290"><a name="200403290"><a
+
 
href="http://www.unixpimps.org/software/qregex/">qregex</a> provides
 
href="http://www.unixpimps.org/software/qregex/">qregex</a> provides
 
full regexp matching on envelope addresses.</a>With REs (Regular
 
full regexp matching on envelope addresses.</a>With REs (Regular
Line 41: Line 24:
 
insensitive pattern matching and logging when a match is found.
 
insensitive pattern matching and logging when a match is found.
  
<li><a
+
* <a
 
href="http://www.qmail.org/cgi-bin/m/cjohnsona@apalomine.net">Chris
 
href="http://www.qmail.org/cgi-bin/m/cjohnsona@apalomine.net">Chris
 
Johnson</a> has a patch to implement <a
 
Johnson</a> has a patch to implement <a
Line 51: Line 34:
 
TOs.
 
TOs.
  
<li><img src="updated.gif" alt="updated" width=52 height=12
+
* Nagy Balazs wrote a patch to
date="200405280"><a name="200405280">Nagy Balazs wrote a patch to
+
 
ensure that the domain name on the <a
 
ensure that the domain name on the <a
 
href="http://js.hu/package/qmail/index.html">envelope sender is a
 
href="http://js.hu/package/qmail/index.html">envelope sender is a
Line 58: Line 40:
 
but I list it here because some people want it.
 
but I list it here because some people want it.
  
<li date="20001108"><a name="20001108"> Jon Rust wrote <a
+
* Jon Rust wrote <a
 
href="http://jon.rusts.net/qrblcheck.c">qrblcheck</a></a>, which reads
 
href="http://jon.rusts.net/qrblcheck.c">qrblcheck</a></a>, which reads
 
a message on stdin, grabs the IP address from the Received lines and
 
a message on stdin, grabs the IP address from the Received lines and
Line 64: Line 46:
  
  
<li date="20001230"><a name="20001230"> Jay Soffian has a qmail-queue
+
* Jay Soffian has a qmail-queue
 
replacement to <a href="qqrbl">filter against DNS spamlists.</a></a>.
 
replacement to <a href="qqrbl">filter against DNS spamlists.</a></a>.
 
It uses Bruce Guenter's <a href="#qmailqueue">QMAILQUEUE</a> patch.
 
It uses Bruce Guenter's <a href="#qmailqueue">QMAILQUEUE</a> patch.
Line 70: Line 52:
 
for filtering at the delivery layer.
 
for filtering at the delivery layer.
  
<LI date="200111130"><a name="200111130">O'Shaughnessy Evans has a set of
+
* O'Shaughnessy Evans has a set of
 
shell scripts that comprise a spam-filtering system called "<a
 
shell scripts that comprise a spam-filtering system called "<a
 
href="http://isle.wumpus.org/cgi-bin/pikie?SpamRule">spamrule</a>".</a>
 
href="http://isle.wumpus.org/cgi-bin/pikie?SpamRule">spamrule</a>".</a>
  
<LI date="200111131"><a name="200111131">Ask Bj&oslash;rn Hansen wrote <a
+
* Ask Bj&oslash;rn Hansen wrote <a
 
href="http://develooper.com/code/qpsmtpd/">qpsmtpd</a>, a smtp server
 
href="http://develooper.com/code/qpsmtpd/">qpsmtpd</a>, a smtp server
 
with filtering tools</a>.  It's written in perl.
 
with filtering tools</a>.  It's written in perl.
  
 
+
* Erwin Hoffman's <a
<a name="200305130">
+
 
+
<li date="200312200"><a name="200312200">Erwin Hoffman's <a
+
 
href="http://www.fehcom.de/qmail/spamcontrol.html">SPAMCONTROL</a>
 
href="http://www.fehcom.de/qmail/spamcontrol.html">SPAMCONTROL</a>
 
combines many spam control features</a>.  Includes SMTP Auth with
 
combines many spam control features</a>.  Includes SMTP Auth with
 
CRAM-MD5 support.
 
CRAM-MD5 support.
  
<LI date="200202060"><a name="200202060">EnderUNIX Team wrote <a
+
* EnderUNIX Team wrote <a
 
href="http://www.enderunix.org/spamguard">spamGuard</a></a>, which
 
href="http://www.enderunix.org/spamguard">spamGuard</a></a>, which
 
scans your log files for "too much" email from a particular user, and
 
scans your log files for "too much" email from a particular user, and
 
adds them to badmailfrom.
 
adds them to badmailfrom.
  
<LI date="200202090"><a name="200202090">Russell Nelson has a patch to <a
+
* Russell Nelson has a patch to <a
 
href="qmail-smtpd-relay-reject">reject relay probes</a> generated by
 
href="qmail-smtpd-relay-reject">reject relay probes</a> generated by
 
so-called anti-spammers.</a> These relay probes have '!', '%' and '@'
 
so-called anti-spammers.</a> These relay probes have '!', '%' and '@'
 
in the local (username) part of the address.
 
in the local (username) part of the address.
  
<li date="200212310"><a name="200212310">Dale Woolridge, James Law, and
+
* Dale Woolridge, James Law, and
 
Moto Kawasaki's <a href="http://spamthrottle.qmail.ca/">spam throttle</a></a>
 
Moto Kawasaki's <a href="http://spamthrottle.qmail.ca/">spam throttle</a></a>
 
 
patch provides a method to rate limit/stutter spam (message throughput)
 
patch provides a method to rate limit/stutter spam (message throughput)
 
via a highly parameterized control interface.  As of release 2.01,
 
via a highly parameterized control interface.  As of release 2.01,
 
tcpserver is no longer a strict requirement.
 
tcpserver is no longer a strict requirement.
  
<LI date="200203250"><a name="200203250">James Grinter has instructions on
+
* James Grinter has instructions on
 
<a href="http://www.gbnet.net/~jrg/qmail/ifspamh">using
 
<a href="http://www.gbnet.net/~jrg/qmail/ifspamh">using
 
SpamAssassin</a></a>.  It's a script that runs from a .qmail file.
 
SpamAssassin</a></a>.  It's a script that runs from a .qmail file.
  
<LI date="20020331"><a name="200203310">Chris Kennedy has written the
+
* Chris Kennedy has written the
 
<a
 
<a
 
href="http://sourceforge.net/projects/blackholespam/">BlackHole</a>
 
href="http://sourceforge.net/projects/blackholespam/">BlackHole</a>
 
spam/virus filter</a>.
 
spam/virus filter</a>.
  
<LI date="200204110"><a name="200204110">Noel Mistula wrote <a
+
* Noel Mistula wrote <a
 
href="http://ngm.id.au/checkhab">checkhab</a></a>, which checks
 
href="http://ngm.id.au/checkhab">checkhab</a></a>, which checks
 
for HTML, attachments, and binaries in email, and blocks them.
 
for HTML, attachments, and binaries in email, and blocks them.
  
<LI date="200208051"><a name="200208051">Gerrit Pape wrote <a
+
* Gerrit Pape wrote <a
 
href="http://smarden.org/qconfirm/">qconfirm</a></a>, a delivery
 
href="http://smarden.org/qconfirm/">qconfirm</a></a>, a delivery
 
confirmation process for a mail address.
 
confirmation process for a mail address.
  
<a name="200208052"></a>
+
* Chris Johnson
 
+
<LI date="200312030"><a name="200312030">Chris Johnson
+
 
wrote <a href="http://www.palomine.net/qdated/">qdated</a></a> to
 
wrote <a href="http://www.palomine.net/qdated/">qdated</a></a> to
 
create and verify timestamped e-mail addresses.  These addresses
 
create and verify timestamped e-mail addresses.  These addresses
Line 128: Line 104:
 
expired address will bounce.
 
expired address will bounce.
  
<LI date="200209240"><a name="200209240">Roger Merchberger has some
+
* Roger Merchberger has some
 
techniques to deal with <a
 
techniques to deal with <a
 
href="http://www.30below.com/~zmerch/qmail/">double-bouncing
 
href="http://www.30below.com/~zmerch/qmail/">double-bouncing
 
email</a></a>.
 
email</a></a>.
  
<li date="200301290"><a name="200301290"><a
+
* <a
 
href="http://q-sorter.sourceforge.net">q-sorter</a> sorts your email
 
href="http://q-sorter.sourceforge.net">q-sorter</a> sorts your email
 
into separate inboxes.</a>
 
into separate inboxes.</a>
  
<li date="200301291"><a name="200301291"><a
+
* <a
 
href="http://search.cpan.org/author/JRAFTERY/">Net::QMTP</a> - This
 
href="http://search.cpan.org/author/JRAFTERY/">Net::QMTP</a> - This
 
perl module implements an object oriented interface to a Quick Mail
 
perl module implements an object oriented interface to a Quick Mail
Line 144: Line 120:
  
  
<li date="200302180"><a name="200302180">Georg Lehner tells how to
+
* Georg Lehner tells how to
 
configure <a
 
configure <a
 
href="http://www.magma.com.ni/~jorge/spamassassin.html">Qmail with
 
href="http://www.magma.com.ni/~jorge/spamassassin.html">Qmail with
 
Spamassassin</a></a>.
 
Spamassassin</a></a>.
  
<li date="200309030"><a name="200309030">Jeffrey Clement wrote a
+
* Jeffrey Clement wrote a
 
time-limited email-address program called <a
 
time-limited email-address program called <a
 
href="http://jclement.ca/software/datedmail.py/">datedmail</a></a>.
 
href="http://jclement.ca/software/datedmail.py/">datedmail</a></a>.
  
<a name="200310150" />
+
* Luca Morettoni wrote <a
 
+
<li><img src="updated.gif" alt="updated" width=52 height=12
+
date="200409130"><a name="200409130">Luca Morettoni wrote <a
+
 
href="http://morettoni.net/qmail-rblchk.en.html">qmail-rblchk</a></a>,
 
href="http://morettoni.net/qmail-rblchk.en.html">qmail-rblchk</a></a>,
 
which checks the IP address in the Received: line of an email message
 
which checks the IP address in the Received: line of an email message
 
on stdin against named DNSBLs.
 
on stdin against named DNSBLs.
  
<li><img src="new.gif" alt="new" width=31 height=12
+
* Jean-Eudes ONFRAY wrote a <a
date="200401020"><a name="200401020">Jean-Eudes ONFRAY wrote a <a
+
 
href="rhsbl.patch">rhsbl patch</a> for tcpserver</a>.  This lets you
 
href="rhsbl.patch">rhsbl patch</a> for tcpserver</a>.  This lets you
 
block or whitelist email based on the reverse-DNS hostname rather than
 
block or whitelist email based on the reverse-DNS hostname rather than
 
IP.
 
IP.
  
<li><img src="new.gif" alt="new" width=31 height=12
+
* Philip Gladstone wrote a
date="200401090"><a name="200401090">Philip Gladstone wrote a
+
 
delivery-time <a href="http://pond.gladstonefamily.net/do-spf.pl">SPF
 
delivery-time <a href="http://pond.gladstonefamily.net/do-spf.pl">SPF
 
checker</a>.</a> More on <a href="http://spf.pobox.com">SPF</a>.
 
checker</a>.</a> More on <a href="http://spf.pobox.com">SPF</a>.
  
  
<li><img src="new.gif" alt="new" width=31 height=12
+
* Christophe Saout wrote a <a
date="200402040"><a name="200402040">Christophe Saout wrote a <a
+
 
href="http://www.saout.de/misc/spf/">SPF checker</a></a> that runs
 
href="http://www.saout.de/misc/spf/">SPF checker</a></a> that runs
 
inside qmail-smtpd and is written using the native dns and string
 
inside qmail-smtpd and is written using the native dns and string
 
functions that come with qmail.
 
functions that come with qmail.
  
<li><img src="new.gif" alt="new" width=31 height=12
+
* Markus Stumpf has a patch for
date="200406010"><a name="200406010">Markus Stumpf has a patch for
+
 
qmail-smtpd that <a
 
qmail-smtpd that <a
 
href="http://www.lamer.de/maex/creative/software/qmail/105-sober-g/">rejects
 
href="http://www.lamer.de/maex/creative/software/qmail/105-sober-g/">rejects
 
W32/Sober-G</a> at the SMTP level.</a>
 
W32/Sober-G</a> at the SMTP level.</a>
  
<li><img src="new.gif" alt="new" width=31 height=12
+
* Jay Soffian has modifies
date="200406010"><a name="200406010">Jay Soffian has modifies
+
 
qmail-smtpd to <a
 
qmail-smtpd to <a
 
href="http://www.soffian.org/downloads/qmail/qmail-smtpd-doc.html">fork/exec
 
href="http://www.soffian.org/downloads/qmail/qmail-smtpd-doc.html">fork/exec

Revision as of 20:55, 2 February 2005

  • Dan's rblsmtpd blocks spam using the RBL and other DNS-based lists. Because of the size of the RSS zone, they have removed the necessary TXT records that rblsmtpd relies on.
  • Jason R. Mastaler has improved TMDA, an anti-spam system.
  • Lionel Widdifield</a> wrote an anti-spam patch. Someone made some

improvements to Lionel's patch, which Lindsay Haisley has <a href="http://www.fmp.com/downloads/qmail-antispam4.tar.gz">ported to qmail 1.03</a>.

  • <a name="200403290"><a

href="http://www.unixpimps.org/software/qregex/">qregex</a> provides full regexp matching on envelope addresses.</a>With REs (Regular Expresions) it becomes quite easy to filter out email addresses that contain invalid characters or simply aren't a real address. Andrew St. Jean has <a href="http://www.arda.homeunix.net/store/qmail/">added</a> case insensitive pattern matching and logging when a match is found.

  • <a

href="http://www.qmail.org/cgi-bin/m/cjohnsona@apalomine.net">Chris Johnson</a> has a patch to implement <a href="http://www.palomine.net/qmail/tarpit.html">tarpitting</a> in qmail-smtpd. If you don't know what tarpitting is, it's the practice of inserting a small sleep in an SMTP session for each RCPT TO after some set number of RCPT TOs. The idea is to thwart spammers who would hand your SMTP server a single message with a long list of RCPT TOs.

  • Nagy Balazs wrote a patch to

ensure that the domain name on the <a href="http://js.hu/package/qmail/index.html">envelope sender is a valid DNS name</a></a>. This is not terribly effective against spammers, but I list it here because some people want it.

  • Jon Rust wrote <a

href="http://jon.rusts.net/qrblcheck.c">qrblcheck</a></a>, which reads a message on stdin, grabs the IP address from the Received lines and checks it against five different DNS-based spamlists.


  • Jay Soffian has a qmail-queue

replacement to <a href="qqrbl">filter against DNS spamlists.</a></a>. It uses Bruce Guenter's <a href="#qmailqueue">QMAILQUEUE</a> patch. Matching email is not rejected, but instead an X-RBL: header is added, for filtering at the delivery layer.

  • O'Shaughnessy Evans has a set of

shell scripts that comprise a spam-filtering system called "<a href="http://isle.wumpus.org/cgi-bin/pikie?SpamRule">spamrule</a>".</a>

  • Ask Bjørn Hansen wrote <a

href="http://develooper.com/code/qpsmtpd/">qpsmtpd</a>, a smtp server with filtering tools</a>. It's written in perl.

  • Erwin Hoffman's <a

href="http://www.fehcom.de/qmail/spamcontrol.html">SPAMCONTROL</a> combines many spam control features</a>. Includes SMTP Auth with CRAM-MD5 support.

  • EnderUNIX Team wrote <a

href="http://www.enderunix.org/spamguard">spamGuard</a></a>, which scans your log files for "too much" email from a particular user, and adds them to badmailfrom.

  • Russell Nelson has a patch to <a

href="qmail-smtpd-relay-reject">reject relay probes</a> generated by so-called anti-spammers.</a> These relay probes have '!', '%' and '@' in the local (username) part of the address.

  • Dale Woolridge, James Law, and

Moto Kawasaki's <a href="http://spamthrottle.qmail.ca/">spam throttle</a></a> patch provides a method to rate limit/stutter spam (message throughput) via a highly parameterized control interface. As of release 2.01, tcpserver is no longer a strict requirement.

  • James Grinter has instructions on

<a href="http://www.gbnet.net/~jrg/qmail/ifspamh">using SpamAssassin</a></a>. It's a script that runs from a .qmail file.

  • Chris Kennedy has written the

<a href="http://sourceforge.net/projects/blackholespam/">BlackHole</a> spam/virus filter</a>.

  • Noel Mistula wrote <a

href="http://ngm.id.au/checkhab">checkhab</a></a>, which checks for HTML, attachments, and binaries in email, and blocks them.

  • Gerrit Pape wrote <a

href="http://smarden.org/qconfirm/">qconfirm</a></a>, a delivery confirmation process for a mail address.

  • Chris Johnson

wrote <a href="http://www.palomine.net/qdated/">qdated</a></a> to create and verify timestamped e-mail addresses. These addresses expire after a user-configurable period of time; any mail sent to an expired address will bounce.

  • Roger Merchberger has some

techniques to deal with <a href="http://www.30below.com/~zmerch/qmail/">double-bouncing email</a></a>.

  • <a

href="http://q-sorter.sourceforge.net">q-sorter</a> sorts your email into separate inboxes.</a>

  • <a

href="http://search.cpan.org/author/JRAFTERY/">Net::QMTP</a> - This perl module implements an object oriented interface to a Quick Mail Transfer Protocol (QMTP) client</a> which enables a perl program to send email by QMTP.


  • Georg Lehner tells how to

configure <a href="http://www.magma.com.ni/~jorge/spamassassin.html">Qmail with Spamassassin</a></a>.

  • Jeffrey Clement wrote a

time-limited email-address program called <a href="http://jclement.ca/software/datedmail.py/">datedmail</a></a>.

  • Luca Morettoni wrote <a

href="http://morettoni.net/qmail-rblchk.en.html">qmail-rblchk</a></a>, which checks the IP address in the Received: line of an email message on stdin against named DNSBLs.

  • Jean-Eudes ONFRAY wrote a <a

href="rhsbl.patch">rhsbl patch</a> for tcpserver</a>. This lets you block or whitelist email based on the reverse-DNS hostname rather than IP.

  • Philip Gladstone wrote a

delivery-time <a href="http://pond.gladstonefamily.net/do-spf.pl">SPF checker</a>.</a> More on <a href="http://spf.pobox.com">SPF</a>.


  • Christophe Saout wrote a <a

href="http://www.saout.de/misc/spf/">SPF checker</a></a> that runs inside qmail-smtpd and is written using the native dns and string functions that come with qmail.

  • Markus Stumpf has a patch for

qmail-smtpd that <a href="http://www.lamer.de/maex/creative/software/qmail/105-sober-g/">rejects W32/Sober-G</a> at the SMTP level.</a>

  • Jay Soffian has modifies

qmail-smtpd to <a href="http://www.soffian.org/downloads/qmail/qmail-smtpd-doc.html">fork/exec $RCPTCHECK</a> at the RCPT TO:</a>. $RCPTCHECK is run in the same environment as qmail-smtpd. Additionally $SENDER is set to the envelope from and $RECIPIENT is set to the envelope recipient (for the current rcpt to:). Based on the return code (exit value) of $RCPTCHECK, the rcpt to: address will either be accepted or rejected.

Personal tools