issue in ms-update-phishing for v5.0.7-1

Jerry Benton jerry.benton at mailborder.com
Thu Jan 4 15:30:19 UTC 2018


The error he has is coming from the logger command. The space around the equals sign depends on the environment, but it usually works with the space. You can remove it to be safe I guess. 

 

 

--

Jerry Benton

 <http://www.mailborder.com/> www.mailborder.com
+1   (843) 800-8605

+44 (020) 3883-8605



 

From: MailScanner [mailto:mailscanner-bounces+jerry.benton=mailborder.com at lists.mailscanner.info] On Behalf Of Shawn Iverson
Sent: Thursday, January 4, 2018 10:10
To: MailScanner Discussion <mailscanner at lists.mailscanner.info>
Subject: Re: issue in ms-update-phishing for v5.0.7-1

 

Does look like lines 141 and 245 do have a space where they should not.  I'll add this to the next fixes.

 

On Thu, Jan 4, 2018 at 7:48 AM, Jerry Benton <jerry.benton at mailborder.com <mailto:jerry.benton at mailborder.com> > wrote:

Read line 145.

https://github.com/MailScanner/v5/blob/master/common/usr/sbin/ms-update-phis
hing

Then install wget. Better yet, install curl because you will get rejected
using wget.


--
Jerry Benton
www.mailborder.com <http://www.mailborder.com> 
+1 (843) 800-8605 <tel:%2B1%20%20%20%28843%29%20800-8605> 
+44 (020) 3883-8605 <tel:%2B44%20%28020%29%203883-8605> 


-----Original Message-----
From: MailScanner
[mailto:mailscanner-bounces+jerry.benton <mailto:mailscanner-bounces%2Bjerry.benton> =mailborder.com at lists.mailscanner.in <mailto:mailborder.com at lists.mailscanner.in> 
fo] On Behalf Of M A Young
Sent: Thursday, January 4, 2018 07:45
To: mailscanner at lists.mailscanner.info <mailto:mailscanner at lists.mailscanner.info> 
Subject: issue in ms-update-phishing for v5.0.7-1

When running /etc/cron.daily/mailscanner if curl is failing for some reason
the output is

/usr/sbin/ms-update-phishing: line 141: CURLORWGET: command not found
/usr/sbin/ms-update-phishing: line 245: CURLORWGET: command not found

These lines both include
CURLORWGET = 'wget'
which means CURLORWGET is seen as a command. It should be CURLORWGET='wget'
so CURLORWGET is seen as a variable.

        Michael Young


--
MailScanner mailing list
mailscanner at lists.mailscanner.info <mailto:mailscanner at lists.mailscanner.info> 
http://lists.mailscanner.info/mailman/listinfo/mailscanner




--
MailScanner mailing list
mailscanner at lists.mailscanner.info <mailto:mailscanner at lists.mailscanner.info> 
http://lists.mailscanner.info/mailman/listinfo/mailscanner





 

-- 

Shawn Iverson, CETL

Director of Technology

Rush County Schools

765-932-3901 x1171

iversons at rushville.k12.in.us <mailto:iversons at rushville.k12.in.us> 

 

  <https://docs.google.com/uc?export=download&id=0Bw5iD0ToYvs_cy1OZFNIZ0drYVU&revid=0Bw5iD0ToYvs_UitIcHVIWkJVVTl2VGpxVUE0d0FQcHBIRXk4PQ>   <https://docs.google.com/uc?export=download&id=0Bw5iD0ToYvs_Zkh4eEs3R01yWXc&revid=0Bw5iD0ToYvs_QWpBK2Y2ajJtYjhOMDRFekZwK2xOamk5Q3Y0PQ> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20180104/82d23fdb/attachment.html>


More information about the MailScanner mailing list