postfix - Unable to install amavisd-new on Ubuntu 16.10 - Ask Ubuntu


i running ubuntu 16.10 , trying set postfix. amavis installation not happening smoothly.

apt upgrade 

gives

reading package lists... done building dependency tree reading state information... done calculating upgrade... done 0 upgraded, 0 newly installed, 0 remove , 0 not upgraded. 1 not installed or removed. after operation, 0 b of additional disk space used. want continue? [y/n] y setting amavisd-new (1:2.10.1-4ubuntu1) ... creating/updating amavis user account... job amavis.service failed because control process exited error code. see "systemctl status amavis.service" , "journalctl -xe" details. invoke-rc.d: initscript amavis, action "start" failed. amavis.service - lsb: starts amavisd-new mailfilter loaded: loaded (/etc/init.d/amavis; generated; vendor preset: enabled active: failed (result: exit-code) since mon 2016-11-14 19:56:05 ist; 9ms ago docs: man:systemd-sysv-generator(8) process: 5465 execstart=/etc/init.d/amavis start (code=exited, status=1/failure) nov 14 19:56:05 lenovo amavis[5465]:   value of variable $myhostname is...en nov 14 19:56:05 lenovo amavis[5465]:   qualified domain name; perha...h. nov 14 19:56:05 lenovo amavis[5465]:   must explicitly assign fqdn of...me nov 14 19:56:05 lenovo amavis[5465]:   in /etc/amavis/conf.d/05-node_id, or...'s nov 14 19:56:05 lenovo amavis[5465]:   network name! nov 14 19:56:05 lenovo amavis[5465]: (failed). nov 14 19:56:05 lenovo systemd[1]: amavis.service: control process exited, ...=1 nov 14 19:56:05 lenovo systemd[1]: failed start lsb: starts amavisd-new ...r. nov 14 19:56:05 lenovo systemd[1]: amavis.service: unit entered failed state. nov 14 19:56:05 lenovo systemd[1]: amavis.service: failed result 'exit...'. hint: lines ellipsized, use -l show in full. dpkg: error processing package amavisd-new (--configure): subprocess installed post-installation script returned error exit status 1 errors encountered while processing: amavisd-new e: sub-process /usr/bin/dpkg returned error code (1) 

how can fix this?

i had issue, had fqdn of server.

i modified /etc/amavis/conf.d/05-node_id file.

i uncommented (removed # before) $myhostname = "....." , inserted fqdn.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User