Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #21 (permalink)  
Old 08-14-2009, 03:21 AM
Moderator
 
Posts: 7,928
Default

Code:
su - zimbra
zmprov gcf zimbraLmtpPermanentFailureWhenOverQuota
By default it is set to FALSE but if you change to TRUE it will reject the email with a permanent failure if mailbox is over quota.
__________________
Reply With Quote
  #22 (permalink)  
Old 09-02-2009, 03:03 AM
Elite Member
 
Posts: 440
Default

Hi Uxbod,

Our zimbra setup is working fine now but to avoid such issue, I have gone through the link which you suggested and followed the steps:

http://www.zimbra.com/forums/adminis...-sa-rules.html


I have uncommented "loadplugin Mail::SpamAssassin::Plugin::Rule2XSBody" under "/opt/zimbra/conf/spamassassin/v320.pre" .I am using RHEL1 and I found dependancies while installing libstdc++.so.6(GLIBCXX_3.4.9) as my original libstdc packages were with old version so I upgraded those by using rpm -U ..pls go through below steps which i have performed on my test server :

################################################## ##

[root@test /]# rpm -ivh re2c-0.12.3-2.fc9.x86_64.rpm
warning: re2c-0.12.3-2.fc9.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 4ebfc273
error: Failed dependencies:
libstdc++.so.6(GLIBCXX_3.4.9)(64bit) is needed by re2c-0.12.3-2.fc9.x86_64

[root@test /]# rpm -ivh libstdc++-4.3.0-8.x86_64.rpm
warning: libstdc++-4.3.0-8.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Preparing... ########################################### [100%]
file /usr/lib64/libstdc++.so.6 from install of libstdc++-4.3.0-8 conflicts with file from package libstdc++-4.1.2-14.el5

[root@test /]# rpm -qa | grep libstdc
libstdc++-4.1.2-14.el5
libstdc++-devel-4.1.2-14.el5
compat-libstdc++-296-2.96-138
libstdc++-4.1.2-14.el5

[root@test /]# ll /usr/lib64/libstdc*
lrwxrwxrwx 1 root root 29 Sep 2 13:03 /usr/lib64/libstdc++.so.6 -> /usr/lib64/libstdc++.so.6.0.8
-rwxr-xr-x 1 root root 976312 Jul 11 2007 /usr/lib64/libstdc++.so.6.0.8

[root@test /]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.1 (Tikanga)

[root@test /]# rpm -U libstdc++-4.3.0-8.x86_64.rpm
warning: libstdc++-4.3.0-8.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2

[root@test /]# rpm -qa | grep libstdc
libstdc++-4.3.0-8
libstdc++-4.1.2-14.el5
libstdc++-devel-4.1.2-14.el5
compat-libstdc++-296-2.96-138

[root@test /]# ll /usr/lib64/libstdc*
lrwxrwxrwx 1 root root 19 Sep 2 15:02 /usr/lib64/libstdc++.so.6 -> libstdc++.so.6.0.10
-rwxr-xr-x 1 root root 1011160 Apr 29 2008 /usr/lib64/libstdc++.so.6.0.10

[root@test /]# rpm -ivh re2c-0.12.3-2.fc9.x86_64.rpm
warning: re2c-0.12.3-2.fc9.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 4ebfc273
Preparing... ########################################### [100%]
package re2c-0.12.3-2.fc9 is already installed

[root@test /]# /usr/bin/sa-compile --siteconfigpath=/opt/zimbra/conf/spamassassin --updatedir=/opt/zimbra/conf/spamassassin
[22126] info: generic: base extraction starting. this can take a while...
[22126] info: generic: extracting from rules of type body_0
100% [================================================== ================================================== ==] 6583.73 rules/sec 00m00s DONE
100% [================================================== ================================================== ==] 1089.94 bases/sec 00m00s DONE
[22126] info: body_0: 677 base strings extracted in 1 seconds
cd /tmp/.spamassassin22126f4oIYOtmp
cd Mail-SpamAssassin-CompiledRegexps-body_0
re2c -i -b -o scanner1.c scanner1.re
re2c -i -b -o scanner2.c scanner2.re
re2c -i -b -o scanner3.c scanner3.re
re2c -i -b -o scanner4.c scanner4.re
/usr/bin/perl Makefile.PL PREFIX=/tmp/.spamassassin22126f4oIYOtmp/ignored INSTALLSITEARCH=/opt/zimbra/conf/spamassassin
Writing Makefile for Mail::SpamAssassin::CompiledRegexps::body_0
make
cp body_0.pm blib/lib/Mail/SpamAssassin/CompiledRegexps/body_0.pm
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap body_0.xs > body_0.xsc && mv body_0.xsc body_0.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FI LE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 - m64 -mtune=generic -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" body_0.c
body_0.xs: In function âXS_Mail__SpamAssassin__CompiledRegexps__body_0_sc anâ:
body_0.xs:75: warning: suggest parentheses around assignment used as truth value
body_0.xs:84: warning: suggest parentheses around assignment used as truth value
body_0.xs:93: warning: suggest parentheses around assignment used as truth value
body_0.xs:102: warning: suggest parentheses around assignment used as truth value
body_0.xs:58: warning: unused variable âiâ
gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FI LE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 - m64 -mtune=generic -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" scanner1.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" scanner2.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" scanner3.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" scanner4.c
Running Mkbootstrap for Mail::SpamAssassin::CompiledRegexps::body_0 ()
chmod 644 body_0.bs
rm -f blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic body_0.o scanner1.o scanner2.o scanner3.o scanner4.o -o blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so \
\

chmod 755 blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
cp body_0.bs blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.bs
chmod 644 blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.bs
Manifying blib/man3/Mail::SpamAssassin::CompiledRegexps::body_0.3pm
make install
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /opt/zimbra/conf/spamassassin/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.bs
Installing /opt/zimbra/conf/spamassassin/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
Installing /opt/zimbra/conf/spamassassin/Mail/SpamAssassin/CompiledRegexps/body_0.pm
Installing /tmp/.spamassassin22126f4oIYOtmp/ignored/share/man/man3/Mail::SpamAssassin::CompiledRegexps::body_0.3pm
Appending installation info to /tmp/.spamassassin22126f4oIYOtmp/ignored/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod
cp /tmp/.spamassassin22126f4oIYOtmp/bases_body_0.pl /opt/zimbra/conf/spamassassin/bases_body_0.pl
cd /
rm -rf /tmp/.spamassassin22126f4oIYOtmp
[root@test/]#

################################################## ##

Here you can see message "warning: suggest parentheses around assignment used as truth value" ....wht it mean??....is it installed successfully??...how can we check re2c is enabled and working properly ??

Please suggest.

Thanks

Last edited by chandu; 09-02-2009 at 03:09 AM..
Reply With Quote
  #23 (permalink)  
Old 09-03-2009, 10:56 PM
Elite Member
 
Posts: 440
Default

can anyone pls tell me how to confirm re2c enabled and working fine with zimbra+SA setup?
And wht is the meaning of above mentioned warning message.

Thanks
Reply With Quote
  #24 (permalink)  
Old 09-04-2009, 12:05 AM
Moderator
 
Posts: 7,928
Default

They are just warnings so not a issue ... as long as you have enabled Rule2XSBody then you should be just fine.
__________________
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.