maildir delivery failed: create ... ?

Discussion in 'Server Operation' started by tom, Apr 7, 2007.

  1. tom

    tom Member

    This entries I find sometimes in mail.info:
    Code:
    Apr  6 08:42:36 server1 postfix/local[19112]: B3CD91F698: to=<[email protected]>, relay=local, delay=4, status=bounced (maildir delivery failed: create /var/spool/uucp/Maildir/tmp/1175841756.P19112.server1.de: Permission denied)
    I'm right in the assumption that postfix is accepting this mail at first, than trying to create somthing (I don't understand what an whatfor) and at least after the mail is already passed through the "Permission denied" arrise?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Postfix tries to create the Maildir directory for the user uucp. What's the output of
    Code:
    grep uucp /etc/passwd
    and
    Code:
    ls -la /var/spool/uucp
    ?
     
  3. tom

    tom Member

    Code:
    server01:~# grep uucp /etc/passwd
    uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
    
    Code:
    server01:~# ls -la /var/spool/uucp
    ls: /var/spool/uucp: No such file or directory
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Do this:
    Code:
    mkdir -p /var/spool/uucp
    chown uucp /var/spool/uucp
     
  5. tom

    tom Member

    Do I realy need this directory? What for do I need it? What is the [email protected] mails?
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Yes, if you want to receive emails for uucp. But you could also create an alias for uucp in /etc/aliases so that someone else receives those mails. In that case you don't need the uucp directory.
     

Share This Page