From cb9d31376ca2b61ec41785c01adcb69a6f6d3579 Mon Sep 17 00:00:00 2001 From: mattf Date: Wed, 5 Apr 2017 11:41:14 +0000 Subject: [PATCH] updates and troubleshooting for email doc git-svn-id: svn://192.168.202.10@2723 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/docs/Email_user_manual.txt | 27 +++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/agc_2-X/trunk/docs/Email_user_manual.txt b/agc_2-X/trunk/docs/Email_user_manual.txt index 15d3de86..f8a0fb2d 100644 --- a/agc_2-X/trunk/docs/Email_user_manual.txt +++ b/agc_2-X/trunk/docs/Email_user_manual.txt @@ -1,4 +1,4 @@ -EMAIL HANDLING DOC Started: 2012-12-23 Updated: 2013-04-25 +EMAIL HANDLING DOC Started: 2012-12-23 Updated: 2017-04-05 (example of how to set up an email account with Gmail is at the bottom) @@ -18,6 +18,7 @@ install MIME::Decoder install Mail::POP3Client install Mail::IMAPClient install Mail::Message +install Mail::Box install IO::Socket::SSL install MIME::Base64 quit @@ -252,3 +253,27 @@ below 338 and the message should go away: SSL_verify_mode => 'SSL_VERIFY_NONE', + + + +- If you see the following error: + +SSL_verify_mode must be a number and not a string at /usr/lib/perl5/site_perl/5.12.1/IO/Socket/SSL.pm line 2251. + + +Edit the "SSL.pm" file that is shown in the error you received: + +Line 2251, change: + +die "SSL_verify_mode must be a number and not a string"; + +To: + +$verify_mode = '0'; + + +Save it(since the file is most likely read-only, you might have to force save[in 'vi' that's ':w!']) + +Then try running the email script again: + + /usr/share/astguiclient/AST_inbound_email_parser.pl --ssl-no-cert --debugX --force-check