Subject: | MIME::Lite Suggestion |
Date: | Tue, 8 Nov 2011 19:56:58 -0500 |
To: | bug-mime-lite [...] rt.cpan.org |
From: | Ricardo Signes <rjbs [...] cpan.org> |
Date: Tue, 8 Nov 2011 18:20:06 -0500
From: jwagner@graffdeals.com
Hi Ricardo
I understand you're the man to talk with about MIME::Lite.
First, I've used MIME::Lite for years to send mail/attachments from perl.
It's the module I use whenever I need to send e-mail; the interface is
very well designed and is so simple that one wouldn't need to know
anything about the SMTP conversation in order to use it. Truly a great
piece of software IMO.
One limitation in it that I've kept running in to over the past couple
years is that my mail server requires STARTTLS before the SMTP
authentication; this is required so that the user names & passwords aren't
sent over the internet in plain text and instead are encrypted. (GMail's
SMTP servers use the same configuration.) However, MIME::Lite does not
support this. A workaround I've used is to set up postfix on a local
server to do nothing but handle the TLS and relay mail out. This is far
from an optimal solution though. I've revisited the problem a few times
over the past couple years, but just ended up using this relay server.
This time, while digging around on the internet, I found somebody who
purported to have worked out a hack to extend MIME::Lite so it would
support TLS. I copied the relevant portion of his script, but it didn't
work. After playing with it for more than a little while, I was finally
able to develop a subroutine based on his hack which extends MIME::Lite to
support TLS and send mail with or without attachments.
I'd like to suggest incorporating the changes into MIME::Lite so that it
can handle TLS without having to jump through such hoops. The subroutine
I wrote, along with a description, can be found on the FreeBSD forums at
the following link. Feel free to use it if you'd like - I would
appreciate credit via a comment, note in the docs or something if you use
it, but it's not a huge deal.
http://forums.freebsd.org/showthread.php?t=27597
Also, on the MIME::Lite CPAN project page, the bottom has an AUTHOR
section listing Eryq (eryq@zeegee.com) as the author of MIME::Lite, which
I assumed meant he also maintained it. I originally e-mailed him about
this and was directed back to CPAN to find who is currently heading up the
project. You'll probably want to update the AUTHOR section of the project
page to include yourself as the current maintainer of the project so poor
Eryq stops getting e-mail from people like myself. ;-)
Thanks for your time Ricardo.
Jim Wagner
jwagner@graffdeals.com
--
rjbs