/etc/mailname (dovecot postfix)

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

  1. xtremxpert

    xtremxpert New Member


    Following the perfect setup (bind & dovecot) at the end of installation I saw that message

    Stopping amavisd: amavisd-new.
    head: cannot open `/etc/mailname' for reading: No such file or directory
    Starting amavisd: amavisd-new.
    Digging a bit on this site I found that the Multiserver setup on debian had this line

    echo mail.example.tld > /etc/hostname
    [B]echo mail.example.tld > /etc/mailname[/B]
    /etc/init.d/hostname.sh start
    Is it mandatory. Do I have to reinstall ISPConfig after addind this line.

    Last edited: Oct 25, 2010
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You dont have to reinstall ispconfig after setting the mailname, just restart amavisd. Every step in the tutorial is mandatory if you want to get a working setup.
  3. xtremxpert

    xtremxpert New Member

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    /etc/mailname is created by the apt installer automatically when you install postfix, so there is no separate command needed for that as the file gets created automatically on debian.

Share This Page