Re: SSL Log "errors"

Christian Deligant <[email protected]>
Newsgroups gmane.comp.otrs.user
Message-ID <[email protected]>
I hope OTRS developers will take care of parsing the return warning of 
the module as we are on a stalled position:

- Net::SSLGlue::POP3 module is marked as dependency of otrs and otrs2 
packages
- Net::POP3 seems to be a core module of perl...

so whoever wants to fetch emails through POP3S or POP3TLS will receive 
complains...

Chris


Il 10/10/2016 17:51, Carlos Rodríguez ha scritto:
> Hi Christian,
>
> For sure you can just do that, I will discourage to do it, as in any 
> update of OTRS you will have to do it again.
>
> ((enjoy))
>
> Carlos Rodríguez
>
>
>
>
>> On Oct 10, 2016, at 10:49 AM, Christian Deligant 
>> <[email protected] <mailto:[email protected]>> wrote:
>>
>> 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
>
>
>
> ---------------------------------------------------------------------
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.