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('<>'),"\n";

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

Running with TChrists rfc822 matcher from

I get this output

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

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

% grep ^To etc/take_3 
To: <>

but we should recover more gracefully from it.


There's stuff above here

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