Monday, December 29, 2003

Hello Andy,
 
I too had a problem when the mail command failed unexpectedly. It
turned out that the mail process on my redhat+qmail setup was running
as user vpopmail hence the tilde-expansion in Transaction.pm was
becoming /home/vpopmail/tmp/

However, the log file showed this to me saying that permissions were
wrong, couldn't create directory, etc....(see the Transaction.pm file
for the exact error messages)

The way I tested it was by running qpsmtpd in a console and sending
mail to the problematic box from another box using

goodbox$ mail -v [EMAIL PROTECTED]

This showed me the smtp transaction and where exactly it bombed...and
the console on the faulty box showed me the qpsmtpd log where it went
wrong..

My error differs from yours but hopefully it might help you in
debugging your further...another thing...if Mail::Address is on the
bleeding edge, try rolling back a release or two...that too helps...

-- 
Best regards,

Ashish                          
mailto:[EMAIL PROTECTED]

I have not failed. I've just found 10,000 ways that won't work.- Thomas Edison
*********************************************************************
  Internet Wizards - The finest in web services! http://www.inwiz.com
*********************************************************************

Monday, December 29, 2003, 10:22:22 PM, you wrote:

AR> Skaag Argonius wrote:
 >> Can you maybe post some information about your system and the version of
 >> perl used?
 >>
 >> Thanks,
 >>
 >>     Aric
 >>
 >>

AR> I had all that info in my original email.  Here it is again:

AR> I'm getting several errors from SMTP.pm in my log file, and no mail is
AR> getting delivered.  If you look at the code at line 216, it looks like
AR> the Mail::Address module might be at fault.  The errors look like this:

AR> 28765 XX: Unrecognised line: [EMAIL PROTECTED]> at 
AR> lib/Qpsmtpd/SMTP.pm line 216

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

AR> I'm running Red Hat Linux 9 with kernel version 2.4.20-20.9smp, perl
AR> 5.8.0, and qpsmtpd 0.26.  I have all the latest versions of the perl
AR> modules that qpsmtpd uses from CPAN.  You can find an longer excerpt
AR> from my log file at http://www.nntp.perl.org/group/perl.qpsmtpd

AR> Thanks,

AR> Andy Ruse
AR> Network Administrator
AR> AWeber Systems, Inc.


Reply via email to