On 2010-03-10 11:56, Lars Hecking wrote:
> Hi Stef,
> I have a quick question about clamsmtpd, if you don't mind :)
> I have a working setup with postfix/clamsmtpd/clamav all running on the
> same host, and was trying to experiment with a remote clamd. So I set
> up another clamd on the LAN, listening on <IP>:3310, and configured
> ClamAddress: in clamsmtpd.conf accordingly. Tested some of the clamd commands
> from the clamav manual successfully (PING, VERSION), and restarted clamsmtpd.
> Mail stopped :-/
> Is this kind of setup supported, and am I missing any configuration settings?
> tcpdump on both hosts showed that there was some communication, but apparently
> something was not quite right. Any ideas?
Both hosts must be on the same machine, as clamsmtp writes the email to
a file, and then clamd scans that file. Or I guess it could be to an NFS
share, although I haven't fully explored the reliability of such a setup.