Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Milter not being used in sendmail-8.12.8-9.90

Milter not being used in sendmail-8.12.8-9.90

2004-02-11       - By Cowles, Steve

 Back
Reply:     <<     11     12     13     14     15     16     17     18     19     20     >>  

> 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@(protected), F=T')

are equivalent to the three commands:

       MAIL_FILTER(`archive', `S=local:/var/run/archivesock, F=R')
       MAIL_FILTER(`spamcheck', `S=inet:2525@(protected), 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@(protected)
https://www.redhat.com/mailman/listinfo/shrike-list



Earn $52 per hosting referral at Lunarpages.