Re: maillist.php creating empty posts [message #17597 is a reply to message #17590] |
Tue, 06 April 2004 14:58 |
sutehi
Messages: 5 Registered: April 2004
Karma:
|
Junior Member |
|
|
> Fixed in CVS.
I've just re-installed from the current CVS, and now maillist.php *does* generate errors when trying to import a mail list message to the forums.
~test.data is my data directory
~test.cp is the web root for FUD
test(at)listserv(dot)domain(dot)net is the mail list address for my forum.
----------------------------------------------------------------
procmail: Match on "(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To).*[^-a-zA-Z0-9_.])?).*test(at)listserv(dot)clutchpig(dot)net"
procmail: Assigning "LASTFOLDER=/u2/afs/home/arakune/web_tree/test.data/scripts/maillist.php 1"
From test-bounces(at)listserv(dot)domain(dot)net Tue Apr 6 10:34:47 2004
Subject: [test] test from email to forums 2
Folder: /u2/afs/home/arakune/web_tree/test.data/scripts/maillist.php 2576
procmail: Notified comsat: "arakune@:/u2/afs/home/arakune/web_tree/test.data/scripts/maillist.php 1"
procmail: Unlocking "/afs/home/arakune/.lockmail"
procmail: Executing "/u2/afs/home/arakune/web_tree/test.data/scripts/maillist.php,1"
/u2/afs/home/arakune/web_tree/test.data/scripts/maillist.php: From: command not found
/u2/afs/home/arakune/web_tree/test.data/scripts/maillist.php: syntax error near unexpected token `<test-bounces(at)listserv(dot)domain(dot)net>'
/u2/afs/home/arakune/web_tree/test.data/scripts/maillist.php: /u2/afs/home/arakune/web_tree/test.data/scripts/maillist.php: line 2: `Return-Path: <test-bounces(at)listserv(dot)domain(dot)net>'
------------------------------------------------------
As near as I can tell (and I could be way off on this), it seems to be having trouble parsing the message headers. If this is indeed the case, the message headers from the post are as follows:
----------------------------------------------------------------
From test-bounces(at)listserv(dot)domain(dot)net Tue Apr 6 10:37:32 2004
Return-Path: <test-bounces(at)listserv(dot)domain(dot)net>
Received: from psmtp.com by cadence.domain.org (8.9.3/linuxconf)
with SMTP id KAA21208 for <stephanie(at)domain(dot)org>; Tue, 6
Apr 2004 10:37:30 -0400
Received: from peltier.cp.domain.org (peltier.cp.domain.org [127.0.0.1])
by peltier.cp.domain.org (8.11.6/8.11.6) with ESMTP id i36EbQM30099
for <stephanie(at)domain(dot)org>; Tue, 6 Apr 2004 10:37:26 -0400
X-Mailman-Handler: $Id: mm-handler,v 1.2 2002/04/05 19:41:09 bwarsaw Exp $
Received: from cadence.domain.org (IDENT:root(at)cadence(dot)domain(dot)org)
by peltier.cp.domain.org (8.11.6/8.11.6) with ESMTP id i36EbOM30093
for <test(at)listserv(dot)domain(dot)net>; Tue, 6 Apr 2004 10:37:21 -0400
Received: (from arakune@localhost)
by cadence.domain.org (8.9.3/linuxconf) id KAA21190
for test(at)listserv(dot)domain(dot)net; Tue, 6 Apr 2004 10:37:20 -0400
Date: Tue, 6 Apr 2004 10:37:20 -0400
From: Steph Smith <stephanie(at)domain(dot)org>
To: test(at)listserv(dot)domain(dot)net
Message-ID: <20040406143720(dot)GA1518(at)cadence(dot)domain(dot)org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4.1i
Subject: [Test] test from email to forum 3
X-BeenThere: test(at)listserv(dot)domain(dot)net
X-Mailman-Version: 2.1
Precedence: list
Reply-To: Steph Smith <stephanie(at)domain(dot)org>
List-Id: <test.listserv.domain.net>
List-Unsubscribe: <http://listserv.domain.net/mailman/listinfo/test>,
<mailto:test-request(at)listserv(dot)domain(dot)net?subject=unsubscribe>
List-Archive: <http://listserv.domain.net/pipermail/test>
List-Post: <mailto:test(at)listserv(dot)domain(dot)net>
List-Help: <mailto:test-request(at)listserv(dot)domain(dot)net?subject=help>
List-Subscribe: <http://listserv.domain.net/mailman/listinfo/test>,
<mailto:test-request(at)listserv(dot)domain(dot)net?subject=subscribe>
Sender: test-bounces(at)listserv(dot)domain(dot)net
Errors-To: test-bounces(at)listserv(dot)domain(dot)net
X-pstn-levels: (S:99.90000/99.90000 R:95.9108 P: 0.0000 M:99.4056 C:81.6251 )
X-pstn-settings: 3 (1.0000:25.0000) r P m C
X-pstn-addresses: from <stephanie(at)domain(dot)org> [652/24]
-----------------------------------------------------------------
I tried removing the first 'From' line (on the chance that it was confused by it), and piped the message to maillist.php manually, but the same errors appeared.
[Updated on: Tue, 06 April 2004 14:59] Report message to a moderator
|
|
|