pilerimport from imap server results in error "cant connect to mysql server"
Hi there,
I am trying out mail piler and would like to import a mailbox via pilerimport. When I run "pilerimport -i 10.0.0.10 -u u@mail.com -p supersecret" I get a response
"cant connect to mysql server"
I have tried to use the"-c" option and point it to config.php and config-site.php but no luck. I am not sure of the syntax for the config file.
Please could you point me in the right direction to import mails from Imap server? The imap server uses tls - not sure if this is whats causing the problem?
Comments (6)
-
-
repo owner Hello Mark, note that the piler binaries don't use config.php nor config-site.php. They use piler.conf (by default in /usr/local/etc). Check that file for the mysql parameters at the end of the file.
-
thanks jsuto.. I used the postinstall script which did not update this /usr/local/etc/piler.conf file. Changed the password to the correct one and pilerimporter doesn't complain anymore but it just hangs on the command line with out any feedback. Not sure if its doing something or not. Will let you know if I have any furhter problems I can't figure out. thanks for your help and for mailpiler :)
-
repo owner I recommend you to start ngrep and watch the imap communication between pilerimport and the imap server to figure out the problem.
If you use 0.1.24, and find issues, just upgrade to the current master branch, since some minor fixes were applied to the imap stuff. Btw. what kind of imap server is it?
-
repo owner I think it's already resolved. Otherwise reopen the issue.
-
repo owner - changed status to resolved
- Log in to comment
Just created an account, sorry I logged the ticket under the anonymous user.