Hi! I'm trying to set up a home server using the "The Perfect Server - CentOS 5.4 x86_64 [ISPConfig 3]" tutorial. So far, I followed the tutorial perfectly, without a mistake. But now, on page 5, it is said to start the amavisd service, which fails and return the following: Code: Starting virus-scanner (amavisd): The value of variable $myhostname is "static-host", 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 amavisd.conf, or fix what uname(3) provides as a host's network name! ..failed I tried to look for a solution, and came out empty-handed. Any idea on how to continue with my installation? Thank you!
uname -n likely returns static-host ... I had the same problem when following the guide. I simply continued with the setup. Once completed and ISPconfig was running, I setup all the DNS records for my primary domain zone (including a mail.mydomain.com 'A' record) and awaited propagation. I then edited /etc/amavisd.conf and located this setting: #$myhostname = ''; # must be a fully-qualified domain name! and changed it to: $myhostname = 'mail.mydomain.com'; # must be a fully-qualified domain name! Started amavisd and all was good. Hope this helps.
FIX that worked for me hostname <new hostname> try to be something like " text.localhost.com" I put "sheva.localhost.com" and it work. hope it will work for you too.