Problem using SpamAssasin in SunJavaSystem
Hello,
I have configured SpamAssasin as the instruction says and also did this:
======================================
- /opt/sun/messaging/config/spamassassin.opt
======================================
host=127.0.0.1
port=2000
mode=1
debug=1
======================================
- /opt/sun/messaging/config/option.dat
======================================
! MTA configuration options
!
! This sets the alias resolution order
!8 = Use ALIAS_URL0
!7 = Use ALIAS_URL1
!6 = Use ALIAS_URL2
!4 = Use the alias file
ALIAS_MAGIC=8764
ALIAS_URL0=ldap:///$V?*?sub?$R
USE_REVERSE_DATABASE=4
REVERSE_URL=ldap:///$V?$N?sub?$R
USE_DOMAIN_DATABASE=0
! MISSING_RECIPIENT_POLICY controls how illegal headers that don't
! contain any To:, Cc:, or Bcc: fields are handled for channels that
! do not have their own explicit missingrecipientpolicy keyword set.
! The default of 0 means that the envelope addresses are used to
! construct a valid To: header field. This default behavior tends
! to be especially appropriate for the tcp_local channel.
MISSING_RECIPIENT_POLICY=0
MISSING_RECIPIENT_GROUP_TEXT=Undisclosed recipients
ALIAS_DOMAINS=6
!
LDAP_SCHEMALEVEL=2
!
VACATION_TEMPLATE=file:///opt/sun/messaging/data/vacation/$3I/$1U/$2U/$U.vac
!
! for Spamassassin
!
spamfilter1_config_file=/opt/sun/messaging/config/spamassassin.opt
spamfilter1_library=/opt/sun/messaging/lib/libspamass.so
spamfilter1_optional=1
spamfilter1_string_action=data:,addtag "[SPAM detected $U]";
======================================
- /opt/sun/messaging/config/imta.cnf
======================================
! 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 spam
ims-ms-daemon
======================================
But now when i try to do
/opt/sun/messaging/sbin/imsimta cnbuild
i get following error:
/opt/sun/messaging/lib/imtacli: symbol lookup error: /opt/sun/messaging/lib/libmailwave.so: undefined symbol: db_env_create_4002
Funny thing is i can't type 'version either:
/opt/sun/messaging/sbin/imsimta version
same error:
/opt/sun/messaging/lib/imtacli: symbol lookup error: /opt/sun/messaging/lib/libmailwave.so: undefined symbol: db_env_create_4002
Please help what to do ;/
Edited:
[/opt/sun/messaging/lib]# ls -la | grep libmail
-rwxr-xr-x1 bin bin752014 Jul 15 2005 libmailwave.so*

