On 03/18/2013 06:14 PM, Janos SUTO wrote:
Hello Viet,
Does user 'piler' have write permissions on /tmp/piler directory?
Yes, I have checked it followed piler document.
Please find the improved pilerexport.c attached. It has a slightly
changed sql query for exporting all emails. Please recompile, and
let's see whether it works for you.
There was an error when I recompiled piler:
pilerexport.c: In function ‘export_emails_matching_to_query’:
pilerexport.c:167:22: warning: passing argument 2 of
‘retrieve_email_from_archive’ from incompatible pointer type [enabled by
default]
./piler.h:50:5: note: expected ‘struct FILE *’ but argument is of type
‘struct __data *’
pilerexport.c:167:22: warning: passing argument 3 of
‘retrieve_email_from_archive’ from incompatible pointer type [enabled by
default]
./piler.h:50:5: note: expected ‘struct __config *’ but argument is of
type ‘struct FILE *’
pilerexport.c:167:22: error: too many arguments to function
‘retrieve_email_from_archive’
./piler.h:50:5: note: declared here
pilerexport.c: In function ‘main’:
pilerexport.c:405:4: error: too many arguments to function
‘init_session_data’
./misc.h:38:6: note: declared here
make[1]: *** [pilerexport] Error 1
make[1]: Leaving directory `/root/piler-0.1.22/src'
make: *** [all-recursive] Error 1
--
Hoàng Tuấn Việt
System-Network Administrator
VCCloud Division
VCCORP
Mobile: (+84) 0917 177 054