amavis broken
Dorian ROSSE
dorianbrice at hotmail.fr
Wed Jun 19 14:20:15 CEST 2019
When I say the amavis shell want become myself crazy about my Ubuntu server… :
● amavis.service - LSB: Starts amavisd-new mailfilter
Loaded: loaded (/etc/init.d/amavis; generated)
Active: failed (Result: exit-code) since Wed 2019-06-19 12:15:39 UTC; 23s ago
Docs: man:systemd-sysv-generator(8)
Process: 27190 ExecStart=/etc/init.d/amavis start (code=exited, status=1/FAILURE)
juin 19 12:15:39 bitfenix-server systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
juin 19 12:15:39 bitfenix-server amavis[27190]: Starting amavisd: Error in config file "/etc/amavis/conf.d/50-user": Bareword "bitfenix" not allowed while "strict subs" in use at /etc/amavis/conf.d/50-user line 2.
juin 19 12:15:39 bitfenix-server amavis[27190]: Bareword "server" not allowed while "strict subs" in use at /etc/amavis/conf.d/50-user line 2.
juin 19 12:15:39 bitfenix-server amavis[27190]: (failed).
juin 19 12:15:39 bitfenix-server systemd[1]: amavis.service: Control process exited, code=exited status=1
juin 19 12:15:39 bitfenix-server systemd[1]: amavis.service: Failed with result 'exit-code'.
juin 19 12:15:39 bitfenix-server systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
What must I do now ?
Thank you in advance to bring your help,
Regards.
(I have again attach the file)
Dorian ROSSE.
Provenance : Courrier<https://go.microsoft.com/fwlink/?LinkId=550986> pour Windows 10
________________________________
De : Alexander Wirt <formorer at formorer.de>
Envoyé : Wednesday, June 19, 2019 2:08:28 PM
À : Dorian ROSSE
Cc : amavis-users at amavis.org
Objet : Re: amavis broken
On Wed, 19 Jun 2019, Dorian ROSSE wrote:
> I attach to you the files,
>
> I add a semicolon where It is ask then It asks again to add a semicolon,
>
> I think the amavis shell want become myself crazy about my Ubuntu server,
>
> I don’t know what I must do,
>
> Thank you in advance to bring your help,
>
> Regards.
>
>
> Dorian ROSSE.
>
>
>
> Provenance : Courrier<https://go.microsoft.com/fwlink/?LinkId=550986> pour Windows 10
>
>
>
> ________________________________
> De : amavis-users <amavis-users-bounces+dorianbrice=hotmail.fr at amavis.org> de la part de Alexander Wirt <formorer at formorer.de>
> Envoyé : Wednesday, June 19, 2019 7:46:27 AM
> À : amavis-users at amavis.org
> Objet : Re: amavis broken
>
> On Tue, 18 Jun 2019, Ralph Seichter wrote:
>
> > * Olivier:
> >
> > > Il y a un message d'erreur clair pourtant:
> >
> > Please use English in the future (as required for most mailing lists).
> >
> > > Starting amavisd: Number found
> > > where operator expected at /etc/amavis/conf.d/50-user line 13, near "1"
> >
> > Looks like Ubuntu has opted for a non-standard split configuration
> > layout. Normally, the Amavis configuration file is Perl code, so keep
> > that in mind when considering the syntax. As for that particular file,
> > I cannot guess at the content from afar. ;-)
> In fact that was us (Debian) and we did that for more than 15 years. We
> (Debian) ship that file empty:
>
> use strict;
>
> #
> # Place your configuration directives here. They will override those in
> # earlier files.
> #
> # See /usr/share/doc/amavisd-new/ for documentation and examples of
> # the directives you can use in this file
> #
>
>
> #------------ Do not modify anything below this line -------------
> 1; # ensure a defined return
>
> Probably you changed something and forget the trailing "1;".
>
> Alex
>
> use ; strict
Broken
> $myhostname = bitfenix-server
Broken (; missing at the end)
Right:
use strict;
$myhostname = bitfenix-server;
1;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20190619/fa75a918/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 50-user.txt
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20190619/fa75a918/attachment.txt>
More information about the amavis-users
mailing list