Hi,

I usually use procmail to filter mailing list messages into different
folders before they hit tmda.  I've given a sender a keyword address,
and he regularly Bcc:'s that keyword address from different addresses.
I'd like to put all messages to that keyword address into its own
folder.

I haven't been able to accomplish this with procmail - does anyone
know how to catch the Bcc:'d address?

Failing that, I tried to use tmda to deliver to a special mailbox:

[EMAIL PROTECTED]:~> grep FILTER_INCOMING ~/.tmda/config
FILTER_INCOMING = os.path.expanduser("~/.tmda/filters/incoming")
[EMAIL PROTECTED]:~> 
[EMAIL PROTECTED]:~> head -15 ~/.tmda/filters/incoming
### ~/.tmda/filters/incoming (first match wins) ###

# Accept all bounces (messages with an empty envelope sender)
from <> ok

# Accept all messages to postmistress
#to [EMAIL PROTECTED] accept

# Bounce all messages from badboy.dom
#from [EMAIL PROTECTED] bounce

# special delivery
to [EMAIL PROTECTED] deliver=~/mail/lists/sonar

# Include my blacklist and whitelist
[EMAIL PROTECTED]:~> 
[EMAIL PROTECTED]:~> tail -f ~/.tmda/logs/200310-incoming
                    
Date: Wed Oct 8 12:20:29 EDT 2003
From: Jon Nathan <[EMAIL PROTECTED]>
  To: [EMAIL PROTECTED]
Subj: whee
Actn: OK good_keyword_cookie "sonar" (853)

However, the message gets delivered to my inbox, not the one specified
in the incoming filter.

The specified mailbox exists and is owned by my uid.  
[EMAIL PROTECTED]:~> ls -al ~/mail/lists/sonar 
-rw-r--r--  1 jon  users  0 Oct  7 18:23 /home/jon/mail/lists/sonar
[EMAIL PROTECTED]:~> 

Any ideas why it is not delivering correctly?

For what it's worth, these are the relevant headers for when I receive
the message Bcc'd to my keyword address:

Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net       
+[207.217.120.49])                                                              
        by froody.rupture.net (8.12.9/8.12.9) with ESMTP id h97FPAuZ043638      
        for <[EMAIL PROTECTED]>; Tue, 7 Oct 2003 11:25:11    
+-0400 (EDT)                                                                    
        (envelope-from [EMAIL PROTECTED])                                   
Received: from h-68-166-70-44.mclnva23.dynamic.covad.net ([68.166.70.44]        
+helo=ultrawor-e68spp.ultraworld.net)                                           
        by scaup.mail.pas.earthlink.net with esmtp (Exim 3.33 #1)               
        id 1A6tV4-0005W2-00; Tue, 07 Oct 2003 08:11:46 -0700                    
Message-Id: <[EMAIL PROTECTED]>       

(How to match the: for <jon+keyword..> with procmail?)


-jon

-- 
Jon Nathan
[EMAIL PROTECTED]

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to