> Michael St. Laurent wrote: >> I've installed the clamav and clamav-milter packages on a system and >> configured the /etc/mail/sendmail.mc file to use it. I did a >> make in the /etc/mail directory, confirmed that the new sendmail.cf >> file seemed to contain the proper references to the milter socket and >> then restarted sendmail. >> >> It doesn't work. :-( >> >> /etc/mail/sendmail.mc contains (among other things) the lines: >> >> -------------------- >> INPUT_MAIL_FILTER(`clamav-milter', `S=local:/var/run/clamav/clamav- >> milter.sock,F=,T=S:4m;R:4m;E:10m')dnl >> define(`confINPUT_MAIL_FILTERS', `clamav-milter')dnl Michael, I was looking at my sendmail.mc file and noticed that I do not include the define statement after the INPUT_MAIL_FILTER statement. In fact, I found the following in the sendmail README (see below). The last paragraph caught my eye. Steve Cowles --- cut/paste README --- The INPUT_MAIL_FILTER() command performs the same actions as MAIL_FILTER but also populates the m4 variable `confINPUT_MAIL_FILTERS' with the name of the filter such that the filter will actually be called by sendmail. For example, the two commands: INPUT_MAIL_FILTER(`archive', `S=local:/var/run/archivesock, F=R') INPUT_MAIL_FILTER(`spamcheck', `S=inet:2525@localhost, F=T') are equivalent to the three commands: MAIL_FILTER(`archive', `S=local:/var/run/archivesock, F=R') MAIL_FILTER(`spamcheck', `S=inet:2525@localhost, F=T') define(`confINPUT_MAIL_FILTERS', `archive, spamcheck') In general, INPUT_MAIL_FILTER() should be used unless you need to define more filters than you want to use for `confINPUT_MAIL_FILTERS'. Note that setting `confINPUT_MAIL_FILTERS' after any INPUT_MAIL_FILTER() commands will clear the list created by the prior INPUT_MAIL_FILTER() commands. --- end cut/paste README --- FWIW: This is how I call spamass-milter... (all one line) INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass.sock, F=, T=C:15m;S:4m;R:4m;E:10m') -- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list