-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Rob MacGregor wrote: | On Fri, Apr 11, 2008 at 7:00 PM, James Kosin <[EMAIL PROTECTED]> wrote: |> -----BEGIN PGP SIGNED MESSAGE----- |> |> James Kosin wrote: |> | Everyone, |> | |> | I've got clamav-milter using a .sock file and would like to change it to |> | use the IP socket address interface to clamd. |> | Any ideas on what I have to do? If I just change clamav-milter options |> | to use --external and remove the local socket file from the options, |> | clamav-milter complains. I want it to use the local machine's IP |> | 127.0.0.1 with clamd running. Anyone have a good configuration to |> | share, the documentation is a bit sparse in this area. |> | |> | James |> Hey... anyone out there??? | | A quick read of the clamav-milter man page suggests you missed the | "--server" option: | | --server=HOSTNAME/ADDRESS, -s HOSTNAME/ADDRESS | IP address or hostname of server(s) running clamd (when using | TCPsocket and --external). ... | Thanks...
A few notes: ~ (a) sendmail.mc needs to be changed to reflect the socket (port number) instead of the path to the socket file. ~ (b) clamd.conf can only have one socket method enabled, this is although clamd no longer has this limitation. Hmm... looks like someone needs to modify the clamav-milter source to remove this dependency . ~ (c) so as an example: ~ --external --server=127.0.0.1 7301 James -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkf/u6oACgkQkNLDmnu1kSnKKQCfXD5Bkqta5rgwuSguZ2IN1ni7 KZEAn1QEbkWOq0NK1leEOvem3Gz65R0G =sH5L -----END PGP SIGNATURE----- _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html