mixing tutorials

Discussion in 'HOWTO-Related Questions' started by daniel_rodriguez, Jan 26, 2006.

  1. Mixing up perfect debian setup and virtual users and domains with postfix I've installed a debian sarge as follows

    Base System
    Razor, Pyzor And DCC And Configure SpamAssassin

    is this correct?

    now maildir folders cannot automatically be created.
  2. falko

    falko Super Moderator Howtoforge Staff

    The Maildirs should be automatically created when the first email for the respective users arrive.

    Any error messages in your mail log?
  3. extracted from mail.log
    Jan 26 09:04:08 web postfix/local[15690]: BD641284546: to=<[email protected]>, relay=local, delay=0, status=bounced (maildir delivery failed: create /home/fulano/Maildir/tmp/1138277048.P15690.web.mcye.misiones.gov.ar: Permission denied)
    Jan 26 09:04:08 web postfix/local[15690]: warning: maildir access problem for UID/GID=1001/100: create /home/fulano/Maildir/tmp/1138277048.P15690.web.mcye.misiones.gov.ar: Permission denied
    Jan 26 09:04:08 web postfix/local[15690]: warning: perhaps you need to create the maildirs in advance
    using following command to create users
    useradd userlogin -s /bin/false
    then add user password

    after user is created /home has no folder for that user, should it be created later on?
    Last edited: Jan 26, 2006
  4. falko

    falko Super Moderator Howtoforge Staff

    It's a problem with the permissions. Please post the output of
    ls -la /home
    What's the username of the user with the UID 100?
    What's the groupname of the group with the GID 100?
  5. ls -la /home
    total 16
    drwxrwsr-x   4 root          staff         4096 2006-01-18 11:43 .
    drwxr-xr-x  22 root          root          4096 2006-01-20 15:20 ..
    drwxr-xr-x   3 admin        admin         4096 2006-01-26 09:41 admin
    drwxr-xr-x   2 ftp           nogroup       4096 2006-01-18 11:43 ftp
    identd is the username with the UID 100
    users is the groupname with the GID 100
  6. falko

    falko Super Moderator Howtoforge Staff

    Please try this:
    chown identd:users /home
  7. great Falko
    chown identd:users /home
    solve the problem

    now, please tell me if I'm wrong, first mail sent to user must be sent from same server so folder structure could be created?

    ask this because I was been sending mail from yahoo, hotmail and some local isp but none of them create maildir.

    regards, and thanks once again
  8. falko

    falko Super Moderator Howtoforge Staff

    It doesn't matter from where you send them. If the emails from Yahoo and others didn't arrive, then you should check if the MX records for the recipient domains are pointing to your server.
    When you send a mail from Yahoo to your server, do you see that something happens in your mail log?
  9. even after 'chowned' /home maildir was not created, but when send mail from administrator account it did.
    Well it doesn't matter anymore, mail system is working.


Share This Page