Report forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>, Soenke Lange <soenke@escher.north.de>, Wendal Catt <wendal@southwind.net>, Manoj Srivastava <srivasta@debian.org>, Peter Tobias <tobias@et-inf.fho-emden.de>:
Bug#5795; Package sendmail, smail, procmail, mailagent, netbase.
debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>Soenke Lange <soenke@escher.north.de>Wendal Catt <wendal@southwind.net>Manoj Srivastava <srivasta@debian.org>Peter Tobias <tobias@et-inf.fho-emden.de>
Sorry, this message was lost when this bug report was restored from a backup.
Acknowledgement sent to jdassen@wi.leidenuniv.nl (J.H.M.Dassen):
New bug report received and forwarded. Copy sent to Robert Leslie <rob@mars.org>, Soenke Lange <soenke@escher.north.de>, Wendal Catt <wendal@southwind.net>, Manoj Srivastava <srivasta@debian.org>, Peter Tobias <tobias@et-inf.fho-emden.de>.
jdassen@wi.leidenuniv.nl (J.H.M.Dassen)
Sorry, this message was lost when this bug report was restored from a backup.
Received: (at submit) by bugs.debian.org; 5 Dec 1996 08:33:09 +0000
Received: (qmail 18756 invoked from network); 5 Dec 1996 08:33:07 -0000
Received: from zeus.wi.leidenuniv.nl (HELO mailhost.wi.leidenuniv.nl) (root@132.229.128.1)
by master.debian.org with SMTP; 5 Dec 1996 08:33:06 -0000
Received: from ind206ab.wi.leidenuniv.nl (jdassen@ind206ab [132.229.128.223])
by mailhost.wi.leidenuniv.nl (8.6.10a/SBH-1.20.1-M) with ESMTP id JAA01942
Thu, 5 Dec 1996 09:19:45 +0100 (MET)
From: jdassen@wi.leidenuniv.nl (J.H.M.Dassen)
Organization: Leiden University,
Dept. of Mathematics & Computer Science,
The Netherlands
Received: from (jdassen@localhost)
by ind206ab.wi.leidenuniv.nl (8.6.9/FHM-1.03-S) id IAA13488
Thu, 5 Dec 1996 08:19:44 GMT (MET)
Message-Id: <199612050819.IAA13488@ind206ab.wi.leidenuniv.nl>
Subject: junkmail & sendmail (was Re: Email/News Gateways)
To: submit@bugs.debian.org
Date: Thu, 5 Dec 1996 09:19:44 +0100 (MET)
Cc: cas@taz.net.au, karl@tower.net.au
Return-Receipt-To: jdassen@wi.leidenuniv.nl
X-home-page:
X-No-Junk-Mail: I do not want to get *any* junk mail.
Do not add me to any mailing lists without my express request.
X-PGP: finger jdassen@{artemis,hermes,ploutos}.wi.LeidenUniv.nl for PGP key
X-Mailer: ELM [version 2.4 PL24 PGP6]
Content-Type: text
Content-Length: 1921
Package: sendmail, smail, procmail, mailagent, netbase
Version: current
(Reason for the package line: there are a number of ways to deal with
junkmail, on different stages of the process of mail delivery.
tcpwrappers can be used to disallow connections from known offenders.
The mail transfer agents or mail filters can be instructed to forward junk
messages to /dev/null, or fake "user doesn't exists" replies)
Although this came up in a discussion on debian-private, I think it
amounts to a feature request, and as such, I think the bug tracking
system is a more appropriate way of dealing with it.
Craig Sanders wrote:
> What would be beneficial, though, would be for debian's sendmail package to
> take advantage of sendmail 8.8's anti-junkmail features.
>
> There are new sendmail rules for blocking relaying mail from certain
> hosts/domains, and i believe rules for blocking reception of mail from
> certain domains.
>
> It would be good to have that easily enabled as a standard question in
> sendmailconfig.
Yes, but indeed as a question. We don't want claims of censorship.
> A maintained list of known spam sites (cyberpromo.com,
> answerme.com, getrich.com etc etc) would be useful here too.
My procmail junk filter is based on a number of sources, some of high
quality:
- http://www.panix.com/rc.shared (http://www.panix.com/e-spam.html)
- http://host.ptbo.igs.net/~shawn/junkmail.html
- http://www.metareality.com/~nathan/visit.cgi/spam/html.Offenders
- http://www.vix.com/spam/rogues.html
(http://www.vix.com/spam/ also has pointers for configuring sendmail
and tcpwrappers)
- news://news.admin.net-abuse.misc [nanm]
- news://news.admin.net-abuse.email [nane]
- http://www.idot.aol.com/preferredmail/ [aol]
- http://www-ucsee.eecs.berkeley.edu/~set/spam/spammers.txt
- http://www.rahul.net/dhesi/nojunk.txt
Greetings,
Ray
--
Tevens ben ik van mening dat Nederland overdekt dient te worden.
Information forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>, Soenke Lange <soenke@escher.north.de>, Santiago Vila <sanvila@ctv.es>, Manoj Srivastava <srivasta@debian.org>, Peter Tobias <tobias@et-inf.fho-emden.de>:
Bug#5795; Package sendmail, smail, procmail, mailagent, netbase.
debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>Soenke Lange <soenke@escher.north.de>Santiago Vila <sanvila@ctv.es>Manoj Srivastava <srivasta@debian.org>Peter Tobias <tobias@et-inf.fho-emden.de>
Sorry, this message was lost when this bug report was restored from a backup.
Acknowledgement sent to Rob Leslie <rob@mars.org>:
Extra info received and forwarded to list. Copy sent to Robert Leslie <rob@mars.org>, Soenke Lange <soenke@escher.north.de>, Santiago Vila <sanvila@ctv.es>, Manoj Srivastava <srivasta@debian.org>, Peter Tobias <tobias@et-inf.fho-emden.de>.
Rob Leslie <rob@mars.org>
Sorry, this message was lost when this bug report was restored from a backup.
Received: (at 5795) by bugs.debian.org; 25 Dec 1996 01:53:32 +0000
Received: (qmail 3802 invoked from network); 25 Dec 1996 01:53:31 -0000
Received: from deimos.mars.org (root@199.103.241.202)
by master.debian.org with SMTP; 25 Dec 1996 01:53:27 -0000
Received: from deimos.mars.org (rob@localhost [127.0.0.1])
by deimos.mars.org (8.8.4/8.8.4) with ESMTP id UAA18917; Tue, 24 Dec 1996 20:53:25 -0500
Message-Id: <199612250153.UAA18917@deimos.mars.org>
To: jdassen@wi.leidenuniv.nl (J.H.M.Dassen), 5795@bugs.debian.org
Cc: Soenke Lange , Wendal Catt ,
Manoj Srivastava ,
Peter Tobias , cas@taz.net.au,
karl@tower.net.au
Subject: Re: Bug#5795: junkmail & sendmail (was Re: Email/News Gateways)
In-reply-to: Your message of "Thu, 05 Dec 1996 09:19:44 +0100."
<199612050819.IAA13488@ind206ab.wi.leidenuniv.nl>
Date: Tue, 24 Dec 1996 20:53:25 -0500
From: Rob Leslie
I am happy to include an option in `sendmailconfig' to enable junk-filtering
rules, if someone is willing to propose to me exactly what rules should be
enabled, and how they would work.
--
Robert Leslie
rob@mars.org
Information forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>, Soenke Lange <soenke@escher.north.de>, Santiago Vila <sanvila@ctv.es>, Manoj Srivastava <srivasta@debian.org>, Peter Tobias <tobias@et-inf.fho-emden.de>:
Bug#5795; Package sendmail, smail, procmail, mailagent, netbase.
debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>Soenke Lange <soenke@escher.north.de>Santiago Vila <sanvila@ctv.es>Manoj Srivastava <srivasta@debian.org>Peter Tobias <tobias@et-inf.fho-emden.de>
Sorry, this message was lost when this bug report was restored from a backup.
Acknowledgement sent to Craig Sanders <cas@taz.net.au>:
Extra info received and forwarded to list. Copy sent to Robert Leslie <rob@mars.org>, Soenke Lange <soenke@escher.north.de>, Santiago Vila <sanvila@ctv.es>, Manoj Srivastava <srivasta@debian.org>, Peter Tobias <tobias@et-inf.fho-emden.de>.
Craig Sanders <cas@taz.net.au>
Sorry, this message was lost when this bug report was restored from a backup.
Received: (at 5795) by bugs.debian.org; 27 Dec 1996 02:57:06 +0000
Received: (qmail 7933 invoked from network); 27 Dec 1996 02:56:53 -0000
Received: from siva.taz.net.au (cas@203.16.167.2)
by master.debian.org with SMTP; 27 Dec 1996 02:56:47 -0000
Received: from localhost (cas@localhost) by siva.taz.net.au (8.8.3/8.8.3) with SMTP id NAA10238; Fri, 27 Dec 1996 13:55:35 +1100
Date: Fri, 27 Dec 1996 13:55:35 +1100 (EST)
From: Craig Sanders
To: Rob Leslie
cc: "J.H.M.Dassen" , 5795@bugs.debian.org,
Soenke Lange ,
Wendal Catt ,
Manoj Srivastava ,
Peter Tobias , karl@tower.net.au
Subject: Re: Bug#5795: junkmail & sendmail (was Re: Email/News Gateways)
In-Reply-To: <199612250153.UAA18917@deimos.mars.org>
Message-ID:
X-No-Junk-Mail: Do not send me junk mail under any circumstances
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Tue, 24 Dec 1996, Rob Leslie wrote:
> I am happy to include an option in `sendmailconfig' to enable
> junk-filtering rules, if someone is willing to propose to me exactly
> what rules should be enabled, and how they would work.
I downloaded the m4 script hacks (for sendmail 8.8.x) about two weeks
ago - the day after some slimy ^!$@%@!!@ used my system to relay spam to
hundreds of compuserve victims.
See http://www.informatik.uni-kiel.de/%7Eca/email/check.html for more
details.
They're remarkably easy to use. I've just spent a few minutes adding
comments to the additions to /etc/mail/sendmail.mc which hopefully
make it very clear what each hack does and how to use it.
All of the following could be folded into the standard sendmail package,
or they could be turned into a separate add-on package which depends on
sendmail.
1. untar the check.tar file in /usr/lib/sendmail.cf
-rw-r--r-- 152/1000 1733 Nov 25 01:01 1996 README.check
-rw-r--r-- 152/1000 1711 Nov 24 04:44 1996 hack/check_mail.m4
-rw-r--r-- 152/1000 1799 Dec 11 20:13 1996 hack/check_rcpt.m4
-rw-r--r-- 152/1000 1159 Nov 25 00:54 1996 hack/spamdoms.m4
-rw-r--r-- 152/1000 1165 Nov 24 04:45 1996 hack/spammers.m4
-rw-r--r-- 152/1000 1187 Nov 25 01:09 1996 hack/use_ip.m4
-rw-r--r-- 152/1000 1194 Nov 25 01:09 1996 hack/use_names.m4
-rw-r--r-- 152/1000 1144 Nov 24 04:44 1996 hack/use_relayto.m4
2. To reject junkmail from known vermin, add the following
lines to /etc/mail/sendmail.mc
# The following lines reject inbound mail from specified email addresses
# and/or domains
#
# /etc/mail/SpamDomains -- file containing domains of well-known spammers
#
# /etc/mail/Spammer -- file containing full e-mail addresses of well-known
# spammers
HACK(spammers)
HACK(spamdoms)
HACK(check_mail)
3. create sample /etc/mail/SpamDomains and /etc/mail/Spammer files
here's just the head of what mine look like:
# head -3 /etc/mail/Spam*
==> /etc/mail/SpamDomains <==
moneyworld.com
natureplus.com
cyberpromo.com
==> /etc/mail/Spammer <==
mailer@aol.com
massmail@aol.com
memory@gruber.com
4. To control who is allowed to relay mail through your machine, and/or
to control which hosts mail may be relayed to, add the following to
/etc/mail/sendmail.mc
# Control relaying of mail to other hosts.
#
# /etc/mail/LocalIP -- file containing IP numbers of machines which can
# use our relay
#
# /etc/mail/LocalNames -- file containing names of machines which can
# use our relay. Can be fully qualified hostnames
# or domain names.
#
# /etc/mail/RelayTo -- file containing names we relay to. Can be fully
# qualified hostnames or domain names.
HACK(use_ip)
HACK(use_names)
HACK(use_relayto)
HACK(check_rcpt)
5. create sample /etc/mail/LocalIP, /etc/mail/LocalNames, and
/etc/mail/RelayTo files.
here's just the head of what mine look like:
# head -3 /etc/mail/Local* /etc/mail/RelayTo
==> /etc/mail/LocalIP <==
203.16.167.1
203.16.167.2
203.16.167.3
==> /etc/mail/LocalNames <==
taz.net.au
cec.edu.au
pronet.com
==> /etc/mail/RelayTo <==
taz.net.au
cec.edu.au
pronet.com
The sample files created by sendmailconfig should list just the local
hostname, local domain name, and local ip address by default.
craig