I've looked into this a bit and the bogus proxy host is a function of whatever debconf feeds to the postinst. I can't tell if it's inadvertent data entry or some other issue, but it's not a clamav bug. The part of this that is a clamav bug is that if the proxy port is not specified, the hostname is incorrectly and blindly copied into the configuration file as the port number.
This is obviously a bug and inconsistent with the debconf template that promises the port entry is optional. I'll fix the postinst to behave the way the template says it will.
signature.asc
Description: This is a digitally signed message part.