On Sun, 5 Jun 2005, Damian Menscher wrote:
What is the output of 'hostname' on your computer? I'm guessing it returns
<SNIP>
If you already have it set up properly, please compile/run this program on
your mailserver and tell us what it outputs for your hostname:
This is just a FYI, I don't use clamav-milter, so I don't particularly
care either way...
I'm using a Slackware machine right now.
In /etc/HOSTNAME is a FQDN: server.foo.org
The line in /etc/hosts is there
A boot-up script runs this:
/bin/hostname $(cat /etc/HOSTNAME | cut -f1 -d .)
Here is what I get running hostname:
$ hostname
server
$ hostname -s
server
$ hostname -f
server.foo.org
$ dnsdomainname
foo.org
The C code you posted outputs just 'server'.
I won't say what's correct or incorrect, because what's correct in Slack
may not be in Fedora/RedHat, but just that maybe clamav-milter shouldn't
handle -L as it is now.
Jason
--
Jason Englander <[EMAIL PROTECTED]>
394F 7E02 C105 7268 777A 3F5A 0AC0 C618 0675 80CA
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html