Virtual Users and Dmains. Another prob in amavisd.conf

Discussion in 'HOWTO-Related Questions' started by Nuxeretes, Mar 9, 2006.

  1. Nuxeretes

    Nuxeretes New Member

    Hi again!

    I´m tryingo to install this tutorial in an Ubuntu 5.04 box. Im not usin quotas, so i didn´t install the postfix patch.

    Well, i have a problem when i need to restart amavis, i have a problem in this line
    $sql_select_policy = 'SELECT "Y" as local FROM domains WHERE CONCAT("@",domain) IN (%k)';

    I clone this line in my .conf file. But it doesn´t work, it says
    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)';"
    (failed).


    I don´t see anyone with this problem in the forum. only me?
    Thanks
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Maybe this is a problem with Ubuntu or the amavisd version on Ubuntu? :confused:
     
  3. Nuxeretes

    Nuxeretes New Member

    I suppose...

    Only Debian will work with this tutorial?

    I will search to try to fix this problem.
    Thanks Falko!
     
  4. falko

    falko Super Moderator Howtoforge Staff

    I have tested it on Debian only, so I don't know if it works on Ubuntu...
     
  5. Nuxeretes

    Nuxeretes New Member

    Then... is time to fight with Debian... :D

    Thanks Falko.
     

Share This Page