SpamSnake typeo's & errors in the HOWTO *Everyone pls post your errors here*

Discussion in 'HOWTO-Related Questions' started by getrav, May 14, 2008.

  1. getrav

    getrav New Member

    I am going to start listing the typeo's & errors as I come across them here.
    Once they are fixed, I'll cross it off.
    Rocky, please update your howto when possible:

    4. Change update-relay-recipients.sh
    The system didn't like the "cd" in the script file I guess so it failed. I have updated it as follows:
    Code:
    !/bin/sh
    
    /usr/bin/getadsmtp.pl
    /usr/sbin/postmap /etc/postfix/relay_recipients
    

    3. 9.13.1 SpamAssassin Bayes Database to SQL Conversion
    crontab -e should say
    Code:
    30 01 * * * [COLOR="Purple"]/usr/bin/sa-learn[/COLOR] --force-expire --sync -p /etc/MailScanner/spam.assassin.prefs.conf
    2. when I run the above command /usr/bin/sa-learn --force-expire --sync -p /etc/MailScanner/spam.assassin.prefs.conf:
    I get an error, I think its because we incorrectly configured the password in the HOWTO:
    Code:
    DBI connect('database=FuzzyOcr;mysql_socket=/var/run/mysqld/mysqld.sock','fuzzyocr',...) failed: Access denied for user 'fuzzyocr'@'localhost' (using password: YES) at /etc/mail/spamassassin/FuzzyOcr/Config.pm line 177
    
    I don't know the exact mysqladmin command but the password should be "password"

    1. got an email from postfix -- Fixed :)
    Code:
    /bin/sh: /usr/bin/update-relay-recipients.sh: Permission denied
    Please add
    Code:
    chmod +x /usr/bin/update-relay-recipients.sh
     
    Last edited: May 16, 2008
  2. Rocky

    Rocky Member

    Changed script to executable.
     

Share This Page