Vitual Users and Domains w/ Postfix,courier

Discussion in 'HOWTO-Related Questions' started by chrishenley, Sep 25, 2006.

  1. chrishenley

    chrishenley New Member

    Thanks for this guide. It was helpful. The only problem I had was that postfix couldn't create the new domain directories in /home/vmail unless I chmod'd 777. Is this because postfix is running as postfix and cannot write to /home/vmail?

    Has anyone figured out vacation notices? To me, this would complete the virtual mail solution.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Did you create the user and group vmail, and did you put the correct values into /etc/postfix/main.cf?

    Have a look here: http://www.howtoforge.com/forums/showthread.php?t=4399&highlight=sqwebmail+autoresponder
     
  3. chrishenley

    chrishenley New Member

    Thanks, I'll give it a shot.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    grep vmail /etc/group
    and
    Code:
    ls -la /home/vmail
    ?
     
  5. chrishenley

    chrishenley New Member

    vmail:x:5000:

    drwxrwxrwx 4 vmail vmail 4096 Sep 20 01:38 .
    drwxr-xr-x 5 root root 4096 Sep 18 23:47 ..
    -rw-r--r-- 1 vmail vmail 24 Sep 18 23:47 .bash_logout
    -rw-r--r-- 1 vmail vmail 191 Sep 18 23:47 .bash_profile
    -rw-r--r-- 1 vmail vmail 124 Sep 18 23:47 .bashrc
    drwx------ 3 vmail vmail 4096 Sep 20 01:38 bouncebroadband.com
    drwx------ 3 vmail vmail 4096 Sep 20 01:29 cosmicmonkey.com
    -rw-r--r-- 1 vmail vmail 120 Sep 18 23:47 .gtkrc
    -rw-r--r-- 1 vmail vmail 658 Sep 18 23:47 .zshrc
     
  6. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    grep 5000 /etc/passwd
    grep 5000 /etc/group
    ?
    Please also compare all your configuration files with those from the tutorial. Maybe you made a typo somewhere.
     

Share This Page