Results 1 to 3 of 3

Thread: Zimbra Altermime

  1. #1
    Join Date
    Feb 2009
    Posts
    26
    Rep Power
    6

    Default Zimbra Altermime

    Hi,

    I was wondering if Zimbra Altermime would work with FC7 and Zimbra 5.0.13.. If the direct install wont work can I make it work with some work arounds ? I would appreciate if someone could guide me.

    Abhinav

  2. #2
    Join Date
    Oct 2005
    Location
    USA, Canada and India
    Posts
    777
    Rep Power
    10

    Default

    Adding a disclaimer (altermime) or footer - Zimbra :: Wiki
    or
    Domain Disclaimer Extension Admin UI - Zimbra :: Wiki

    above links can explain the install but i dont know if FC7 has some different isssue.

    if you search the fourms for "disclaimer" then you will see lots of people had sucess with it (i guess maily 2nd link)


    Raj
    i2k2 Networks
    Dedicated & Shared Zimbra Hosting Provider

  3. #3
    Join Date
    Jun 2009
    Posts
    195
    Rep Power
    6

    Default

    This is the error message I am having when I try to send email from my zimbra account to outside domain. Below the error message is my disclaimer script...

    This is the mail system at host zimbra.mail.domain.com.

    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.

    For further assistance, please send mail to postmaster.

    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.

    The mail system

    <borngunners@mail.com>: service unavailable. Command output:
    /opt/zimbra/postfix/conf/disclaimer: 39: /usr/bin/altermime: Permission
    denied Message content rejected

    #!/bin/sh
    INSPECT_DIR=/var/spool/filter
    SENDMAIL=/opt/zimbra/postfix/sbin/sendmail
    FOLDER_DISCLAIMER=/opt/zimbra/postfix/conf

    # Exit codes from <sy***its.h>
    EX_TEMPFAIL=75
    EX_UNAVAILABLE=69

    # Clean up when done or when aborting.
    trap "rm -f in.$$" 0 1 2 3 15

    # Start processing.
    cd $INSPECT_DIR || { echo $INSPECT_DIR does not exist; exit $EX_TEMPFAIL; }

    TEXT_DISCLAIMER=`grep "[a|A-z|Z]" ${FOLDER_DISCLAIMER}/disclaimer.txt | grep -v "_" | tail -2 | head -1`

    cat > in.$$ || { echo Cannot save mail to file; exit $EX_TEMPFAIL; }

    nohup grep "${TEXT_DISCLAIMER}" in.$$ > /dev/null 2>&1

    # Extract SENDTO Address(ex. "user@other_domain.com")
    to_address=`grep -m 1 "To:" in.$$ | cut -d "<" -f 2 | cut -d ">" -f 1`

    # Extract from SENDTO address only DOMAIN name(ex. "other_domain.com")
    to_dom=`echo $to_address |cut -d "@" -f 2`

    our_domain="mail.domain.com"

    # If OTHER_DOMAIN.COM(SENDTO domain) is not YOURDOMAIN.COM add disclaimer
    # means that add disclaimer only for outgoing mail
    # for internal mail you will not have disclaimer
    if [ $to_dom != $our_domain ]; then
    /usr/bin/altermime --input=in.$$ \
    --disclaimer=${FOLDER_DISCLAIMER}/disclaimer.txt \
    --disclaimer-html=${FOLDER_DISCLAIMER}/disclaimer.html \
    --xheader="X-Copyrighted-Material: Please visit http://www.company.com/privacy.htm" || \
    { echo Message content rejected; exit $EX_UNAVAILABLE; }
    fi

    $SENDMAIL -i "$@" < in.$$

    exit $?

Similar Threads

  1. Replies: 8
    Last Post: 01-12-2012, 01:20 AM
  2. slapd message error
    By smoke in forum Administrators
    Replies: 7
    Last Post: 04-27-2008, 03:23 PM
  3. admin consol blank after 5.0.3 upgarde
    By maumar in forum Administrators
    Replies: 6
    Last Post: 03-21-2008, 05:16 AM
  4. Replies: 12
    Last Post: 02-25-2008, 06:28 PM
  5. Zimbra shutdowns every n hours.
    By Andrewb in forum Administrators
    Replies: 13
    Last Post: 08-14-2007, 08:55 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
  •