Issue in importing of Mailbox directory to piler

Issue #218 resolved
Crzaccount created an issue

Hi,

I have tried to import the maildir folder to piler. It won't work. I have given the import command & o/p

##Start [root@mail ~]# pilerimport -d /opt/newgebyby/Maildir/.Trash/cur/ failed to import: /opt/newgebyby/Maildir/.Trash/cur//1387153921.M290043P9121.mail.ristestone.com,S=1755,W=1790:2,S (id: 4000000052b2ab46348a62d400b2e55df75b) error importing: '/opt/newgebyby/Maildir/.Trash/cur//1387153921.M290043P9121.mail.ristestone.com,S=1755,W=1790:2,S' failed to import: /opt/newgebyby/Maildir/.Trash/cur//1386825383.M250847P24730.mail.ristestone.com,S=1839,W=1882:2,S (id: 4000000052b2ab4634b87f8400f07d2e5074) error importing: '/opt/newgebyby/Maildir/.Trash/cur//1386825383.M250847P24730.mail.ristestone.com,S=1839,W=1882:2,S' failed to import: /opt/newgebyby/Maildir/.Trash/cur//1387410981.M591350P28280.mail.ristestone.com,S=1544,W=1585:2,S (id: 4000000052b2ab4634d20e7c00b30908e66d) error importing: '/opt/newgebyby/Maildir/.Trash/cur//1387410981.M591350P28280.mail.ristestone.com,S=1544,W=1585:2,S' processed: 0 [root@mail ~]# ##End

NOTE: Importing from imap server also won't work. I haven't tried another importing.

Pls advice , how to go ahead further.

Comments (5)

  1. Janos SUTO repo owner

    Does user piler have read permissions on the message files, and write permissions to root's homedir? I recommend you to go to /tmp before running pilerimport.

  2. Crzaccount reporter

    Hi,

    Before run the pilerimport, i have changed the permission for those directory as piler:piler (user:group)

  3. Janos SUTO repo owner

    ok, then please go to /tmp, then run pilerimport from that directory. Because the import utility can't create temp files in /root.

  4. vinay garg

    may i use setfacl for allow the piler user to access mail instead of change the permission piler:piler???

  5. Log in to comment