Making progress.......SuSE's uname is part of the problem... uname -n reports only the short hostname, i.e. 'domain-name' instead of the fqdn. Temporary work around is to add the fqdn using the hostname command, then amavis will start. I thought that amvis was supposed to use what you assign to the variable $myhostname in the config??
-----Original Message----- From: Donald G. Knecht [mailto:[email protected]] Sent: Wednesday, August 11, 2010 1:01 PM To: [email protected] Subject: [AMaViS-user] FW: amavis hostname problem Tried several experiments today, First I deleted the old amavisd.conf and tried to start amavis.... I got a nice error message saying amavisd.conf is missing, so amavis IS at least checking for the existence of the config file. Next I installed the config file and played around changing the $mydomain variable. I tried removing the hyphen from the domain so that it read $mydomain = 'domainname.com' I still get the error message saying 'domain-name' is not a fqdn.....so this proves that the variable is not being read from the config file and is being supplied in error from somewhere else, possibly uname? -----Original Message----- From: Donald G. Knecht [mailto:[email protected]] Sent: Tuesday, August 10, 2010 10:40 AM To: 'Mark Martinec'; '[email protected]' Subject: RE: [AMaViS-user] amavis hostname problem Yes that is what my problem is.....the error message says that BUT the fqdn IS in the config file... It seems that the config file is not being read -----Original Message----- From: Mark Martinec [mailto:[email protected]] Sent: Tuesday, August 10, 2010 9:55 AM To: [email protected] Subject: Re: [AMaViS-user] amavis hostname problem Donald, > The fqdn IS specified in /etc/ amavisd.conf -BUT amavis seems to ignore it. > $myhostname='host-name.com' > It IS in single quotes....i accidentally deleted the quotes when I edited > out my real domain name. | Starting virus-scanner (amavisd-new): The value of variable $myhostname | is "host-name", but should have been a fully qualified domain name The diagnostics message disproves your claim, it says your $myhostname was 'host-name' (non-fqdn), not 'host-name.com' (a fqdn). Mark ---------------------------------------------------------------------------- -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user Please visit http://www.ijs.si/software/amavisd/ regularly For administrativa requests please send email to rainer at openantivirus dot org ---------------------------------------------------------------------------- -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user Please visit http://www.ijs.si/software/amavisd/ regularly For administrativa requests please send email to rainer at openantivirus dot org ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user Please visit http://www.ijs.si/software/amavisd/ regularly For administrativa requests please send email to rainer at openantivirus dot org
