About Virtual user and domains

Discussion in 'Server Operation' started by satimis, Oct 13, 2008.

  1. satimis

    satimis Member

    Hi folks,


    Debian Etch - domU (guest) on Xen box
    Host OS -Debian Etch, Gnome deskop


    I follow;
    The Perfect Setup - Debian Etch (Debian 4.0)
    http://www.howtoforge.com/perfect_setup_debian_etch


    to setup this LAMP server. It is now working. Mails can be sent via telnet and received as well with mails delivered to /home/user/Maildir


    On browser;

    http://satimis.com/apache2-default/
    Code:
    It Works!
    

    A minor problem was found;

    # tail /var/log/mail.err
    Code:
    .....
    Oct 13 02:57:42 xen4 dovecot: Auth process died too early - shutting down
    Oct 13 02:57:42 xen4 dovecot: auth(default2): bind(/var/spoon/postix/private/auth) failed: No such file or d irectory
    xen4:/home/satimis# clearcot: auth(default2): net_listen_unix(/var/spoon/postix/private/auth) failed: No suc h file or directory
    
    Please advise where shall I check and how to fix it. TIA


    I'm prepared to set up Virtual users and domains. I found following documents;

    1)
    Virtual Users and Domains with Postfix and MySQL
    http://wiki.frugalware.org/Virtual_Users_and_Domains_with_Postfix_and_MySQL

    2)
    Postfix Virtual Domain Hosting Howto
    http://www.postfix.com/VIRTUAL_README.html


    Can I follow 1) above to proceed? Advice and suggesiotn are appreciated. TIA
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Last edited: Oct 13, 2008
  3. satimis

    satimis Member

    Hi till,


    The printout on tail /var/log/mail.err
    Code:
    bind(/var/spoon/postix/private/auth) failed:
    

    I have no idea where it comes from


    On /etc/default/saslauthd
    Code:
    ....
    
    OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd -r"
    

    # ls -ld /var/spool/postfix/var/run/saslauthd/
    Code:
    drwxr-xr-x 2 root sasl 4096 2008-10-13 06:47 /var/spool/postfix/var/run/saslauthd/
    

    I'm now running Unix Mailbox. To change it to Virtual Domain class. Where shall I start? Do I need to remove some running files/packages? TIA


    B.R.
    satimis
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You installed dovecot as pop3 and imap daemon and not courier as described in the perfect setup guide and the error comes from the dovecot configuration file.

    The tutorial I posted above uses Maildir and not mbox storage.

    The problem that I see at the moment is that you used the perfects etup guide to install your system which configures the server for linux system users as mail users and not virtual users. You will have to do the complete virtual user setup to reconfigure your system.
     
  5. satimis

    satimis Member

    Hi till,


    Going through the notes taken down on installing this server I found the cause of the problem. I cloned the disk image of domU_1, xen1.satimis.com, as the new image for this server, domU-4, xen4.satimis.com. domU_1, xen1.satimis.com, is another mail server which installation is not finished yet. I follow;

    Debian Mail Server Setup with Postfix + Dovecot + SASL + Squirrel Mail
    http://www.debianadmin.com/debian-mail-server-setup-with-postfix-dovecot-sasl-squirrel-mail.html

    to build domU_1, xen1.satimis.com

    That is the confusion originated.


    It'll better for me to dump this server and make a fresh start. I'll start over again on a clean Debian Etch OS running on domU_9, xen9.satimis.com to build a Virtual Domain mail server. Thanks


    B.R.
    satimis
     

Share This Page