[Bug 1772454] Re: package amavisd doesn't install

Andreas Hasenack andreas at canonical.com
Tue May 22 17:09:40 UTC 2018

Thanks for filing a bug in Ubuntu.

This is the error log:
Job for amavis.service failed because the control process exited with error code. See "systemctl status amavis.service" and "journalctl -xe" for details.
invoke-rc.d: initscript amavis, action "start" failed.
● amavis.service - LSB: Starts amavisd-new mailfilter
   Loaded: loaded (/etc/init.d/amavis; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2018-05-21 21:39:18 IST; 39ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 11343 ExecStart=/etc/init.d/amavis start (code=exited, status=1/FAILURE)

May 21 21:39:18 omkar6901 amavis[11343]:   The value of variable $myhostname...n
May 21 21:39:18 omkar6901 amavis[11343]:   a fully qualified domain name; pe....
May 21 21:39:18 omkar6901 amavis[11343]:   You must explicitly assign a FQDN...e
May 21 21:39:18 omkar6901 amavis[11343]:   in /etc/amavis/conf.d/05-node_id,...s
May 21 21:39:18 omkar6901 amavis[11343]:   network name!
May 21 21:39:18 omkar6901 amavis[11343]: (failed).

The file /etc/amavis/conf.d/05-node_id wants to set a variable to the
output of the "hostname --fqdn" command, and it looks like in your case
that command is not returning a fully qualified name.

You should inspect your network configuration and hostname setting to
find out why you are not getting a fully qualified name back. I suggest
to look in /etc/hosts.

As this is a local configuration problem, I'll mark this bug as
"incomplete". If new information suggests that this is instead a
software defect, then please clarify with a comment and set the bug back
to the "new" state.


** Changed in: amavisd-new (Ubuntu)
       Status: New => Incomplete

You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to amavisd-new in Ubuntu.

  package amavisd doesn't install

To manage notifications about this bug go to:

More information about the Ubuntu-server-bugs mailing list