Re: Unable to login to remote mail server using recommended settings

Michael J Rubinsky <[email protected]>
Newsgroups gmane.comp.horde.user
Message-ID <20180928195742.Horde.xPQ03zPpQ-tXf3YIXxt55mU@tarn.theupstairsroom.com>
Quoting Michael Z Freeman <[email protected]>:

> Hi,
>
> I have tried everything. I know the password and username are correct
> because I installed Squirrel Mail using my Cpanel hosting to test the
> username en and password. I have ...
>
> <?php
> $servers['imap'] = array(
>     // ENABLED by default; will connect to IMAP port on local server
>     'disabled' => false,
>     'name' => 'michaelzfreeman.org IMAP Server',
>     'hostspec' => 'michaelzfreeman.org',
>     'hordeauth' => false,
>     'protocol' => 'imap',
>     'port' => 993,
>     'username' => '[email protected]',
>     'password' => 'xxxxxx',
>     // Plaintext logins are disabled by default on IMAP servers (see RFC 3501
>     // [6.2.3]), so TLS is the only guaranteed authentication available by
>     // default.
>     'secure' => 'tls',
> );
>
> I have tried it as backends.local.php and even removed backends.php
> entirely and replaced it with the above. Nothing ever seems to register.
> Horde brings up a separate login screen. I enter the mail server login
> details which always fails. I don't understand why Horde is asking for
> mail server login details in my browser when they are in the local
> "backends" file.

Why are you putting your *personal* credentials in a *global*  
configuration file?

If your Horde login is also your IMAP login, setup IMP to take the  
credentials of the current Horde user by setting 'hordeauth' to true.  
If it's NOT the same, then you still need to prompt for the login  
credentials.



>
> Log:
>
> Sep 28 18:01:13 18 HORDE: [imp] [login] Error when communicating with the
> mail server. [pid 11074 on line 730 of "/var/www/html/imp/lib/Imap.php"]
> Sep 28 18:01:13 18 HORDE: [imp] FAILED LOGIN for
> [email protected] (Horde user admin) (95.145.14.206) to
> {imap://michaelzfreeman.org:993/} [pid 11074 on line 156 of
> "/var/www/html/imp/lib/Auth.php"]
>
> It's also a bit of mystery why, seeing as so much is in the Admin GUI that
> there is this very arcane PHP file. These days almost everything has
> fields to enter the mail server details.
>
> Anyway, I hope users can help me. I may resort to setting up a Dovecot
> server local to the horde installation which can handle the remote
> connection to the email server then horde can talk to it on the local
> host.
>
> Michael
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: [email protected]



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject

-- 
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
(unnamed) (application/pgp-keys, 9.1 KB) - not displayed
signature.asc (application/pgp-signature, 821 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4

iQIcBAABAgAGBQJbroe2AAoJEJGSgkbRsxbbtsEP/0pGl+pu0th5iEJMAtIj2rJL
ImtcTJmgs1MYIGZJ5n8QAgoZp0AckjRAWf/y8pv2XJZaI1ckAmLb9ViZmrSHGlgW
7fVWpqfeRWYozBxLRE23HHPLIJRH566x/J2IRhAqm4G3DGH5y5RIaS8hnQ4q6xqH
E0HfWStg359unDRdjn3WcMf2Ruy3iuk9VHJhtQrnr5PK+V4+ElSmQ2xEhHS09vmo
DD26piny0K5lcrSzqwaL9H23gVrtW9QF/YAuDKNNcesUijtK0hthlC+sQvwhRsuV
QYpcTOa+Rr0jBcLxhD13LJhWSsnnR9+tv4iEsrSF/TBHqn5gFeY4YzXY7Iu66qsf
4ep7+8oM8qT8t+/N/W7qebxrw+9F0wp9D+wSGJv87jW4WYLhceWWDv5vtcJHciug
ZZ5z6nq+HHFSCi/iMlBzwHSWhZ0zrmTfGIAFqTIBs0310WqM024cQYh8jwyWp400
yxrlav76Nev8JkxUlfshjbZebkd1qEyprIGyYGowjcg1gnejX3fOaZhTvVrK0H1j
5G1GfWuLV7zrRUfMVL+RDP5D+w8rq7FOp0hxGLRE+/9eDLqBQDWOb2mfrE3zhAr9
lPZeaJA8/MT0cJSCuQwwSDUUtuIFGKREDijkoGU4mA5CYt483Kqk6oQmQaBB2pxz
OHgf807J6kwmRBdGw0Gp
=lz0q
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.