Page 1 of 1

sendEmail.pl causes perl core dump on Ubuntu Linux 8.04 with unresponsive SMTP

Posted: April 1st, 2008, 4:14 pm
by sander
Hi,

sendEmail.pl causes a *perl* core dump on Ubuntu Linux 8.04 with a unresponsive SMTP server (my guess: if the SMTP does not answer the closing dot in the DATA part of the SMTP session).

Logging in SABnzbd:

Code: Select all

2008-04-01 22:37:16,415::INFO::[email] Starting email program ['/usr/bin/perl', '/home/sander/SABnzbd-0.3.3/sabnzbd/utils/sendEmail.pl', '-s', 'smtp.telfort.nl', '-f', 'surferX@telfort.nl', '-t', 'sanderX.jonkersX@gmail.com', '-o', 'tls=auto', '-u', 'SABnzbd has completed job X Minutes', '-o', 'message-file=/tmp/tmpy7c5N_']
2008-04-01 22:38:24,303::ERROR::[email]
I've reported this on https://bugs.launchpad.net/ubuntu/+sour ... bug/210469

I searched for sendEmail.pl, but the version on sourceforge seems *older* (1.52) than the version used by SABnzbd (1.55), so I couldn't a newer sendEmail.pl to test that.

No big issue for SABnzbd as it keeps running. Just a bit ugly.

Re: sendEmail.pl causes perl core dump on Ubuntu Linux 8.04 with unresponsive SM

Posted: April 1st, 2008, 4:32 pm
by sander
PS:

- The same perl core dump happens on Ubuntu 7.10.
- I found sendEmail on http://freshmeat.net/projects/sendemail ... _id=188519 and it's 1.55, so I can't get anything newer.

Re: sendEmail.pl causes perl core dump on Ubuntu Linux 8.04 with unresponsive SMTP

Posted: April 1st, 2008, 4:35 pm
by switch
Thanks for the report.

As of 0.4.0 we have decided to dump the extra perl requirement and go with a re-coded python email implementation. I'm guessing won't happen with the new implementation, but I haven't looked at the code in depth.