Can Any one tell me about possibilities about why on my server, X-Command sending the info/help file instead of output of showdist?
While investigating rc.request file, i found that
score generated at line 354 & 355 is 0 & 3 respectively and thus it is satisfying the criteria of help/info request and thus help/info response is sent through email to list maintainer instead of output of x_command showdist.
The chunk of code being executed is as below,
343 # Is it an info or help request? Send back the help.txt and the
344 # optional info.txt file.
345 # We do the same on a complete empty mail (except for perhaps a signature).
346 #
347
348 :0 EHB
349 * 3^0 ^^(.+$)*Subject:[ ]*\
350 (([(<]no(ne| subject( (\(file transmission|given))?)[>)])?$\
351 (.+$)*(^[ ]*)+)?[a-z,. ]*(help|info(rmation)?)\>
352 * 1^0 ^^(.+$)*Subject:[ ]*\
353 &nbs
([(<]no(ne| subject( (\(file transmission|given))?)[>)])?$
354 * -2^0 ^^(.+$)*(^[ ]*)+[a-z]
355 * 3^0 ^^(.+$)*^([ ]*$)*--
356 {
357 :0 hw ${cc_requests:+c}
358 | (formail -i"From: $listreq" -rtA"X-Loop: $listaddr"; \
359 cat help.txt info.txt 2>/dev/null ) | $SENDMAIL $sendmailOPT -t
360
361 :0 wfh
362 | formail -A "X-Diagnostic: help sent"
363 }
I am not familiar with the syntax used is rc.request files; It would be great help if you can look into this and help me with the suggestion on this.
The message was as below,
From samsonkt12@yahoo.com Mon May 21 02:36:28 2007
Received: from web57513.mail.re1.yahoo.com (web57513.mail.re1.yahoo.com [66.196.100.80])
by HOSTNAME (8.12.11.20060614/8.12.10) with SMTP id l4L6aSuL007889
for <testlist-request@HOSTNAME>; Mon, 21 May 2007 02:36:28 -0400
Received: (qmail 56378 invoked by uid 60001); 21 May 2007 06:16:14 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=s1024; d=yahoo.com;
h=Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-
ansfer-Encoding:Message-ID;
b=UzKUE5dcq70ifamV5cNSUAl3hrq0jJ7IXH52yIKiOkWGGVE8bAUEUI3tZvBw4zOIln/MzNlWQEjwm4BbkAV33Pb5jnI1P59CTDu5ab9rOV/CMrM2KkXlS7KbeDE9l+EAGiJJxyZFJ6LNgBctfGEEo/RX73
1N3esjyHE/J0ah6Vg=;
Received: from [203.199.150.60] by web57513.mail.re1.yahoo.com via HTTP; Sun, 20 May 2007 23:16:14 PDT
Date: Sun, 20 May 2007 23:16:14 -0700 (PDT)
From: Kiran Telangi <samsonkt12@yahoo.com>
Subject: X-Command: samsonkt12@yahoo.com test123 showdist
To: testlist-request@HOSTNAME
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-1681830078-1179728174=:50055"
Content-Transfer-Encoding: 8bit
Message-ID: <549458.50055.qm@web57513.mail.re1.yahoo.com>
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-2.0.2 (HOSTNAME [HOSTIP]); Mon, 21 May 2007 02:36:30 -04
00 (EDT)
--0-1681830078-1179728174=:50055
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Command: samsonkt12@yahoo.com test123 showdist
---------------------------------
Give spam the boot. Take control with tough spam protection
in the all-new Yahoo! Mail Beta.
---------------------------------
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.
--0-1681830078-1179728174=:50055
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
<a id="folderviewmsg3subjlink" href="ShowLetter?MsgId=4283_37895_648_1470_1032_0_4_2316_1145639870&Idx=3&YY=43936&y5beta=yes&y5beta=yes&in
c=25&order=down&sort=date&pos=0&view=&head=&box=Inbox">X-Command: samsonkt12@yahoo.com test123 showdist</a><p>
<hr size=1>Give spam the boot. Take control
with <a href="http://us.rd.yahoo.com/evt=47
0/*http://advision.webevents.yahoo.com/mailbeta/newmail_html.ht
ml">tough spam protection</a><br>in the all-new Yahoo! Mail Beta.<p> 
<hr size=1>Park yourself in front of a world of choices in alternative vehicles.<br><a href="http://us.rd.yahoo.com/evt=48246/*http://autos.yahoo.com/gr
een_center/;_ylc=X3oDMTE5cDF2bXZzBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDZ3JlZW4tY2VudGVy">Visit the Yahoo! Auto Green Center.</a>
--0-1681830078-1179728174=:50055--
Thanks,
Kiran.
Shape Yahoo! in your own image.
Join our Network Research Panel today!
http://us.rd.yahoo.com/evt=48517/*http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
hot CTA = Join our Network Research Panel