Anacron Job error: gzip: /etc/MailScanner/phishing.safe.sites.conf.master.gz: unexpected end of file

Questions and answers about how to do stuff
Post Reply
ericarcher57
Posts: 4
Joined: 18 Oct 2016 11:38

Anacron Job error: gzip: /etc/MailScanner/phishing.safe.sites.conf.master.gz: unexpected end of file

Post by ericarcher57 »

Been getting repeated errors for the daily Anacron job:

gzip: /etc/MailScanner/phishing.safe.sites.conf.master.gz: unexpected end of file.

Any Ideas on how to resolve?
User avatar
shawniverson
Posts: 3776
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Anacron Job error: gzip: /etc/MailScanner/phishing.safe.sites.conf.master.gz: unexpected end of file

Post by shawniverson »

Have you tried deleting the file and letting it run again?
User avatar
BOOZy
Posts: 41
Joined: 04 Oct 2017 13:17

Re: Anacron Job error: gzip: /etc/MailScanner/phishing.safe.sites.conf.master.gz: unexpected end of file

Post by BOOZy »

Getting this error as well lately.

If you open the phishing.safe.sites.conf.master.gz file in a text editor it reads: 301 Moved Permanently (surrounded by some html).

So it seems the file has moved to another url and the script that downloads it doesn't understand the redirect and instead downloads the html.
Pukkeltje
Posts: 12
Joined: 08 Sep 2016 08:32

Re: Anacron Job error: gzip: /etc/MailScanner/phishing.safe.sites.conf.master.gz: unexpected end of file

Post by Pukkeltje »

I'm getting same kind of error:

/etc/cron.daily/mailscanner:

gzip: /etc/MailScanner/phishing.safe.sites.conf.master.gz: not in gzip format
User avatar
shawniverson
Posts: 3776
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Anacron Job error: gzip: /etc/MailScanner/phishing.safe.sites.conf.master.gz: unexpected end of file

Post by shawniverson »

Delete the file, should go away.
User avatar
BOOZy
Posts: 41
Joined: 04 Oct 2017 13:17

Re: Anacron Job error: gzip: /etc/MailScanner/phishing.safe.sites.conf.master.gz: unexpected end of file

Post by BOOZy »

Deleting the file does indeed fix the issue. The next update cycle works as intended.
Post Reply