Virtual Users And Domains With Postfix, Courier And MySQL

Discussion in 'HOWTO-Related Questions' started by Mave, Apr 12, 2006.

  1. Mave

    Mave New Member

    I am following the howto mentioned in the title but stuck on page 3. I have just editted /etc/amavis/amavisd.conf and entered the following commands:

    adduser clamav amavis
    /etc/init.d/amavis restart

    When amavis restarts i get the following error:

    Stopping amavisd: amavisd-new.
    Starting amavisd: Error in config file /etc/amavis/amavisd.conf: syntax error at /etc/amavis/amavisd.conf line 835, near "'SELECT "Y" as local FROM domains WHERE CONCAT("@",domain) IN (%k)';"

    This line is in the howto so what could be wrong with it?
  2. Mave

    Mave New Member

    Problem solved, syntax was wrong, my bad. :p

    But now i get the next error, but this line seems correct to me

    Starting amavisd: Error in config file /etc/amavis/amavisd.conf: Can't modify concatenation (.) or string in scalar assignment at /etc/amavis/amavisd.conf line 846, near "undef;"
    syntax error at /etc/amavis/amavisd.conf line 846, near "undef;"

    The line says:

    $sql_select_white_black_list = undef; # undef disables SQL white/blacklisting
    Last edited: Apr 12, 2006
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    This line looks fine to mee. Can you please post some of the lines before this line.
  4. falko

    falko Super Moderator Howtoforge Staff

  5. Mave

    Mave New Member

Share This Page