Re: Filter envelope sender not from address to prevent new spam attack
Russell Robinson <[email protected]> Thu, 30 Apr 2009 09:39:05 +1000
| Newsgroups | gmane.mail.spam.tmda.user |
|---|---|
| Organization | Root Software |
| Message-ID | <[email protected]> |
Hi, Thanks for your reply. On Thu, 30 Apr 2009 07:02:30 am Dave Steinberg wrote: > My understanding was that TMDA *only* uses the envelope sender, except > if you use a headers directive to look at the 'from' field, which I am > guessing you're not doing. It seems not.... I just had a detailed look at the tmda-filter code. I'm not a python programmer, but in the "main()" function it seems to be creating an array called "sender_list" which consists of the envelope sender, the list of From addresses and the list of Reply-To addresses. It then calls infilter.firstmatch with the sender_list, which returns when it finds something that matches. And it succeeds because the From address is included in the sender_list. I've checked the code in version tmda-1.1.12 and it's the same. > > You've confirmed your analysis in your incoming log, yes? Its a 'from' > entry of some kind that's matching? Yes, Here's a log file entry: Date: Wed, 01 Apr 2009 08:23:24 +1100 Sndr: [email protected] From: "Heidi Carver" <[email protected]> To: [email protected] Subj: Vacheron Constantin cheaper than you could imagine! Actn: OK (from-file ~/.tmda/lists/whitelist ok) (1172) [email protected] is in the whitelist, whereas [email protected] is not. This seems to confirm my code analysis above. -- Russell Robinson ([email protected]) Author of Tectite FormMail and FormMailEncoder/Decoder Root Software (www.tectite.com) ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ tmda-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tmda-users