Motom Ohtani wrote:
I'm running clamav-milter v0.72 with sendmail 8.12.11 on FreeBSD 4.10-RELEASE
i386 box. How can I add "server name" on X-Virus-Scanned: header?

--   X-Virus-Scanned: clamd / ClamAV version 0.72, clamav-milter version 0.72
--      on (null)

I want to change it like below.

++   X-Virus-Scanned: clamd / ClamAV version 0.72, clamav-milter version 0.72
++      on mail.example.com

Thanks in advance for any suggestions or pointers.

Gets it from your systems "hostname". At least it does from my FreeBSD box.

From the source:

if(hostname) {
snprintf(buf, sizeof(buf) - 1, "%s\n\ton %s",
clamav_version,
hostname);
free(hostname);


--
Robert
INOC, LLC
[EMAIL PROTECTED]


------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to