procmail
[Top] [All Lists]

Re: A recipe does not work for one list only

2005-04-18 10:52:22

On Mon, 18 Apr 2005, Dallman Ross <dman(_at_)nomotek(_dot_)com> wrote:

Btw, Hossein, if you're using the ^TO_ macro, you don't need ".*"
after it.  Just this is better:

    * ^TO_farsitex-user@

But Gerald makes a good point in that it's best with lists to
go for specific header fields that are list-reserved; and

 X-BeenThere: farsitex-user(_at_)lists(_dot_)sourceforge(_dot_)net
 List-Id: A mailing list for users of FarsiTeX 
<farsitex-user.lists.sourceforge.net>

are both excellent candidates.

I tried '* 
^X-BeenThere:(_dot_)*farsitex-user(_at_)lists(_dot_)sourceforge(_dot_)net'
(without quotes). It does not work. However the same common
condition, i.e. '* 
^X-BeenThere:(_dot_)*procmail(_at_)lists(_dot_)rwth-aachen(_dot_)de'
works fine.

In my previous attempts I used a ~/.procmailrc with only one recipe
for tests, but this time included all recipes in that. The file
$LOGFILE is created successfully. $LOGFILE and ~/.procmailrc are about
12 KB and 3 KB respectively. I really don't know which parts should
be cut and pasted here, however if you wish to see them I can compress
and send them to you.

BTW, from 3 mails that I received from procmail mailing-list, one
of them didn't contain 'X-BeenThere: 
procmail(_at_)lists(_dot_)rwth-aachen(_dot_)de'.
Is it safe to use
'* ^(X-BeenThere:.*|TO_)procmail(_at_)lists(_dot_)rwth-aachen(_dot_)de'?
I am asking this because about 20 mails was lost in one of the tests.

Thanks,
Hossein

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail