On 6/22/10 3:45 PM, Eric Shubert wrote:

 Scott Hughes wrote:
 I have a .mailfilter file set up to filter my QMT-list emails into a
 QMT folder.  Most emails go in there just fine, but some do not. I
 think it is because of the difference in the 'To:' line.

 Here is the part of the .mailfilter file in question:


 ##############################################
 # QMT filter list - QMT mailing list
 ##############################################
 if ( /^To:. *([email protected])/ )
 {
         exception {
                 to $VHOME/Maildir/.QMT/
         }
 }


 The ones that aren't being filter correctly have a 'To:' line like this:


 To: "[email protected]"
 <[email protected]>

 I assume that this is a mail client issue, but my question is if
 maildrop can do wildcards so as to be able to catch these differences?

 Haven't been able to locate anything like that on the web or in the
 files.

 Thanks,

 Scott


 There hasn't been much (any?) discussion of filtering with QMT. I
 expect that dovecot's 'deliver' program, with the sieve filtering
 extention, will eventually displace maildrop-toaster in QMT, so I'm
 waiting for dovecot before delving into server-side filtering.

 In the meantime, have you looked at gname.org for your list access
 needs? I use it with Thunderbird, and no longer have to do any
 filtering of list emails. :)

I think I have figured it out!  *Doing happy dance*

I changed the 'if' statement line to use the 'Reply-To' instead of
'To'.   The Reply-To line always stays the same it appears. I have
another list that was having the same problem so I've changed it as
well.  We'll see if that takes care of the issue.

I haven't looked at gname.org.  I'll take a look at it.

Thanks,

Scott


Yes, that fix seemed to do the trick if it is of use to anyone else.

Scott



---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]


Reply via email to