ISPConfig didn't create /etc/amavisd/amavisd.conf

Discussion in 'Installation/Configuration' started by DarranJones, Oct 25, 2010.

  1. DarranJones

    DarranJones New Member

    I followed through the how-to, and everything went fine except step 14.

    I didn't think anything was wrong because it says...

    '(it is ok if you see this error: Starting Mail Virus Scanner (amavisd): Config file "/etc/amavisd/amavisd.conf" does not exist, at /usr/sbin/amavisd line 1795. - the missing configuration file /etc/amavisd/amavisd.conf will be created by the ISPConfig installer.)'

    ...but ISPConfig didn't create a file at /etc/amavisd/amavisd.conf.

    When I do locate amavisd.conf I get the following output;

    /etc/amavisd.conf
    /etc/amavisd.conf~
    /usr/share/doc/amavis-new-2.6.4/amavisd.conf
    /usr/share/doc/amavis-new-2.6.4/amavisd.conf-default
    /usr/share/doc/amavis-new-2.6.4/amavisd.conf-sample
    /usr/share/doc/amavis-new-2.6.4/amavisd.conf.orig

    Any help would be appreciated. I really don't want to go through the whole install procedure again.

    Darran
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Run:

    ln -s /etc/amavisd.conf /etc/amavisd/amavisd.conf

    to fix that and then restart amavisd.

    Which Linux distribution do you use?
     
  3. DarranJones

    DarranJones New Member

    Hi Till,

    It's CentOS 5.5.

    I tried

    ln -s /etc/amavisd.conf /etc/amavisd/amavisd.conf

    but it said the same thing :(
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please try:

    mkdir /etc/amavisd
    ln -s /etc/amavisd.conf /etc/amavisd/amavisd.conf

    and then resatrt amavisd.
     
  5. DarranJones

    DarranJones New Member

    Superb mate! You're a life-saver. :D

    Darran
     

Share This Page