imapd: Error reading ACLs for INBOX..Junk: Invalid argument

Discussion in 'Installation/Configuration' started by playalistic, Dec 1, 2009.

  1. playalistic

    playalistic New Member

    I'm getting lots of these showing up in the logs:

    Dec 1 13:44:25 cmg-nix01 imapd: Error reading ACLs for INBOX..Junk: Invalid argument
    Dec 1 13:44:25 cmg-nix01 imapd: Error reading ACLs for INBOX..Junk: Invalid argument
    Dec 1 13:44:25 cmg-nix01 imapd: Error reading ACLs for INBOX..Junk: Invalid argument
    Dec 1 13:44:25 cmg-nix01 imapd: Error reading ACLs for INBOX..Junk: Invalid argument
    Dec 1 13:44:25 cmg-nix01 imapd: Error reading ACLs for INBOX..Junk: Invalid argument
    Dec 1 13:44:25 cmg-nix01 imapd: Error reading ACLs for INBOX..Junk: Invalid argument
    Dec 1 13:44:25 cmg-nix01 imapd: Error reading ACLs for INBOX..Junk: Invalid argument
    Dec 1 13:44:25 cmg-nix01 imapd: Error reading ACLs for INBOX..Junk: Invalid argument
    Dec 1 13:44:25 cmg-nix01 imapd: Error reading ACLs for INBOX..Junk: Invalid argument
    Dec 1 13:44:25 cmg-nix01 imapd: Error reading ACLs for INBOX..Junk: Invalid argument
    Dec 1 13:44:25 cmg-nix01 imapd: Error reading ACLs for INBOX..Junk: Invalid argument
    Dec 1 13:44:25 cmg-nix01 imapd: Error reading ACLs for INBOX..Junk: Invalid argument
    Dec 1 13:44:25 cmg-nix01 imapd: Error reading ACLs for INBOX..Junk: Invalid argument
    Dec 1 13:44:25 cmg-nix01 imapd: Error reading ACLs for INBOX..Junk: Invalid argument
    Dec 1 13:44:25 cmg-nix01 imapd: Error reading ACLs for INBOX..Junk: Invalid argument
    Dec 1 13:44:25 cmg-nix01 imapd: Error reading ACLs for INBOX..Junk: Invalid argument
    Dec 1 13:44:25 cmg-nix01 imapd: Error reading ACLs for INBOX..Junk: Invalid argument

    I'm pretty certain this started since I added a filter to move SPAM into the .Junk folder. I since removed the filter and restarted the necessary services but it is still appearing in the mail.log.

    I've also deleted the folder through the webmail client (Roundcube) which I installed separately and recreated it but no dice.

    Can anyone help please?!
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    The folder name must be 'Junk' and not '.Junk'.
     
  3. playalistic

    playalistic New Member

    Thanks for the reply. I kinda guessed the problem with the name. I included the . in front of the mailbox name when I created the filter initially as I didn't realise it was included for me by default.

    I've since deleted the filter, how can I get rid of this message and the associated mailbox?

    Cheers!
     
  4. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Check if the maildir with the wrong name still exists in /var/vmail/domain.com/user/.... If thats the case, delete it there on the shell.
     
  5. playalistic

    playalistic New Member

    This is what I'm seeing in the folder for this user:

    Code:
    drwx------ 10 vmail vmail   4096 2009-12-02 10:23 .
    drwx------  7 vmail vmail   4096 2009-11-24 12:49 ..
    drwx------  2 vmail vmail   4096 2009-12-01 19:05 courierimapkeywords
    -rw-r--r--  1 vmail vmail    251 2009-12-01 14:34 courierimapsubscribed
    -rw-r--r--  1 vmail vmail   3673 2009-12-02 10:23 courierimapuiddb
    drwx------  2 vmail vmail 221184 2009-12-02 10:26 cur
    drwx------  6 vmail vmail   4096 2009-11-20 18:42 .Drafts
    -rw-rw----  1 vmail vmail     56 2009-12-02 09:32 ispconfig_mailsize
    drwx------  6 vmail vmail   4096 2009-12-01 14:35 .Junk
    -rw-r--r--  1 vmail vmail   1805 2009-12-02 10:23 maildirsize
    drwx------  2 vmail vmail 163840 2009-12-02 09:34 new
    drwx------  6 vmail vmail   4096 2009-12-01 12:53 .Sent
    drwx------  2 vmail vmail   4096 2009-12-02 10:29 tmp
    drwx------  6 vmail vmail   4096 2009-12-02 10:23 .Trash
    The .Junk folder is OK isn't it? Or shall I delete it. Thanks again dude.
     
  6. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Yes, the .Junk folder is ok. Take a look in the file courierimapsubscribed if the folder with the wrong name is still listed there and if thats the case, remove that line in the file.
     
  7. playalistic

    playalistic New Member

    That did it, cheers.
     

Share This Page