Re: Missing subroutine tolower
Robert A Wooldridge <[email protected]> Thu, 21 Jan 2021 13:55:37 -0600
| Newsgroups | gmane.mail.qmail.scanner |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============6041317524854003464== Content-Type: multipart/alternative; boundary="------------B144BACCA011A123F46273F5" Content-Language: en-US This is a multi-part message in MIME format. --------------B144BACCA011A123F46273F5 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit When you install maildrop 3.x it needs the pcre library. I cannot seem to find a Debian package for that. Do you know of one or did you install pcre from source? On 1/20/21 12:06 PM, Kimmo Sinkko wrote: > My message earlier this year did not make it to the mailing list, but > it gives some clues: > > *Lähettäjä: *Kimmo Sinkko <[email protected] > <mailto:[email protected]>> > *Aihe: Debian 10 (buster) and qmail-scanner-queue.pl* > *Päivämäärä: *28. helmikuuta 2020 klo 13.56.52 UTC+2 > *Vastaanottaja: *[email protected] > <mailto:[email protected]> > > Hi! > > Not sure if there are too many users for qmail and qmail-scanner-queue > anymore, but I am. I run into trouble when upgrading from Debian 9 > (Stretch) to Debian 10 (Buster). Just wanted to let you know that > these were the problems and some workarounds: > > 1) Since perl5.26 POSIX::tolower is depricated (removed) > > Possible fix is to use perl lc() function instead > > Simply substitute 25 occurances of tolower with lc. > > 2) Reformime -x broken with the Buster maildrop version > (maildrop 2.9.3-2+b1) > > Reformime will segfault with command line option -x without -s. > > Possible fix is to user latest maildrop version 3.0.0. > > Note that maildrop installation from the source goes into > /usr/local/bin, so remember to update your $mimeunpacker_binary variable > > Cheers, > > Kimmo Sinkko > [email protected] <mailto:[email protected]> > >> Robert A Wooldridge <[email protected] >> <mailto:[email protected]>> kirjoitti 20.1.2021 kello 18.52: >> >> On 1/20/21 1:45 AM, Kimmo Sinkko wrote: >>> If I remember correctly, tolower() is deprecated as of Perl 5.26.0. >>> Use function lc() instead: >>> >>> Example: >>> >>> $qsmsgid=tolower("$V_HEADER-message-id"); >>> => >>> $qsmsgid=lc("$V_HEADER-message-id"); >> >> Ok, got that to work but now I'm getting a strange message when it >> begins scanning: >> >> error_condition: X-Qmail-Scanner-2.11: d_m: output spotted from >> /usr/bin/reformime -x/var/spool/qscan/tmp/mail2161116140158812663/ >> (Segmentation fault >> ) - that shouldn't happen! >> >> Any ideas on what's causing this? I have plenty of disc space. >> >> >> >> -- >> Bob Wooldridge EDM Incorporated >> _______________________________________________ >> Qmail-scanner-general mailing list >> [email protected] >> <mailto:[email protected]> >> https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general > > -- > Bob Wooldridge EDM Incorporated --------------B144BACCA011A123F46273F5 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <p>When you install maildrop 3.x it needs the pcre library. I cannot seem to find a Debian package for that. Do you know of one or did you install pcre from source?</p> <p><br> </p> <div class="moz-cite-prefix">On 1/20/21 12:06 PM, Kimmo Sinkko wrote:<br> </div> <blockquote type="cite" cite="mid:[email protected]"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> My message earlier this year did not make it to the mailing list, but it gives some clues: <div class=""><br class=""> </div> <div class=""> <div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 60, 204);" class=""><span style="font-kerning: none" class=""><b class="">Lähettäjä: </b>Kimmo Sinkko <<a href="mailto:[email protected]" class="" moz-do-not-send="true">[email protected]</a>></span></div> <div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 60, 204);" class=""><span style="font-kerning: none" class=""><b class="">Aihe: Debian 10 (buster) and qmail-scanner-queue.pl</b></span></div> <div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 60, 204);" class=""><span style="font-kerning: none" class=""><b class="">Päivämäärä: </b>28. helmikuuta 2020 klo 13.56.52 UTC+2</span></div> <div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; color: rgb(69, 60, 204);" class=""><span style="font-kerning: none" class=""><b class="">Vastaanottaja: </b><a href="mailto:[email protected]" class="" moz-do-not-send="true">[email protected]</a></span></div> </div> <div class=""><span style="font-kerning: none" class=""><br class=""> </span></div> <div class="">Hi! <div class=""><br class=""> </div> <div class="">Not sure if there are too many users for qmail and qmail-scanner-queue anymore, but I am. I run into trouble when upgrading from Debian 9 (Stretch) to Debian 10 (Buster). Just wanted to let you know that these were the problems and some workarounds:</div> <div class=""><br class=""> </div> <div class="">1) Since perl5.26 POSIX::tolower is depricated (removed)</div> <div class=""><br class=""> </div> <div class="">Possible fix is to use perl lc() function instead</div> <div class=""><br class=""> </div> <div class="">Simply substitute 25 occurances of tolower with lc.</div> <div class=""><br class=""> </div> <div class="">2) Reformime -x broken with the Buster maildrop version (maildrop 2.9.3-2+b1)</div> <div class=""><br class=""> </div> <div class="">Reformime will segfault with command line option -x without -s.</div> <div class=""><br class=""> </div> <div class="">Possible fix is to user latest maildrop version 3.0.0.</div> <div class=""><br class=""> </div> <div class="">Note that maildrop installation from the source goes into /usr/local/bin, so remember to update your $mimeunpacker_binary variable</div> <div class=""><br class=""> </div> <div class="">Cheers,</div> <div class=""><br class=""> </div> <div class="">Kimmo Sinkko</div> <div class=""><a href="mailto:[email protected]" class="" moz-do-not-send="true">[email protected]</a></div> <div><br class=""> <blockquote type="cite" class=""> <div class="">Robert A Wooldridge <<a href="mailto:[email protected]" class="" moz-do-not-send="true">[email protected]</a>> kirjoitti 20.1.2021 kello 18.52:</div> <br class="Apple-interchange-newline"> <div class=""> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" class=""> <div class=""> <div class="moz-cite-prefix">On 1/20/21 1:45 AM, Kimmo Sinkko wrote:<br class=""> </div> <blockquote type="cite" cite="mid:[email protected]" class=""> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" class=""> If I remember correctly, tolower() is deprecated as of Perl 5.26.0. Use function lc() instead: <div class=""><br class=""> </div> <div class="">Example:</div> <div class=""><br class=""> </div> <div class=""> <div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">$qsmsgid=tolower("$V_HEADER-message-id");</span></div> <div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">=></span></div> <div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">$qsmsgid=lc("$V_HEADER-message-id");</span></div> </div> </blockquote> <p class="">Ok, got that to work but now I'm getting a strange message when it begins scanning:</p> <p class="">error_condition: X-Qmail-Scanner-2.11: d_m: output spotted from /usr/bin/reformime -x/var/spool/qscan/tmp/mail2161116140158812663/ (Segmentation fault<br class=""> ) - that shouldn't happen!<br class=""> </p> <p class="">Any ideas on what's causing this? I have plenty of disc space.</p> <p class=""><br class=""> </p> <p class=""><br class=""> </p> -- <div class="moz-signature">Bob Wooldridge EDM Incorporated </div> </div> _______________________________________________<br class=""> Qmail-scanner-general mailing list<br class=""> <a href="mailto:[email protected]" class="" moz-do-not-send="true">[email protected]</a><br class=""> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general">https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general</a><br class=""> </div> </blockquote> </div> <br class=""> </div> <div class="moz-signature">-- <br> Bob Wooldridge EDM Incorporated </div> </blockquote> </body> </html> --------------B144BACCA011A123F46273F5-- --===============6041317524854003464== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============6041317524854003464== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Qmail-scanner-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general --===============6041317524854003464==--