Re: I want to use ClamAV on one computer to scan mail received by Postfix on another computer

Matus UHLAR - fantomas via clamav-users <[email protected]> Mon, 22 Sep 2025 16:30:22 +0200
Newsgroups gmane.comp.security.virus.clamav.user
Message-ID <[email protected]>
On 21.09.25 18:09, Paul Kosinski via clamav-users wrote:
> For many years now (well before Cisco's involvement) I have been scanning 
> email just before delivery by Postfix using procmail (not a Milter).  Up 
> until now, I have been running ClamAV on the same computer as Postfix, and 
> scanning using clamdscan to stream (not fdpass) the mail contents to 
> clamd.  (I do this using clamscan-procfilter.pl, originally developed by A 
> G Basile in 2004 and modified by me in 2007 and 2017.)
[...]
> Might there be a better way to do this?  (I briefly thought of setting up 
> a VM or a "container" on the current server running Postfix et al, and 
> running the latest ClamAV therein, but that would still require a quite 
> disruptive upgrade of the software environment.)

Why not using milter?

clamav-milter supports connecting to remote clamav. It also supports 
multiple clamd sockets.

Alternatively, you can remotely connect to clamav-milter.

-- 
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Spam = (S)tupid (P)eople's (A)dvertising (M)ethod
_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat