Postfix receiving

Discussion in 'Server Operation' started by A_C, Jan 30, 2015.

  1. A_C

    A_C New Member

    Hi,

    have transferred the maildir for a couple of users to a new VM, created same set of users and assigned the below permissions to their respective Maildir folder:

    chmod –R 700
    chown -hR user:user Maildir

    However when testing incoming emails to any of these users it seems that somehow root is trying to create some folder/file and email bounces back due to lack of permission:

    status=bounced (maildir delivery failed: create maildir file /root/Maildir/tmp/1422603535.P2982.mail.domain.com: Permission denied)


    Sounds like permissions issue but not sure which and where is the issue and why it is trying to write to: /root/Maildir/tmp/ instead of the actual user Maildir directory.


    Thanks
     
  2. florian030

    florian030 Well-Known Member HowtoForge Supporter

    THe permissions may differ one different setups. Normally, the mail-server runs as user and group vmail.
     

Share This Page