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 [EMAIL PROTECTED] 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: tmda-users@tmda.net > 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] > qmail-scanner-general@lists.sourceforge.net > > 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 (tmda-users@tmda.net) > http://tmda.net/lists/listinfo/tmda-users > _____________________________________________ tmda-users mailing list (tmda-users@tmda.net) http://tmda.net/lists/listinfo/tmda-users