procmail
[Top] [All Lists]

Re: A recipe does not work for one list only

2005-04-18 05:20:32

On Mon, 18 Apr 2005, Gerald V. Livingston II <debuser(_at_)sysmatrix(_dot_)net> 
wrote:

On Sun, 17 Apr 2005, Google Kreme <gkreme(_at_)gmail(_dot_)com> wrote:

FTR, I would simply write

* ^TO_:.*farsitex-user@

On Mon, 18 Apr 2005 12:23:13 +0430 (IRST) Hossein Movahhedian wrote:

I applied all of them and tested the following versions of RCFILEs:

:0
* ^TO_.*farsitex-user@
{
   :0
   | echo "Mail received from: Ftex-user" >> $MSG_FILE
...

:0
* ^TO_.*farsitex-user@
{
   OLDLOG=$LOGFILE
...

But still they don't work and while $LOGFILE and $MSG_FILE are
created with other lists, nothing is created with `farsitex-user'

Neither of those matches what GoogleKreme wrote. You are missing the ":"
after "^TO_". I honestly don't know if it makes a difference as I'm super
tired right now and working on a mail server that has nothing to do with
procmail -- but the point is, you didn't try what he told you to try, you
did something different.
I did exactly what Kreme wrote, i.e. I used "^TO_:" with ":" at the end.
But it didn't work. Not with `farsitex-user' nor with other lists.
So I tried "^TO_" without ":" after that. and surprisingly it worked for
other lists, but not for `farsitex-user'.

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