Permission denied on .sievec

Discussion in 'Developers' Forum' started by moglia, Jan 13, 2011.

  1. moglia

    moglia New Member

    Any one see the same or looks like situation?
    i see the logs and this msg show to me.
    I don´t know .sieve and i can check impact of this issue.


    Jan 13 13:01:24 bravo deliver([email protected]): open(/var/vmail/domain.ext/vendas/.sievec.tmp) failed: Permission denied
    Jan 13 13:01:24 bravo deliver([email protected]): msgid=<[email protected]>: saved mail to INBOX

    bravo:/var/vmail/domain.ext/vendas# ls -aslh
    total 16K
    4.0K drwxr-xr-x 3 root root 4.0K Jan 11 23:14 .
    4.0K drwx------ 33 vmail vmail 4.0K Jan 11 14:41 ..
    4.0K -rw-r--r-- 1 root root 193 Jan 11 23:14 .sieve
    4.0K drwx------ 9 vmail vmail 4.0K Jan 13 11:01 Maildir

    bravo:/var/vmail/domain.ext/vendas# cd .sieve
    -bash: cd: .sieve: Not a directory
    bravo:/var/vmail/domain.ext/vendas# cat .sieve
    require ["fileinto", "regex", "vacation"];


    # Move spam to spam folder
    if header :contains "X-Spam-Flag" "YES" {
    fileinto "Junk";
    # Stop here so that we do not reply on spams
    stop;
    }
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please run:

    chown -R vmail:vmail /var/vmail/

    to set all files and folder to user and group vmail.
     
  3. moglia

    moglia New Member

    I know but my question is new files (.sievec) related was created with root onwer.
     

Share This Page