>From your LOG:

Starting amavisd: head: cannot open '/etc/mailname' for reading: No such file 
or directory
  The value of variable $myhostname is "shivam-G41T-R3", but should have been
  a fully qualified domain name; perhaps uname(3) did not provide such.
  You must explicitly assign a FQDN of this host to variable $myhostname
  in /etc/amavis/conf.d/05-node_id, or fix what uname(3) provides as a host's
  network name!

That really is "it".
The package configuration needs a fully qualified domain name to work.
It tries to derive it from the hostname, but if that is not a valid FQDN you 
have to adapt the configuration.

After that the service will work, and due to that also upgrades to it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1777981

Title:
  package amavisd-new 1:2.11.0-1ubuntu1 failed to install/upgrade:
  installed amavisd-new package post-installation script subprocess
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/1777981/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to