[Bug 251377] Re: Problems with amavisd-new: cannot start the service

Alex Muntada alexm at alexm.org
Wed Feb 10 20:06:52 GMT 2010


Norway2, I just build a new karmic server from scratch and amavis
service doesn't start by default unless the hostname is a FQDN. But an
error is displayed on the console when this is the case (e.g. hostname
being "karmic"):

Starting amavisd: head: cannot open `/etc/mailname' for reading: No such file or directory
  The value of variable $myhostname is "karmic", 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!
(failed).

Either having /etc/mailname or defining a FQDN for the host is mandatory
and service amavis states so quite clearly, IMHO. Could have happened
that you missed this message above? In any case, if you still experience
issues starting amavis i think a new, different bug should be open.

-- 
Problems with amavisd-new: cannot start the service
https://bugs.launchpad.net/bugs/251377
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to amavisd-new in ubuntu.



More information about the Ubuntu-server-bugs mailing list