Subject: | LocalDelivery Fails |
Mail-LocalDelivery-0.21
perl-5.8.5
Linux test 2.6.9-1.681_FC3 #1 Thu Nov 18 15:10:10 EST 2004 i686 i686 i386 GNU/Linux
the module downloaded and biuld with cpan2rpm 0.28
with debuglevel 4 it gives the messages:
217(deliver): delivering to /root/1/md/
249(deliver): /root/1/md/ is of type maildir
255(deliver): calling deliver handler deliver_to_maildir(/root/1/md/)
Can't locate auto/Mail/LocalDelivery/deliver_to_.al in @INC (@INC contains: /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/site_perl/5.8.5/Mail/LocalDelivery.pm line 256
The code:
use MIME::Entity;
use Mail::LocalDelivery;
my $maildir = Mail::LocalDelivery->new (send_mime_entity());
$maildir->deliver('~/1/md/');
sub send_mime_entity {
my $top = MIME::Entity->build(From => $from_address,
To => $to_address,
Subject => $subject,
Data => $message_body);
$top->attach(Path => $my_file,
Type => 'application/pdf',
Encoding => "base64");
return $top;
}
It might not a bug at all and my system just misses something, however I suppose it should be handled.
Thaks for your attention.