- edited description
problem importing from directory or .eml
Hello again Jsuto !
Whenever I try to import from a directory full of .eml messages I get the following : duplicate : Inbox/xxx-subject.eml (id: xxxxxx) processed : x (number of .eml files in the folder)
In the log I get, for each .eml file :
Apr 23 15:36:59 piler pilerimport[6071]: 400000005357c2050863ed240062f8a65d08: cannot open frame file: 400000005357c2050863ed240062f8a65d08.m
And when I hit the search button, I cannot see the mails on piler, I guess the import has failed but I cannot understand why.
Any help would be appreciated.
Comments (7)
-
reporter -
repo owner Try to go to /tmp, then run pilerimport again
-
reporter It seems to work, since I don't get any log errors, but nothing is written in syslog nor maillog, is there a log file where I can see these importations ?
Do I have to wait for the webUI to be updated in order to find them in my search results?
-
repo owner pilerimport syslogs only errors, however it can display a counter to stdout. The ui is updated every 30 mins, so by now you should see some messages.
-
reporter Ok, it works, thanks.
However I have another problem, I have multiple maildirs, and even maildirs in maildirs containing .eml files, that I want to import.
When I run a script to import them from .eml files :
#!/bin/bash find /tmp -name *.eml | tr -d ' ' > /tmp/emailfile for email in `cat /tmp/emailfile` ; do pilerimport -e $email done
I get the error : cannot stat() xxxx xxx is the email who should be imported.
Any recommendations?
I've also tried using pilerimport -d, and for each messages I get the error : format a4 is redifined, this is strange !
-
repo owner Does $email exist? You may also try the -d approach, since it traverses directories, and read emails from them. The "format a4 is redefined" message comes from a plugin, eg. pdf2text or similar, you can ignore it.
-
repo owner - changed status to resolved
- Log in to comment