Virtual Users And Domains With Postfix, Courier, [...] (Ubuntu 11.10) - no dir

Discussion in 'HOWTO-Related Questions' started by thissideup, May 1, 2012.

  1. thissideup

    thissideup New Member


    I followed this tutorial to the letter (

    however, after mailing a welcome message, postfix does not create a Maildir in /home/vmail. instead, it creates a file with the username in /var/mail/.

    this is my error message in /var/log/mail.log:
    May  1 20:57:04 h2025044 imapd: chdir No such file or directory
    May  1 20:57:04 h2025044 imapd: No such file or directory
    what can I do?
  2. falko

    falko Super Moderator

    What's the output of
    grep alex /etc/passwd
    ? I guess that alex is a system user...
  3. thissideup

    thissideup New Member

    Yes he is.

    Also, I suppose now that it won't work since is the FQDN I supplied postfix with, so in effect it is the local domain and not a virtual one.

    So in recollection, I suppose I did not follow your How-To correctly, for I should have used something like or for the local domain right?

    If that's what's causing the trouble, is it possible for me to change that now or should I rather start from scratch?

    Best regards.
  4. falko

    falko Super Moderator

    Yes, that's right.

    You can change the hostname in /etc/mailname and /etc/hostname.

Share This Page