Error creating virtual hosts - too long? Wha

Virtualmin
vyoufinder
2007-05-25
2013-05-21
  • vyoufinder
    vyoufinder
    2007-05-25

    Everything looks like it's working. I go to create a irtual server using Virtualmin and I get this:

    Creating home directory ..
    .. done

    Creating administration group vid ..
    .. done

    Creating administration user vid ..
    .. done

    Failed to create virtual server : makemap failed :

    makemap: /etc/mail/virtusertable.db: line 1: line too long (1024 bytes max)
    makemap: /etc/mail/virtusertable.db: line 2: line too long (1024 bytes max)
    makemap: /etc/mail/virtusertable.db: line 3: line too long (1024 bytes max)
    makemap: /etc/mail/virtusertable.db: line 4: line too long (1024 bytes max)
    makemap: /etc/mail/virtusertable.db: line 5: line too long (1024 bytes max)
    makemap: /etc/mail/virtusertable.db: line 6: line too long (1024 bytes max)
    makemap: /etc/mail/virtusertable.db: line 7: line too long (1024 bytes max)
    makemap: /etc/mail/virtusertable.db: line 8: line too long (1024 bytes max)
    makemap: /etc/mail/virtusertable.db: line 9: line too long (1024 bytes max)
    makemap: /etc/mail/virtusertable.db: line 10: line too long (1024 bytes max)
    makemap: /etc/mail/virtusertable.db: line 11: line too long (1024 bytes max)
    makemap: /etc/mail/virtusertable.db: line 12: line too long (1024 bytes max)

    Can you help? There's nothing in virtusertable.db. It's an empty file.

     
    • vyoufinder
      vyoufinder
      2007-05-26

      The problem was in my sendmail configuration.

      I had to change

      Feature     FEATURE(virtusertable, `hash -o /etc/mail/virtusertable.db')dnl

      to

      Feature     FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')dnl

      Thanks to Jamie, that solved it.