Setting up inn2 (2.4.5-3) ...
Installing new version of config file /etc/news/filter/filter_innd.pl ...
Installing new version of config file /etc/news/newsfeeds ...
Installing new version of config file /etc/news/control.ctl ...
Installing new version of config file /etc/news/innreport.conf ...
Installing new version of config file /etc/init.d/inn2 ...
Installing new version of config file /etc/cron.d/inn2 ...
innconfval: hostname does not resolve or domain not set in inn.conf
dpkg: error processing inn2 (--configure):
subprocess post-installation script returned error exit status 1
Here is the error:
Setting up inn2 (2.4.5-3) ... filter/ filter_ innd.pl ... control. ctl ... innreport. conf ...
Installing new version of config file /etc/news/
Installing new version of config file /etc/news/newsfeeds ...
Installing new version of config file /etc/news/
Installing new version of config file /etc/news/
Installing new version of config file /etc/init.d/inn2 ...
Installing new version of config file /etc/cron.d/inn2 ...
innconfval: hostname does not resolve or domain not set in inn.conf
dpkg: error processing inn2 (--configure):
subprocess post-installation script returned error exit status 1