MailScanner 5.1.2 not working

L.P.H. van Belle belle at bazuin.nl
Thu Oct 25 14:10:45 UTC 2018


 @Koby, 
 
type : systemctl edit mailscanner.service
And you get a clean page, that is the file : /etc/systemd/system/mailscanner.service.d/override.conf being created. 
 
I've optimized the start order to my setup and same should Koby do. 
Create an override and remove the mariadb.service in that setup. 
 
 
This is my personal override.  
# /etc/systemd/system/mailscanner.service.d/override.conf
[Unit]
After=network-online.target remote-fs.target rsyslog.service mariadb.service postfix.service clamav-daemon.service
Wants=network-online.target mariadb.service postfix.service clamav-daemon.service

@Shawn, 
In the example, you posted, remove maridb.service from Wanted. 
having it in After should be sufficient. 
 
 
Greetz, 
 
Louis
 
 
Van: MailScanner [mailto:mailscanner-bounces+belle=bazuin.nl at lists.mailscanner.info] Namens Shawn Iverson via MailScanner
Verzonden: donderdag 25 oktober 2018 14:34
Aan: mailscanner at lists.mailscanner.info
CC: Shawn Iverson
Onderwerp: Re: MailScanner 5.1.2 not working



I'm not so sure that was the root cause, but I'll run tests on my end, just to be sure.

On Thu, Oct 25, 2018 at 8:33 AM Koby Peleg Hen <koby at mksoft.co.il> wrote:

Now after I comment out the mariyadb on the systemsd file
the system is scanning mail ...
Thank you for your co operation and support.
Maybe this maria shuold stay out at list for the ubuntu users ?


נכתב על ידי Koby Peleg Hen, ב־25.10.2018 בשעה 14:57:
> I thing I found some thing,
> there is no file name Locks under the following dir 
> /var/spool/MailScanner/incoming
> so I added it and now no error.
> root at lab:/var/spool/MailScanner/incoming# systemctl status mailscanner -l
> â—? mailscanner.service - LSB: MSMilter daemon
>     Loaded: loaded (/usr/lib/MailScanner/init/msmilter-init; enabled; 
> vendor preset: enabled)
>     Active: active (running) since Thu 2018-10-25 14:53:17 IDT; 3min 9s ago
>       Docs: man:systemd-sysv-generator(8)
>    Process: 2672 ExecStop=/usr/lib/MailScanner/init/msmilter-init stop 
> (code=exited, status=0/SUCCESS)
>    Process: 2689 ExecStart=/usr/lib/MailScanner/init/msmilter-init start 
> (code=exited, status=0/SUCCESS)
>   Main PID: 2706 (MSMilter Daemon)
>      Tasks: 6 (limit: 2319)
>     CGroup: /system.slice/mailscanner.service
>             ├─2706 MSMilter Daemon
>             ├─2710 MSMilter Daemon
>             ├─2711 MSMilter Daemon
>             ├─2712 MSMilter Daemon
>             ├─2713 MSMilter Daemon
>             └─2714 MSMilter Daemon
> 
> But still no scannig...
> 
> 
> 
> 
> 
> 
> 
> 
> נכתב על ידי Koby Peleg Hen, ב־25.10.2018 בשעה 14:46:
>>
>> â—? mailscanner.service - LSB: MSMilter daemon
>>     Loaded: loaded (/usr/lib/MailScanner/init/msmilter-init; enabled; 
>> vendor preset: enabled)
>>     Active: active (running) since Thu 2018-10-25 14:44:44 IDT; 19s ago
>>       Docs: man:systemd-sysv-generator(8)
>>    Process: 2366 ExecStop=/usr/lib/MailScanner/init/msmilter-init stop 
>> (code=exited, status=0/SUCCESS)
>>    Process: 2383 ExecStart=/usr/lib/MailScanner/init/msmilter-init 
>> start (code=exited, status=0/SUCCESS)
>>   Main PID: 2492 (MSMilter Daemon)
>>      Tasks: 6 (limit: 2319)
>>     CGroup: /system.slice/mailscanner.service
>>             ├─2492 MSMilter Daemon
>>             ├─2496 MSMilter Daemon
>>             ├─2497 MSMilter Daemon
>>             ├─2498 MSMilter Daemon
>>             ├─2499 MSMilter Daemon
>>             └─2500 MSMilter Daemon
>>
>> Oct 25 14:44:43 lab.mksoft.co.il MSMilter[2396]: Reading configuration 
>> file /etc/MailScanner/conf.d/SmgMailScanner.conf
>> Oct 25 14:44:43 lab.mksoft.co.il MSMilter[2396]: Configuration: Seen 
>> configuration file /etc/MailScanner/conf.d/README before, skipping.
>> Oct 25 14:44:43 lab.mksoft.co.il MSMilter[2396]: Configuration: Seen 
>> configuration file /etc/MailScanner/conf.d/SmgMailScanner.conf before, 
>> skipping.
>> Oct 25 14:44:43 lab.mksoft.co.il MSMilter[2396]: Could not read 
>> directory /var/spool/MailScanner/incoming/Locks
>> Oct 25 14:44:43 lab.mksoft.co.il MSMilter[2396]: Error in 
>> configuration file line 3103, directory 
>> /var/spool/MailScanner/incoming/Locks for lockfiledir does not exist 
>> (or is not readable)
>> Oct 25 14:44:43 lab.mksoft.co.il MSMilter[2396]: Read 1500 hostnames 
>> from the phishing whitelist
>> Oct 25 14:44:43 lab.mksoft.co.il MSMilter[2396]: Read 16624 hostnames 
>> from the phishing blacklists
>> Oct 25 14:44:43 lab.mksoft.co.il root[2494]: MSMilter started
>> Oct 25 14:44:44 lab.mksoft.co.il msmilter-init[2383]: MSMilter started 
>> with process id 2492
>> Oct 25 14:44:44 lab.mksoft.co.il systemd[1]: Started LSB: MSMilter 
>> daemon.
>>
>>
> 
> 


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





-- 
Shawn Iverson, CETL Director of Technology
Rush County Schools
765-932-3901 option 7
iversons at rushville.k12.in.us























-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20181025/6bfbf4f0/attachment.html>


More information about the MailScanner mailing list