Page 3 of 3 FirstFirst 123
Results 21 to 24 of 24

Thread: Mail delivery is very slow

  1. #21
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    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.

  2. #22
    Join Date
    Dec 2007
    Posts
    445
    Rep Power
    7

    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_scanâ:
    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 04:09 AM.

  3. #23
    Join Date
    Dec 2007
    Posts
    445
    Rep Power
    7

    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

  4. #24
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

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

Similar Threads

  1. [SOLVED] Zimbra don't work - zmmailboxd
    By dmalherbe in forum Administrators
    Replies: 10
    Last Post: 11-20-2008, 10:05 AM
  2. zmamavisdctl stopped and won't restart
    By alto in forum Installation
    Replies: 2
    Last Post: 04-18-2008, 01:41 AM
  3. Problem with Postfix and MTA
    By ZMilton in forum Administrators
    Replies: 16
    Last Post: 04-16-2008, 07:47 AM
  4. Issues...
    By timothyalangorman in forum Administrators
    Replies: 3
    Last Post: 11-19-2007, 10:43 AM
  5. Seeming variety of problems on suse-9.1
    By Crexis in forum Installation
    Replies: 52
    Last Post: 03-04-2006, 12:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •