Re: SSL Log "errors"
Christian Deligant <[email protected]>
| Newsgroups | gmane.comp.otrs.user |
|---|---|
| Message-ID | <[email protected]> |
I simply went in line 12 of the module and commented out the warning :) VERY dirty hack but at least now otrs is fetching the emails without complaining nor sending emails around Chris Il 10/10/2016 17:17, Carlos RodrÃguez ha scritto: > Hi Christian, > > The Daemon logs everything from the STDERR in a file, unfortunately > warnings are output to the STDERR, since this warnings could be > potentially an issue or indicator that something is or could be wrong, > I donÂ’t see an easy and safe way to omit them. > > > ((enjoy)) > > Carlos RodrÃguez > > > > >> On Oct 10, 2016, at 10:05 AM, Christian Deligant >> <[email protected] <mailto:[email protected]>> wrote: >> >> Thank you for your quick answer but... why is this only triggered >> throught the Daemon and not if I click on the link to fetch emails "now"? >> >> I have no idea on how to uninstall Net::POP3 (actually CPAN users >> discourage this!) so I upgraded it to version 3.10... >> >> Chris >> >> Il 10/10/2016 16:51, Carlos RodrÃguez ha scritto: >>> Hi Christian, >>> >>> As far as I can see, this is as you say a warning, instead of an >>> error, apparently you have the CPAN module 'Net::POP3Â’ that is >>> incompatible with 'Net::SSLGlueÂ’ for secure POP3 connections, as you >>> can see from the mentioned line: >>> >>> https://github.com/noxxi/p5-net-sslglue/blob/master/lib/Net/SSLGlue/POP3.pm >>> >>> my $DONT; >>> >>> BEGIN { >>> >>> if (defined &Net::POP3::starttls) { >>> >>> warn "using SSL support of Net::POP3 $Net::POP3::VERSION instead of >>> SSLGlue"; >>> >>> $DONT = 1; >>> >>> goto DONE; >>> >>> } >>> >>> >>> If the Net::SSLGlue::POP3 detects Net::POP3::starttls is deactivates >>> itself (‘$DONT =1;Â’) as it overwrites some Net::POP3 functions. >>> >>> As a workaround, please check if is feasible to uninstall Net::POP3 >>> in your system. >>> >>> ((enjoy)) >>> >>> Carlos RodrÃguez >>> >>> >>> >>> >>>> On Oct 10, 2016, at 8:50 AM, Christian Deligant >>>> <[email protected] <mailto:[email protected]>> wrote: >>>> >>>> Hello, >>>> >>>> Since I updated to otrs 5 I have the log entry every 10 minutes >>>> >>>> There was an error executing Execute() in >>>> Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch: >>>> [Mon Oct 10 14:10:12 2016] otrs.Daemon.pl: using SSL support of >>>> Net::POP3 3.05 instead of SSLGlue at >>>> /usr/share/perl5/Net/SSLGlue/POP3.pm line 12. >>>> >>>> >>>> I googled and found out that probably it is not an error but a notice. >>>> Nonetheless, I would like to keep the log clean: how to avoid this >>>> line? >>>> >>>> About the system: >>>> Ubuntu 16.04.01 LTS >>>> It is the only error in the log >>>> All the accounts fetched are on POP3TLS from a server with >>>> self-signed certificate. >>>> >>>> Thank you for your help >>>> --------------------------------------------------------------------- >>>> OTRS mailing list: otrs - Webpage: http://otrs.org/ >>>> Archive: http://lists.otrs.org/pipermail/otrs >>>> To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs >>>> >>> >>> >>> >>> --------------------------------------------------------------------- >>> OTRS mailing list: otrs - Webpage:http://otrs.org/ >>> Archive:http://lists.otrs.org/pipermail/otrs >>> To unsubscribe:http://lists.otrs.org/mailman/listinfo/otrs >> >> --------------------------------------------------------------------- >> OTRS mailing list: otrs - Webpage: http://otrs.org/ >> Archive: http://lists.otrs.org/pipermail/otrs >> To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs > > > > --------------------------------------------------------------------- > OTRS mailing list: otrs - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/otrs > To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs