[clamav-users] ClamAVPlugin

Gary R. Schmidt grschmidt at acm.org
Mon Feb 22 11:45:02 UTC 2021


On 22/02/2021 21:59, G.W. Haywood via clamav-users wrote:
[SNIP]
> 
> If you're going to run your own mail server, ALL this stuff needs to
> be at your fingertips.  If it isn't, you're just going to be getting
> in your own way (and in everyone else's way).
> 
>> Also wondering in main.cf (postfix) is the only place I need to add
>> Clamav directives.  master.cf has a spot for Spamassassin as a
>> "filter" and commented out stuff for amavis.
> 
> https://www.oreilly.com/library/view/postfix-the-definitive/0596002122/ch04s05.html 
> 
> 
> Don't forget that I don't use Postfix, so check everything I've said
> is right for your installation.  There may well be little quirks with
> Postfix that I don't know about.  It's all very similar with the MTA
> that I do use (Sendmail) but I can't be quite so sure with Postfix as
> I can with Sendmail.
> 
> Fundamentally you need Postfix to know how to talk to clamav-milter,
> clamav-milter to know how to talk to clamd, and the same in the other
> direction; clamd needs to know how to talk to clamav-milter, and the
> milter needs to know how to talk to Postfix.  That's more or less all
> there is to it as far as the communications between the processes is
> concerned, but then you have to configure it all to do what you want
> it to do of course.  I see that you've started on that already with
> things like detecting PUAs.
> 

The canonical information on how to use milters in Postfix is in the 
Postfix source tree: README_FILES/MILTER_README.  There's also an HTML 
version.

And I would also second the Dove book Ged links to above, if you are 
about to start fiddling with Postfix configuration.  It's old, but it's 
probably the most complete, and of course, when in doubt look at the 
source, <http://www.postfix.org/> has a lot of resources.

	Cheers,
		Gary	B-)



More information about the clamav-users mailing list