Podpora FAQ Izobraževanje Kontaktirajte podporo Oddaljeno posredovanje Dokumentacija Izgubljene licence Threat Sense posodobitve Mailing lista
 
 

NOD32 LMS (Sendmail)
 

Prepared by NOD32 Hong Kong
May 2004

Introduction

For sendmail, nod32 provides nod32smfi as a content filter for sendmail. Both incoming and outgoing emails are scanned

check /etc/nod32/nod32.cfg, make sure that there exists a section, [smfi]

add milter config into /etc/mail/sendmail.mc, find the line define(`confINPUT_MAIL_FILTERS..., if it does not exist, add:

define(`confINPUT_MAIL_FILTERS',`nod32smfi')dnl

if it exists, append nod32smfi input your current config, e.g.

define(`confINPUT_MAIL_FILTERS',`nod32smfi, otherfilters, ...')dnl

add nod32smfi configs

MAIL_FILTER(`nod32smfi',`S=local:/var/run/nod32smfi.sock,F=T,T=S:10s;R:10s;E:5m')

generate your new cf file with m4

m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf (redhat)

start your nod32smfi service, and restart sendmail

chkconfig --add nod32smfi (RedHat)
chkconfig -a nod32smfi (SuSE)

/etc/init.d/nod32smfi start
/etc/init.d/sendmail restart

Here is an alternative method to config sendmail for nod32 to scan in mda

Edit the file sendmail.cf, find Mlocal, and replace the config with following

Mlocal, P=/usr/bin/nod32mda, F=lsDFMAw5:/|@qSPfhn9,
        S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
        T=DNS/RFC822/X-Unix, A=nod32mda -t -Y -a $h -d $u
 

Then change the line mda_path in /etc/nod32/nod32.cfg

mda_path = "/usr/bin/procmail" ; or your procmail path