Mailsnake related questions

Discussion in 'HOWTO-Related Questions' started by Ovidiu, Apr 21, 2016.

  1. Ovidiu

    Ovidiu Active Member

    So I couldn't get my hands onto a Ubuntu Jeos 12.04 LTS Precise Pangolin LXC so I tried a Ubuntu Precise 12.04

    accidentally ran the /usr/src/postfix.sh too often:
    Code:
    /usr/src/postfix.sh
    postmap: warning: /etc/postfix/virtual.db: duplicate entry: "root"
    postmap: warning: /etc/postfix/virtual.db: duplicate entry: "abuse"
    postmap: warning: /etc/postfix/virtual.db: duplicate entry: "postmaster"
    postmap: warning: /etc/postfix/virtual.db: duplicate entry: "root"
    postmap: warning: /etc/postfix/virtual.db: duplicate entry: "abuse"
    postmap: warning: /etc/postfix/virtual.db: duplicate entry: "postmaster"
    postmap: warning: /etc/postfix/virtual.db: duplicate entry: "root"
    postmap: warning: /etc/postfix/virtual.db: duplicate entry: "abuse"
    postmap: warning: /etc/postfix/virtual.db: duplicate entry: "postmaster"
    postmap: warning: /etc/postfix/header_checks.db: duplicate entry: "/^received:/"
    postmap: warning: /etc/postfix/header_checks.db: duplicate entry: "/^received:/"
    postmap: warning: /etc/postfix/header_checks.db: duplicate entry: "/^received:/"
    Also gettign errrors when starting postfix:
    Code:
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: rbl_policy=reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: policy-spf_time_limit=3600s
    
    getting DCC fails:
    Code:
    wget http://ppa.launchpad.net/jonasped/ppa/ubuntu/pool/main/d/dcc/dcc-common_1.3.130-0ubuntu1~ppa2~quantal1_$(uname -m | sed -e 's/x86_64/amd64/' -e 's/i686/i386/').deb && dpkg -i dcc-common_1.3.130-0ubuntu1~ppa2~quantal1_$(uname -m | sed -e 's/x86_64/amd64/' -e 's/i686/i386/').deb
    
     wget http://ppa.launchpad.net/jonasped/ppa/ubuntu/pool/main/d/dcc/dcc-common_1.3.130-0ubuntu1~ppa2~quantal1_$(uname -m | sed -e 's/x86_64/amd64/' -e 's/i686/i386/').deb && dpkg -i dcc-common_1.3.130-0ubuntu1~ppa2~quantal1_$(uname -m | sed -e 's/x86_64/amd64/' -e 's/i686/i386/').deb
    --2016-04-21 12:57:56--  http://ppa.launchpad.net/jonasped/ppa/ubuntu/pool/main/d/dcc/dcc-common_1.3.130-0ubuntu1~ppa2~quantal1_amd64.deb
    Resolving ppa.launchpad.net (ppa.launchpad.net)... 91.189.95.83
    Connecting to ppa.launchpad.net (ppa.launchpad.net)|91.189.95.83|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2016-04-21 12:57:56 ERROR 404: Not Found.
    
    so I manually downloaded the right package.

    the mailscanner install ran into a loop so I downloaded the package for debian and ran that installer. worked fine as far as I can tell

    Importing the spamassassin DB structure into MYSQL gives error:
    Code:
    mysql -u sa_user -p sa_bayes < /usr/share/doc/spamassassin/sql/bayes_mysql.sql
    Enter password:
    ERROR 1064 (42000) at line 2: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 5
    
    At this point I am abandoning this project.
     

Share This Page