RE: incoming to rule no firing...

David Grimberg <[email protected]>
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
Well the to[-file] rules are used to filter on the various addresses that
you receive email at, not the to: header line in the email.  So unless your
email account has some aliases associated with it, the only addresses that
would make sense in a to[-file] rule would be of the form [email protected]
or tony-<extension>@ercolano.com.  To deal with mailing lists you will
really need to use one of the from rules and probably with wildcards. E.g. 

to *@=groups.yahoo.com DELOK
to yahoogroups.com DELOK
to lists.sourceforge.net DELOK

Etc.

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Anthony Ercolano
> Sent: Monday, October 02, 2006 4:35 PM
> To: [email protected]
> Subject: incoming to rule no firing...
> 
> In my INCOMING filter I have the following text:
> 
> macro SPAMDEL	deliver=~/.maildir/.spam/
> macro DELOK deliver=~/.maildir/
> 
> (Yes I could choose better names.)
> 
> A little further on in the INCOMING filter file I have
> 
> # If the send to address is one of my mailing lists, let it through.
> #
> to-file ~/.tmda/lists/mailinglists DELOK
> 
> In my /etc/tmdarc file I have:
> 
> import os
> 
> LOGFILE_DEBUG = "/var/log/tmdadebug"
> LOGFILE_INCOMING = "/var/log/tmdaincom"
> LOGFILE_OUTGOING = "/var/log/tmdaoutgo"
> CONFIRM_ACCEPT_NOTIFY = 0
> ACTION_INCOMING = "hold"
> 
> The contents of my mailinglists file has:
> [email protected]
> [email protected]
> 
> I get an emai with the following headers:
> 
> Received: from [66.163.187.120] by n8.bullet.sc5.yahoo.com 
> with NNFMP; 
> 01 Oct 2006 22:25:31 -0000
> Received: from [66.218.69.2] by t1.bullet.sc5.yahoo.com with 
> NNFMP; 01 
> Oct 2006 22:25:31 -0000
> Received: from [66.218.66.90] by t2.bullet.scd.yahoo.com with 
> NNFMP; 01 
> Oct 2006 22:25:31 -0000
> To: [email protected]
> Message-ID: <[email protected]>
> User-Agent: eGroups-EW/0.82
> X-Mailer: Yahoo Groups Message Poster
> 
> Yet the above mail ends up in my pending queue.
> 
> At the top of the list of headers from tmda-cgi I also see:
> Return-Path: 
> <[email protected]
ps.yahoo.com>
> Delivered-To: 
> 
> [email protected]
> 
> What obvious thing am I missing?
> 
> Thank you
> 
> 
> _____________________________________________
> tmda-users mailing list ([email protected])
> http://tmda.net/lists/listinfo/tmda-users
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.