Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 243214 - Update MIME-Lite-3.01 to MIME-Lite-3.021 with ssmtp: "use MIME::Lite;" "can't find an executable sendmail"
Summary: Update MIME-Lite-3.01 to MIME-Lite-3.021 with ssmtp: "use MIME::Lite;" "can't...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL: http://search.cpan.org/~rjbs/MIME-Lit...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-22 13:22 UTC by Jeff Kowalczyk
Modified: 2008-10-27 12:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Kowalczyk 2008-10-22 13:22:09 UTC
Filing this as a gentoo bug since it probably has to do with ssmtp's sendmail-compatible service, not necessarily upstream MIME-Lite.

A perl-CGI application LedgerSMB which has the line of source code:

LedgerSMB/Mailer.pm(39) use MIME::Lite;

Works with MIME-Lite-3.0, but gives the following error with MIME-Lite-3.021:

[error] [client 127.0.0.1] can't find an executable sendmail at LedgerSMB/Mailer.pm line 39
[error] [client 127.0.0.1] Compilation failed in require at LedgerSMB/Mailer.pm line 39.

Downgrading to MIME-Lite-3.01 restores proper operation.

MIME-Lite has no /etc/ configuration, so I presume that it is simply not finding or accepting as compatible ssmtp's installed sendmail.

# which sendmail
/usr/sbin/sendmail

 equery belongs sendmail
[ Searching for file(s) sendmail in *... ]
mail-mta/ssmtp-2.62-r3 (/usr/bin/sendmail -> /usr/sbin/ssmtp)
mail-mta/ssmtp-2.62-r3 (/usr/sbin/sendmail -> /usr/sbin/ssmtp)
mail-mta/ssmtp-2.62-r3 (/usr/lib/sendmail -> /usr/sbin/ssmtp)

Reproducible: Always




perl v5.8.8 Packages that I think may be involved (I have ssmtp and not mailwrapper installed on this development laptop)

# emerge perl MIME-Lite ssmtp mailwrapper -pv
[ebuild   R   ] dev-lang/perl-5.8.8-r5  USE="berkdb gdbm -build -debug -doc -ithreads -perlsuid" 0 kB
[ebuild   R   ] mail-mta/ssmtp-2.62-r3  USE="ipv6 md5sum ssl -maxsysuid" 0 kB
[ebuild     U ] dev-perl/MIME-Lite-3.021 [3.01] 0 kB
[ebuild  N    ] net-mail/mailwrapper-0.2.1  7 kB
[blocks B     ] net-mail/mailwrapper ("net-mail/mailwrapper" is blocking mail-mta/ssmtp-2.62-r3)

Total: 4 packages (1 upgrade, 1 new, 2 reinstalls), Size of downloads: 7 kB
Conflict: 1 block (1 unsatisfied)
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2008-10-22 14:42:58 UTC
Okay, I've added a patch from <http://bugs.debian.org/465342>.
Please test again.
Comment 2 Jeff Kowalczyk 2008-10-27 12:02:45 UTC
The patch 3.021-no_sendmail.patch appears to work.