10 messages in net.sourceforge.lists.courier-maildrop[maildropl] "If" statement not working
FromSent OnAttachments
Steve QuezadasNov 2, 2004 5:09 pm 
Ron JohnsonNov 2, 2004 9:11 pm 
Matthias AndreeNov 3, 2004 6:15 am 
Ron JohnsonNov 3, 2004 6:21 am 
Devin RubiaNov 3, 2004 8:18 am 
Matthias AndreeNov 3, 2004 9:43 am 
Dmitri OrleanskiNov 3, 2004 11:03 am 
Steve QuezadasNov 3, 2004 12:05 pm 
Matthias AndreeNov 3, 2004 1:51 pm 
Thorsten HaudeNov 3, 2004 3:11 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] "If" statement not workingActions...
From:Steve Quezadas (Ste@hostcollective.com)
Date:Nov 2, 2004 5:09:58 pm
List:net.sourceforge.lists.courier-maildrop

This is weird, my simple recipe is not working because maildrop seems to be choking on the "if" statement. I checked google and newsgroups and I couldn't find much on this.

My simple recipe is as follows:

VERBOSE=9

logfile "/$HOME/maildrop.log"

DEFAULT="$HOME/domains/acme.com/mark/Maildir/"

if (/^Received:.*/)

{

to "$HOME/domains/acme.com/mark/Maildir/testing"

}

When I try to execute it, this is the error that it's giving me:

[localhost]$ /usr/bin/maildrop /usr/vpopmail/domains/acme.com/mark/.mailfilter < test.txt

/usr/vpopmail/domains/acme.com/mark/.mailfilter(2): Opening logfile //usr/vpopmail/log.txt

/usr/vpopmail/domains/acme.com/mark/.mailfilter(6): DEFAULT="/usr/vpopmail/domains/acme.com/mark/Maildir/"

/usr/vpopmail/domains/acme.com/mark/.mailfilter(8): Evaluating IF condition.

maildrop: signal 0x04

What is "signal 0x04"?

- Steve