Hi all I have created my own webmail client and i have used it with no problems. I have migrate my whole server content to other server and now I have problem with connection to the imap server. PHP function imap_open(xxx.my.ip.xxx/novalidate-cert, .....); which i used on old server now doesn't work. Of course i changed IP of the server, i tried to use localhost/novalidate-cert, localhost:143/novalidate-cert but still same error. Squirrelmail (which have in config.php file: localhost:143) works fine. Can u help me please? Thanks in advance
You should use "localhost" as hostname or "127.0.0.1" as IP in the imap_open function and not the Ip of the server.
Thanks for answer. When I use localhost or 127.0.0.1 same error: imap_open(): Couldn't open stream {127.0.0.1/novalidate-cert}INBOX in... I used IP of the server on the older server and it worked fine... Now nothing works and I dont know why
No errors in mail error log, and in the mail log: Nov 10 22:22:06 servervg2 imapd: Connection, ip=[::1] (i ran script and 22:22 and this has been written)