Mailscanner update problem

General eFa discussion
Post Reply
arsmage
Posts: 6
Joined: 14 Sep 2017 15:23

Mailscanner update problem

Post by arsmage »

Hi,

I have an issue after the EFA-MS-Update ran recently. After the most recent update it tries to load /etc/init.d/MailScanner and fails. I examined the contents of /etc/init.d and found that it appear the script was updated yesterday with a new name, all lowercase.

lrwxrwxrwx 1 root root 33 Feb 5 10:23 mailscanner -> /usr/lib/MailScanner/init/ms-init

I checked the contents of EFA-MS-Update and there are places where it uses /etc/init.d/mailscanner and others where it uses /etc/init.d/MailScanner.
-rwxr--r-- 1 root root 9888 Feb 5 10:24 /usr/local/sbin/EFA-MS-Update

/etc/init.d/mailscanner reload #> /dev/null 2>&1
/etc/init.d/mailscanner reload
/etc/init.d/mailscanner stop
/etc/init.d/mailscanner start

/etc/init.d/MailScanner reload #> /dev/null 2>&1
/etc/init.d/MailScanner reload
/etc/init.d/MailScanner stop
/etc/init.d/MailScanner start

After running 'mailscanner status' it appears that the process is running, just now there is a potentially misleading failure.

Log entry below...

MailScanner restarted with process id 11921
--2018-02-06 03:43:13-- http://dl.efa-project.org/MailScanner/p ... sites.conf
Connecting to xxx.xxx.xxx.xxxx:80... connected.
Proxy request sent, awaiting response... 200 OK
Length: 12634 (12K) [application/octet-stream]
Remote file is newer, retrieving.

--2018-02-06 03:43:13-- http://dl.efa-project.org/MailScanner/p ... sites.conf
Connecting to 172.30.32.199:80... connected.
Proxy request sent, awaiting response... 200 OK
Length: 12634 (12K) [application/octet-stream]
Saving to: “phishing.safe.sites.conf”

0K .......... .. 100% 146K=0.08s

2018-02-06 03:43:14 (146 KB/s) - “phishing.safe.sites.conf” saved [12634/12634]

It completed okay.
/usr/local/sbin/EFA-MS-Update: line 173: /etc/init.d/MailScanner: No such file or directory
MailScanner reload failed - Retrying...
/usr/local/sbin/EFA-MS-Update: line 176: /etc/init.d/MailScanner: No such file or directory
Stopping MailScanner...
/usr/local/sbin/EFA-MS-Update: line 181: /etc/init.d/MailScanner: No such file or directory
Waiting for a minute...
Attemping to start MailScanner...
/usr/local/sbin/EFA-MS-Update: line 185: /etc/init.d/MailScanner: No such file or directory
henk
Posts: 518
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Re: Mailscanner update problem

Post by henk »

viewtopic.php?f=13&t=2892

/clickable links gives me an happy face :D
“We are stuck with technology when what we really want is just stuff that works.” -Douglas Adams
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Mailscanner update problem

Post by pdwalker »

:lol:
henk wrote: 07 Feb 2018 09:03 viewtopic.php?f=13&t=2892

/clickable links gives me an happy face :D
Post Reply