pilerimport not working

Issue #278 resolved
Crzaccount created an issue

Hi, when i try to import the mails from server , am not getting any logs in /var/log/maillog.

pilerimport -i <imap server> -u <username> -p <password>

When i run this command, am getting below o/p ##Start List of IMAP folders: => 'Drafts' => 'Sent' => 'Sent items' => 'Trash' => 'Spam' => 'Inbox_Dec2013' => 'INBOX' processing folder: Spam... found 0 messages processing folder: Drafts... found 0 messages processing folder: Sent... found 0 messages processing folder: Sent items... found 0 messages processing folder: INBOX... found 1 messages cannot open: 8412-imap-1.txt processing folder: Inbox_Dec2013... found 5 messages cannot open: 8412-imap-2.txt processing folder: Trash... found 0 messages ##Start

    why it is looking for 8412-imap-1.txt & 8412-imap-2.txt

Pls advise, what to do next for importing the mails.

Comments (7)

  1. Crzaccount reporter

    Hi,

      it is working properly when i run the same command from piler home directory (/var/piler).
    

    But still one issue is there. When i login in auditor@local, just hit the search button. I couldn't see the mails imported mails. (total archival mail is less than 500 only.) But i can see the mails via "Advanced Search"

    But when i login as user am able to see the mail without any issues.

    Pls check & advise..

    Thanks, Anand

  2. Frank Kirschner

    Hi, got exactly the same problem:

    processing folder: sent-mail... found 1609 messages processed: 1 cannot open: 41823-imap-1.txt

    How can I fix it?

  3. Janos SUTO repo owner

    From the docs above:

    "IMPORTANT! The pilerimport utility is setuid to the piler user, and to let it create some temporary files you have to cd to a directory where the piler user has write access."

  4. Log in to comment