MailScanner 5.1.2 not working

Koby Peleg Hen koby at mksoft.co.il
Thu Oct 25 12:20:16 UTC 2018


I did what you say ,
here is the output ,

root at lab:~# systemctl status mailscanner.service -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 15:12:10 IDT; 6min ago
      Docs: man:systemd-sysv-generator(8)
   Process: 3970 ExecStart=/usr/lib/MailScanner/init/msmilter-init start 
(code=exited, status=0/SUCCESS)
  Main PID: 4052 (MSMilter Daemon)
     Tasks: 6 (limit: 2319)
    CGroup: /system.slice/mailscanner.service
            ├─4052 MSMilter Daemon
            ├─4056 MSMilter Daemon
            ├─4057 MSMilter Daemon
            ├─4058 MSMilter Daemon
            ├─4059 MSMilter Daemon
            └─4060 MSMilter Daemon

Oct 25 15:12:09 lab.mksoft.co.il MSMilter[3983]: Reading configuration 
file /etc/MailScanner/conf.d/README
Oct 25 15:12:09 lab.mksoft.co.il MSMilter[3983]: Reading configuration 
file /etc/MailScanner/conf.d/SmgMailScanner.conf
Oct 25 15:12:09 lab.mksoft.co.il MSMilter[3983]: Configuration: Seen 
configuration file /etc/MailScanner/conf.d/README before, skipping.
Oct 25 15:12:09 lab.mksoft.co.il MSMilter[3983]: Configuration: Seen 
configuration file /etc/MailScanner/conf.d/SmgMailScanner.conf before, 
skipping.
Oct 25 15:12:09 lab.mksoft.co.il MSMilter[3983]: Value of lockfiledir 
cannot be a ruleset, only a simple value
Oct 25 15:12:09 lab.mksoft.co.il MSMilter[3983]: Read 1500 hostnames 
from the phishing whitelist
Oct 25 15:12:09 lab.mksoft.co.il MSMilter[3983]: Read 16624 hostnames 
from the phishing blacklists
Oct 25 15:12:09 lab.mksoft.co.il root[4053]: MSMilter started
Oct 25 15:12:10 lab.mksoft.co.il msmilter-init[3970]: MSMilter started 
with process id 4052
Oct 25 15:12:10 lab.mksoft.co.il systemd[1]: Started LSB: MSMilter daemon.






נכתב על ידי Shawn Iverson via MailScanner, ב־25.10.2018 בשעה 15:15:
> yes, root is ok
> 
> On Thu, Oct 25, 2018 at 8:13 AM Koby Peleg Hen <koby at mksoft.co.il 
> <mailto:koby at mksoft.co.il>> wrote:
> 
> 
>     I install it as root , it is ok ?
> 
> 
>     נכתב על ידי Shawn Iverson via MailScanner, ב־25.10.2018 בשעה 15:08:
>      > Negative.
>      >
>      > We better try again, with fresh copies...
>      >
>      > sudo rm -f /usr/lib/MailScanner/systemd/ms-systemd
>      > sudo rm -f /usr/lib/MailScanner/systemd/ms-milter
>      > curl
>      >
>     https://raw.githubusercontent.com/MailScanner/v5/master/common/usr/lib/MailScanner/systemd/ms-systemd
> 
>      > | sudo tee /usr/lib/MailScanner/systemd/ms-systemd
>      > curl
>      >
>     https://raw.githubusercontent.com/MailScanner/v5/master/common/usr/lib/MailScanner/systemd/ms-milter
> 
>      > | sudo tee /usr/lib/MailScanner/systemd/ms-milter
>      > sudo systemctl stop mailscanner.service
>      > sudo systemctl stop msmilter.service
>      > sudo cp -f /usr/lib/MailScanner/systemd/ms-systemd
>      > /lib/systemd/system/mailscanner.service
>      > sudo cp -f /usr/lib/MailScanner/systemd/ms-milter
>      > /lib/systemd/system/msmilter.service
>      > sudo systemctl daemon-reload
>      > sudo systemctl enable mailscanner.service
>      > sudo systemctl enable msmilter.service
>      > sudo systemctl start mailscanner.service
>      > sudo systemctl start msmilter.service
>      >
>      > On Thu, Oct 25, 2018 at 8:02 AM Koby Peleg Hen <koby at mksoft.co.il
>     <mailto:koby at mksoft.co.il>
>      > <mailto:koby at mksoft.co.il <mailto:koby at mksoft.co.il>>> wrote:
>      >
>      >     I did that and thsi is the output.
>      >
>      >     ● 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 15:00:41
>     IDT; 16s ago
>      >            Docs: man:systemd-sysv-generator(8)
>      >         Process: 2970
>     ExecStart=/usr/lib/MailScanner/init/msmilter-init
>      >     start
>      >     (code=exited, status=0/SUCCESS)
>      >        Main PID: 2988 (MSMilter Daemon)
>      >           Tasks: 6 (limit: 2319)
>      >          CGroup: /system.slice/mailscanner.service
>      >                  ├─2988 MSMilter Daemon
>      >                  ├─2992 MSMilter Daemon
>      >                  ├─2993 MSMilter Daemon
>      >                  ├─2994 MSMilter Daemon
>      >                  ├─2995 MSMilter Daemon
>      >                  └─2996 MSMilter Daemon
>      >
>      >     Oct 25 15:00:40 lab.mksoft.co.il <http://lab.mksoft.co.il>
>     <http://lab.mksoft.co.il>
>      >     MSMilter[2983]: Reading configuration
>      >     file /etc/MailScanner/conf.d/README
>      >     Oct 25 15:00:40 lab.mksoft.co.il <http://lab.mksoft.co.il>
>     <http://lab.mksoft.co.il>
>      >     MSMilter[2983]: Reading configuration
>      >     file /etc/MailScanner/conf.d/SmgMailScanner.conf
>      >     Oct 25 15:00:40 lab.mksoft.co.il <http://lab.mksoft.co.il>
>     <http://lab.mksoft.co.il>
>      >     MSMilter[2983]: Configuration: Seen
>      >     configuration file /etc/MailScanner/conf.d/README before,
>     skipping.
>      >     Oct 25 15:00:40 lab.mksoft.co.il <http://lab.mksoft.co.il>
>     <http://lab.mksoft.co.il>
>      >     MSMilter[2983]: Configuration: Seen
>      >     configuration file
>     /etc/MailScanner/conf.d/SmgMailScanner.conf before,
>      >     skipping.
>      >     Oct 25 15:00:40 lab.mksoft.co.il <http://lab.mksoft.co.il>
>     <http://lab.mksoft.co.il>
>      >     MSMilter[2983]: Value of lockfiledir
>      >     cannot be a ruleset, only a simple value
>      >     Oct 25 15:00:40 lab.mksoft.co.il <http://lab.mksoft.co.il>
>     <http://lab.mksoft.co.il>
>      >     MSMilter[2983]: Read 1500 hostnames
>      >     from the phishing whitelist
>      >     Oct 25 15:00:40 lab.mksoft.co.il <http://lab.mksoft.co.il>
>     <http://lab.mksoft.co.il>
>      >     MSMilter[2983]: Read 16624 hostnames
>      >     from the phishing blacklists
>      >     Oct 25 15:00:40 lab.mksoft.co.il <http://lab.mksoft.co.il>
>     <http://lab.mksoft.co.il>
>      >     root[2989]: MSMilter started
>      >     Oct 25 15:00:41 lab.mksoft.co.il <http://lab.mksoft.co.il>
>     <http://lab.mksoft.co.il>
>      >     msmilter-init[2970]: MSMilter started
>      >     with process id 2988
>      >     Oct 25 15:00:41 lab.mksoft.co.il <http://lab.mksoft.co.il>
>     <http://lab.mksoft.co.il>
>      >     systemd[1]: Started LSB: MSMilter daemon.
>      >
>      >     Is it Ok now ?
>      >
>      >
>      >
>      >
>      >
>      >
>      >
>      >     נכתב על ידי Shawn Iverson via MailScanner, ב־25.10.2018 בשעה
>     14:56:
>      >      > Something is not right here.  mailscanner.service should
>     not be
>      >     pointing
>      >      > to msmilter-init
>      >      >
>      >      > Try this....
>      >      >
>      >      > sudo systemctl stop mailscanner.service
>      >      > sudo systemctl stop msmilter.service
>      >      > sudo cp -f /usr/lib/MailScanner/systemd/ms-systemd
>      >      > /lib/systemd/system/mailscanner.service
>      >      > sudo cp -f /usr/lib/MailScanner/systemd/ms-milter
>      >      > /lib/systemd/system/msmilter.service
>      >      > sudo systemctl daemon-reload
>      >      > sudo systemctl enable mailscanner.service
>      >      > sudo systemctl enable msmilter.service
>      >      > sudo systemctl start mailscanner.service
>      >      > sudo systemctl start msmilter.service
>      >      >
>      >      >
>      >      >
>      >      >
>      >      >
>      >      >
>      >      >
>      >      > On Thu, Oct 25, 2018 at 7:46 AM Koby Peleg Hen
>     <koby at mksoft.co.il <mailto:koby at mksoft.co.il>
>      >     <mailto:koby at mksoft.co.il <mailto:koby at mksoft.co.il>>
>      >      > <mailto:koby at mksoft.co.il <mailto:koby at mksoft.co.il>
>     <mailto:koby at mksoft.co.il <mailto:koby at mksoft.co.il>>>> wrote:
>      >      >
>      >      >
>      >      >     ● 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
>     <http://lab.mksoft.co.il> <http://lab.mksoft.co.il>
>      >     <http://lab.mksoft.co.il>
>      >      >     MSMilter[2396]: Reading configuration
>      >      >     file /etc/MailScanner/conf.d/SmgMailScanner.conf
>      >      >     Oct 25 14:44:43 lab.mksoft.co.il
>     <http://lab.mksoft.co.il> <http://lab.mksoft.co.il>
>      >     <http://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
>     <http://lab.mksoft.co.il> <http://lab.mksoft.co.il>
>      >     <http://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
>     <http://lab.mksoft.co.il> <http://lab.mksoft.co.il>
>      >     <http://lab.mksoft.co.il>
>      >      >     MSMilter[2396]: Could not read
>      >      >     directory /var/spool/MailScanner/incoming/Locks
>      >      >     Oct 25 14:44:43 lab.mksoft.co.il
>     <http://lab.mksoft.co.il> <http://lab.mksoft.co.il>
>      >     <http://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
>     <http://lab.mksoft.co.il> <http://lab.mksoft.co.il>
>      >     <http://lab.mksoft.co.il>
>      >      >     MSMilter[2396]: Read 1500 hostnames
>      >      >     from the phishing whitelist
>      >      >     Oct 25 14:44:43 lab.mksoft.co.il
>     <http://lab.mksoft.co.il> <http://lab.mksoft.co.il>
>      >     <http://lab.mksoft.co.il>
>      >      >     MSMilter[2396]: Read 16624 hostnames
>      >      >     from the phishing blacklists
>      >      >     Oct 25 14:44:43 lab.mksoft.co.il
>     <http://lab.mksoft.co.il> <http://lab.mksoft.co.il>
>      >     <http://lab.mksoft.co.il>
>      >      >     root[2494]: MSMilter started
>      >      >     Oct 25 14:44:44 lab.mksoft.co.il
>     <http://lab.mksoft.co.il> <http://lab.mksoft.co.il>
>      >     <http://lab.mksoft.co.il>
>      >      >     msmilter-init[2383]: MSMilter started
>      >      >     with process id 2492
>      >      >     Oct 25 14:44:44 lab.mksoft.co.il
>     <http://lab.mksoft.co.il> <http://lab.mksoft.co.il>
>      >     <http://lab.mksoft.co.il>
>      >      >     systemd[1]: Started LSB: MSMilter daemon.
>      >      >
>      >      >
>      >      >     --
>      >      >     MailScanner mailing list
>      >      > mailscanner at lists.mailscanner.info
>     <mailto:mailscanner at lists.mailscanner.info>
>      >     <mailto:mailscanner at lists.mailscanner.info
>     <mailto:mailscanner at lists.mailscanner.info>>
>      >      >     <mailto:mailscanner at lists.mailscanner.info
>     <mailto:mailscanner at lists.mailscanner.info>
>      >     <mailto: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 option 7
>      >      > iversons at rushville.k12.in.us
>     <mailto:iversons at rushville.k12.in.us>
>      >     <mailto:iversons at rushville.k12.in.us
>     <mailto:iversons at rushville.k12.in.us>>
>      >     <mailto:iversons at rushville.k12.in.us
>     <mailto:iversons at rushville.k12.in.us>
>      >     <mailto:iversons at rushville.k12.in.us
>     <mailto:iversons at rushville.k12.in.us>>>
>      >      >
>      >      >
>      >      >
>      >      >
>      >      >
>      >
>      >
>      >     --
>      >     MailScanner mailing list
>      > mailscanner at lists.mailscanner.info
>     <mailto:mailscanner at lists.mailscanner.info>
>      >     <mailto: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 option 7
>      > iversons at rushville.k12.in.us
>     <mailto:iversons at rushville.k12.in.us>
>     <mailto:iversons at rushville.k12.in.us
>     <mailto:iversons at rushville.k12.in.us>>
>      >
>      >
>      >
>      >
>      >
> 
> 
>     -- 
>     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 option 7
> iversons at rushville.k12.in.us <mailto:iversons at rushville.k12.in.us>
> 
> 
> 
> 
> 


More information about the MailScanner mailing list