Search This Blog

Cold Working Pressure (CWP)


Mail Error

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

Solution  :-
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.

0 comments:

Post a Comment