I recently lost my perl5 modules library and have been rebuilding it.

One of the critical pieces was MIME::Lite

It calls on Net::SMTP which in turn calls on Authen::SASL which calls on Authen::SASL::Cyrus.

Something has changed since I last installed these modules because now I get

Can't locate Authen/SASL/Cyrus.pm in @INC (@INC contains: /home/product/perlmods/lib/site_perl/5.005 /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at (eval 19) line 3.

every time the script is called. It does however e-mail the documents correctly.

I've installed the new sasl2 library which is required for Authen::SASL::Cyrus and when I install Authen::SASL::Cyrus, the program craps out entirely, give me a 'auth' method not supported error. The only way I can get it to mail e-mail is to delete the Authen::SASL::Cyrus module and live with the warning.

(We have to connect to our SMTP server using with authentication.)

If I try to remove the Authen::SASL::Cyrus requirement from Authen::SASL, it doesn't work either

What am I doing wrong?

Since it seems to be working correctly (in terms of sending e-mail and authenticating), how can I simply get rid of the warning. As near as I can tell, we don't need anything related to Cyrus.


In reply to MIME::Lite Problems by filmo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.