Looking at additional information in the DpkgTerminalLog, it appears that postfix has been configured for 'Local only' mail delivery with default options selected in the dpkg-[pre|re]configure screens.
When this option is selected /etc/mailname is not setup as the System Mail Name is not a FQDN. amavisd-new-postfix expects /etc/mailname to be populated and for hostname --fqdn to return a FQDN for the system. This issue can be worked around by populating /etc/mailname with an appropriate FQDN and changing /etc/amavis/conf.d/05-node_id to manually set the $myhostname variable (see file for comments on how todo this). The install amavisd-new-postfix to complete the installation using the following command: -- package amavisd-new-postfix fails to install when postfix configured for 'Local only' https://bugs.launchpad.net/bugs/656048 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to amavisd-new in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs