Re: [siesta-dev] Re: problem with siesta mailing list signup

[prev] [thread] [next] [lurker] [Date index for 2002/10/09]

From: Simon Wistow
Subject: Re: [siesta-dev] Re: problem with siesta mailing list signup
Date: 18:00 on 09 Oct 2002
On Wed, Oct 09, 2002 at 05:33:19PM +0100, Richard Clamp said:
> richardc@plough:~/lab/siesta$ perl -wl foo < etc/take_3
> gavin@xxxx.xxxxxxx::Address=ARRAY(0x1d279c)
> 
> So I'm semi-stumped.

The problem is in 'reply' in Siesta::Message, specifically in the line

    $clone->from( $args{'from'} || $self->to() );

Narrowing that down it shows that the $self->to() method is causing the
problems by returning blank.

However, running it through my parse message script before prints out
the correct thing until I do ...

#!/usr/bin/perl -w

use strict;
use Mail::Internet;
use Email::Valid;

my $mail = Mail::Internet->new(\*STDIN);

print Email::Valid->address('<siesta-dev-sub@xxxxxxxxx.xxx>'),"\n";

at which point I get an error. So it appears that Email::Valid fails
dismally.

Running with TChrists rfc822 matcher from

http://sunsite.lanet.lv/ftp/mirror/x2ftp/msdos/admtools/ckaddr

I get this output

% ./ckaddr '<siesta-dev-sub@xxxxxxxxx.xxx>'
user: <siesta-dev-sub is good
host: unixbeard.net> is good
address `<siesta-dev-sub@xxxxxxxxx.xxx>' is bad: rfc822 failure
%

so it looks like it's not technically our problem, it's a malformed 'To'
header

% grep ^To etc/take_3 
To: <siesta-dev-sub@xxxxxxxxx.xxx>
%


but we should recover more gracefully from it.


Simon






There's stuff above here

Generated at 13:56 on 01 Jul 2004 by mariachi 0.52