MailScanner 5.1.2 not working

Shawn Iverson iversons at rushville.k12.in.us
Fri Oct 26 10:05:53 UTC 2018


It is true that not everyone needs this; however, when mariadb is not
present, these entries do not have an effect.  When it is installed, it is
important that 1) MailScanner starts after mariadb, and 2) mariadb is
started before mailscanner starts when systemctl operations happen.



On Fri, Oct 26, 2018 at 4:18 AM Nerijus Baliunas <
nerijus at users.sourceforge.net> wrote:

> Not everyone uses mysql (mariadb) with MTA (postfix), so I don't know if
> After and Wants should contain mariadb.service by default.
>
> On Thu, 25 Oct 2018 16:10:45 +0200 "L.P.H. van Belle via MailScanner" <
> mailscanner at lists.mailscanner.info> wrote:
>
> >  @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 ?
>
>
>
> --
> 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/20181026/bbbb8869/attachment.html>


More information about the MailScanner mailing list