14 messages in net.sourceforge.lists.courier-maildropRE: [maildropl] Re: syntax problem (d...
FromSent OnAttachments
Benjamin TomhaveApr 9, 2003 3:23 pm 
Sam VarshavchikApr 9, 2003 3:49 pm 
Benjamin TomhaveApr 10, 2003 8:25 am 
Sam VarshavchikApr 10, 2003 8:48 am 
Benjamin TomhaveApr 10, 2003 9:28 am 
Sam VarshavchikApr 10, 2003 10:09 am 
Devin RubiaApr 10, 2003 10:19 am 
Benjamin TomhaveApr 10, 2003 11:14 am 
Benjamin TomhaveApr 10, 2003 11:15 am 
Rolan YangApr 10, 2003 11:22 am 
Benjamin TomhaveApr 10, 2003 11:44 am 
Devin RubiaApr 11, 2003 6:04 am 
Fernando La GambaApr 14, 2003 12:40 pm 
Gatis GailisApr 14, 2003 1:46 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:RE: [maildropl] Re: syntax problem (did something change from 1.3.8 to 1.5.2?)Actions...
From:Benjamin Tomhave (btom@sofast.net)
Date:Apr 10, 2003 11:15:51 am
List:net.sourceforge.lists.courier-maildrop

Why would this be working for people w/ maildrop 1.3.8 and not be working for me w/ 1.5.2? This is the main thrust of my original question. What changed?

-----Original Message----- From: cour@lists.sourceforge.net [mailto:cour@lists.sourceforge.net]On Behalf Of Sam Varshavchik Sent: Thursday, April 10, 2003 11:09 AM To: cour@lists.sourceforge.net Subject: [maildropl] Re: syntax problem (did something change from 1.3.8 to 1.5.2?)

Benjamin Tomhave writes:

Excuse me, but WTF? That was certainly rude and not called for.

The original code was:

`test -d $VHOME/Maildir` if ( $RETURNCODE == 1 ) { echo "Sorry, no mailbox here by that name. (#5.1.1)" EXITCODE=100 exit }

The maildropfilter man page seems to indicate that RETURNCODE should get populated with the value of the test statement. Is this the case or not, oh great master creator?

What part of "The RETURNCODE variable will be set to the exit code of the command, after it completes" do you not understand? Do you see the word "value" anywhere in there?

As you had suggested in your previous email, I tried assigning the test statement to a variable and testing against that variable instead of against RETURNCODE,

I do not recall saying anything about RETURNCODE. I told you to assign `command` to a dummy variable. That's it. No mention of RETURNCODE.

Don't slap me in the face for being confused by your documentation.

You are confused because you do not understand the difference between "command output", and "command exit code". Both are traditional UNIX concepts that have existed for decades.