From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40045 Path: main.gmane.org!not-for-mail From: "Matt Armstrong" Newsgroups: gmane.emacs.gnus.general Subject: Re: thoughts on spam Date: Mon, 05 Nov 2001 15:54:48 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: <87k7x4bzgn.fsf__4065.5184690424$1042209869@squeaker.lickey.com> References: <87y9m9fs6b.fsf@squeaker.lickey.com> <87elo1exsd.fsf@squeaker.lickey.com> <20011102160930.CC3D1BD52@squeaker.lickey.com> <87wv192jzh.fsf_-_@mclinux.com> <861yjgbygz.fsf@duchess.twilley.org> <20011102235444.E9C73BD48@squeaker.lickey.com> <87vggolvwr.fsf@thanatos.shenton.org> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035175657 31167 80.91.224.250 (21 Oct 2002 04:47:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:47:37 +0000 (UTC) Cc: ding@gnus.org, tmda-users@libertine.org Return-Path: Original-Received: (qmail 27741 invoked from network); 5 Nov 2001 22:57:30 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 5 Nov 2001 22:57:30 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 160sel-000098-00; Mon, 05 Nov 2001 16:55:51 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 05 Nov 2001 16:55:31 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id QAA14716 for ; Mon, 5 Nov 2001 16:55:13 -0600 (CST) Original-Received: (qmail 27659 invoked by alias); 5 Nov 2001 22:55:14 -0000 Original-Received: (qmail 27647 invoked from network); 5 Nov 2001 22:55:12 -0000 Original-Received: from hank.lickey.com (64.81.100.235) by gnus.org with SMTP; 5 Nov 2001 22:55:12 -0000 Original-Received: from squeaker.lickey.com (squeaker.lickey.com [192.168.100.10]) by hank.lickey.com (Postfix) with ESMTP id 69D03EE34 for ; Mon, 5 Nov 2001 15:54:54 -0700 (MST) Original-Received: from localhost (localhost [127.0.0.1]) by squeaker.lickey.com (Postfix) with ESMTP id 99149BD36 for ; Mon, 5 Nov 2001 15:54:53 -0700 (MST) Original-Received: by squeaker.lickey.com (Postfix, from userid 1000) id 08A72BD48; Mon, 5 Nov 2001 15:54:50 -0700 (MST) Original-To: Chris Shenton Mail-Followup-To: tmda-users@libertine.org Original-Lines: 72 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i386-debian-linux-gnu) X-Delivery-Agent: TMDA v0.40/Python 1.5.2 (linux2) X-Virus-Scanned: by AMaViS snapshot-20010714 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:40045 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:40045 Note: I've set the Mail-Followup-To: to tmda-users@libertine.org since this is off topic for ding@gnus.org Chris Shenton writes: > This discussion has finally motivated me to try TMDA. Just built > and installed it but I'm having trouble figuring the best way to use > it with all the mailing lists I'm already on. > > Naturally, the second I enabled it in .qmail[-default] it started > pumping msgs to ~/.tmda/pending. > > I don't see anything in my qmail logs which tells me the envelope > sender; any suggestions how I can capture this? For mailing lists, > the From: is usually not what I want, since that just gets the > originating human's address. Most the lists I'm on do not have a > Reply-To: either. Stick something like this in your .tmdarc: import time localtime = time.localtime(time.time()) YYYYmm = time.strftime('%Y-%m',localtime) LOGFILE = os.path.expanduser("/home/matt/.tmda/log/tmdalog." + YYYYmm) This'll give stuff like this in your ~/.tmda/log/tmdalog.2001-11 file: Date: Thu Nov 1 08:33:03 2001 From: c379sb1@caramail.com To: matt+bmi@lickey.com Subj: Sales leads for your business. Actn: CONFIRM pending 1004628783.24166.msg (693) Note the Actn: line shows that tmda sent a confirmation mail for this one -- you didn't get it in your inbox. The envelope sender will be in the Sndr: line. In this case, the envelope sender was the same as the From: line, so TMDA omitted it. > Sounds like the best thing is to unsubscribe from all my lists then > resubscribe with one of the username-extensions like "sender", right? I eventually ended up doing that, rather than whitelist them. I use the recently added "keyword" style addresses. For example, I subscribed to ding@gnus.org as matt+ding.e75467@lickey.com. TMDA will accept this address regardless of who sends it, which can sometimes be helpful with dealing with lists. E.g. if you get mail from majordomo@wherever.com, you'll get it. If you just whitelist "list-owner@wherever.com" you may miss such mails. Then, if the list requires that you be subscribed to post, you can add something like this to your ~/.tmda/lists/keyword file: ding@gnus.org ding and tmda-inject will munge your From address to be user+ding.e75467@yourdomain.com. If this address ever starts getting spam, stick it in your ~/.tmda/lists/revoked file and start using ding2 as your keyword. ;-) > That's gonna take some time, so I'm looking for clues to help me > make the transition less painful. Suggestions welcomed. You might also set BOUNCE_CONFIRM_CC to be something like chris-bounces@shenton.org -- and have .qmail-bounces deliver to a mail folder that you check periodically, until you've got all your mailing lists accounted for. -- matt