Hallo Guys

I'm a newbie of dbmail and I have just installed a postfix mail server + 
dbmail version 2.0.1. 
Everything works fine but I was wondering how to convert my old mbox files 
into dbmail mailboxes.
Reading the mailing list archive I found various post about mbox2dbmail and 
reading the file EXTRAS deployed with the source code a smtp-convert.c is 
mentioned.
BUT there is no mbox2dbmail source code and compiling all the sources no
smtp-conver binary file is generated. 
More over compiling just smtp-conver.c it return this error:

make smtp-convert
gcc -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes    smtp-convert.c   -o 
smtp-convert
smtp-convert.c: In function `traverse':
smtp-convert.c:129: warning: passing arg 4 of `auth_adduser' makes integer 
from pointer without a cast
smtp-convert.c:129: warning: passing arg 5 of `auth_adduser' makes integer 
from pointer without a cast
smtp-convert.c:129: too few arguments to function `auth_adduser'
smtp-convert.c:130: warning: comparison between signed and unsigned
smtp-convert.c: In function `process_mboxfile':
smtp-convert.c:179: warning: char format, FILE arg (arg 3)
smtp-convert.c:198: too few arguments to function `db_insert_message_block'
smtp-convert.c:200: warning: implicit declaration of function 
`create_unique_id'
smtp-convert.c:206: warning: unsigned int format, different type arg (arg 4)
smtp-convert.c:212: too few arguments to function `db_insert_message'
smtp-convert.c:225: too few arguments to function `db_insert_message_block'
smtp-convert.c:243: too few arguments to function `db_insert_message_block'
smtp-convert.c:257: too few arguments to function `db_insert_message_block'
smtp-convert.c:263: warning: unsigned int format, different type arg (arg 4)
make: *** [smtp-convert] Error 1

What am I doing wrong? 
Do you have any hint?

Thanks in advance

Cristiano.

Reply via email to