Virus Scan based on user level?
807574Sep 19 2006 — edited Feb 11 2020Hi
I am new to Java System Messaging Server, going to upgrade to 2005Q1 from NMS4.1. We are using TrendMicro InterScan v3.81 for UNIX for virus protection.
I have read jay's some post regarding aliasdetourhost for channel scanning, tested, it is successful.
Now my question is how to scan virus based user level as I do spamAssassin as user level? Because we host client site as well, need to optin by user level.
JMS supply libspamass.so to interface for SpamAssassin, does it also supply interface for TrendMicro virus scanning or generic interface? libcap.so seem not, libbmiclient.so can't found in JMS, must be in Brightmail package.
In JMS6 2005Q1 Admin guide P445, to specify user LDAP attributes that activate the spam filtering software, there is example,
LDAP_OPTIN1=SymatecAV
LDAP_OPTIN2=SpamAssassin
I am confused, SymatecAV and SpamAssassin are not belong to any JMS class, how can add in as user LDAP attribute???
According to JMS 6 2005Q1 Schema Reference guid P132-133, seem this attribute should be mailAntiUBESerivce
and I use LDAP_OPTIN2=mailAntiUBESerivce, test SpamAssassin works, try LDAP_OPTIN2=SpamAssassin, JDS 5.2 complain error.
Do I have to modify inetMailUser class? or just pick up unused attribute to activate virus scaning software? or used mailAntiUBESerivce other value: virus?
option.dat:
LDAP_OPTIN1=mailAntiUBESerivce
LDAP_OPTIN2=mailAntiUBESerivce
! for TrendMicro virus scanning config
spamfilter1_config_file=?????
spamfilter1_library=????
spamfilter1_optional=???
spamfilter1_string_action=data:, "reject"
! for SpamAssassin
spamfilter2_config_file=/opt/SUNWmsgsr/config/spamassassin.opt
spamfilter2_library=/opt/SUNWmsgsr/lib/libspamass.so
spamfilter2_optional=1
spamfilter2_string_action=data:,addtag "[Probable SPAM]";
user LDAP:
mailAntiUBESerivce: virus
mailAntiUBESerivce: spam
imta.cnf: add filter to ims-ms???
! ims-ms
ims-ms defragment subdirs 20 notices 1 7 14 21 28 backoff "pt5m" "pt10m" "pt30m" "pt1h" "pt2h" "pt4h" maxjobs 2 pool IMS_POOL fileinto $U+$S@$D destinationspamfilter1optin virus
destinationspamfilter2optin spam
ims-ms-daemon
to scan in-coming store message according to user's LDAP attribute virus or spam. Also I would like to scan the user sendout email, how to do?
sourcespamfilterXoptin enought?
That is what I thought, but I have not idea about the interface lib, can't test correct or not, Please help me! Thanks advance.
BTW, I test on JMS6 2005Q1, if some one implemented on newer version, think newer version would meet my task, also please let me know, I can change to newer version.
Message was edited by:
Jerry_Goconnect