develooper Front page | perl.qpsmtpd | Postings from April 2004

Mail::Address->Parse croaks...

Thread Next
From:
Sympatico
Date:
April 19, 2004 09:09
Subject:
Mail::Address->Parse croaks...
Message ID:
20040419160202.15161.qmail@onion.perl.org
At the risk of asking a trivial question.

I just installed qpsmtpd and when I test it with a simple mail, I get an
error when sending the mail from: line. It seems that the
Mail::Address->parse fonction croaks at line 209 of SMTP.pm. I changed the
line to hardcode the $from variable (to test@test.com, and the whole thing
went through (not very useful in real life). I fear I have a problem with my
perl installation, but I am not sure what it is. I am on 5.8.0. The programs
dies in a tokenise fonction of the Mail::Address module. Thanks if anyone
can help.

tcpserver: pid 8574 from 172.20.10.6
tcpserver: ok 8574 :172.20.0.1:25 :172.20.10.6::3199
8574 loading plugins from ./plugins
8574 running plugin  check_earlytalker
8574 running plugin  dnsbl
8574 dnsbl plugin: RBLSMTPD not set for 172.20.10.6
8574 220 murdebrix.ixiasoft.com ESMTP qpsmtpd 0.27.1 ready; send us your
mail, but not your spam.
8574 dispatching helo
8574 running plugin  check_spamhelo
8574 250 test.ixiasoft.com Hi [172.20.10.6] [172.20.10.6]; I am so happy to
meet you.
8574 dispatching mail from: test@test.com
8574 full from_parameter: from: test@test.com
8574 from email address : [test@test.com]
8574 XX: Unrecognised line: test@test.com at lib/Qpsmtpd/SMTP.pm line 216

Use of uninitialized value in concatenation (.) or string at
lib/Qpsmtpd/SMTP.pm line 82, <STDIN> line 2.
: command 'mail' failed unexpectedly ()
8574 451 Internal error - try again later - command 'mail' failed
unexpectedly

lortiejp@ixiasoft.com



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About