Results 1 to 2 of 2

Thread: Amavis not loading at startup

  1. #1
    Join Date
    Jul 2011

    Amavis not loading at startup

    I'm using Ubuntu 11.10 with postfix, amavis, spamassassin, postgrey.

    Amavis is set to load at bootup.

    The mail.log file shows amavis trying to load with the following message:

    amavis[917]: starting. /usr/sbin/amavisd-new at amavisd-new-2.6.5 (20110407), Unicode aware

    But it doesn't actually start.

    If I start it manually "sudo service amavis start" it loads and mail.log has:

    amavis[2594]: starting. /usr/sbin/amavisd-new at holtlapu.ubuntu.lan amavisd-new-2.6.5 (20110407),
    Unicode aware, LANG="en_US.UTF-8"

    So it appears when it tries to load on bootup, it's not aware of the machine name?

    It loaded fine when I initially installed it. I have removed amavis and reinstalled it. No change.

    After searching I found the solution:

    Put the following in /etc/amavis/conf.d/50-user replacing with your domain name and hostname with your hostname.:

    $mydomain = '';
    $myhostname = '';
    @local_domains_maps = ( [''] );
    Last edited by train4499; February 17th, 2012 at 09:39 PM.

  2. #2
    Join Date
    Oct 2008

    Smile Re: Amavis not loading at startup


    If this fixes it, you're a genius and thanks for the post. Every time the mail server restarts, I'm having to manually start amavis and it has been doing my head in!




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts