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

    hi!

    I followed this tutorial to the letter (http://www.howtoforge.com/virtual-u...x-courier-mysql-and-squirrelmail-ubuntu-11.10)

    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:
    Code:
    May  1 20:57:04 h2025044 imapd: chdir herr-webdesign.de/alex/: No such file or directory
    May  1 20:57:04 h2025044 imapd: [email protected]: No such file or directory
    what can I do?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    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 herr-webdesign.de 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 mail.herr-webdesign.de or server1.herr-webdesign.de 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 Howtoforge Staff

    Yes, that's right.

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

Share This Page