Re: How to keep IMP from blocking other apps
Ralf Lang <[email protected]> Wed, 9 Jan 2019 16:10:06 +0100
| Newsgroups | gmane.comp.horde.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --------------6DA86817069D114803C5CA61 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi, can you please post an anonymized imp config? (backends.local.php, conf.php) imp should not try to authenticate just because of a pushApp() during init of unrelated pages portal might be trickier as some portal blocks depend on imp Am 09.01.19 um 16:04 schrieb Sebastian Birnbach: > In my Horde installation, authentication is done against Horde's prefs > container, i.e. an SQL server. IMP is configured to create its mail server > session on passed-through user login credentials > (imp/config/backends.ocal.php: 'hordeauth' => true). > > The mail server is a local dovecot installation. It checks the passed user > credentials against the same SQL server (SQL table 'horde_users'; password > scheme: SHA-512 for both Horde and dovecot). > > Please note that the mail server is NOT used for Horde authentication. > > Idea of the configuration was to make sure a Horde session can always be > created (except if the SQL server dies, in which case Horde won't run > anyways) and users can conveniently be administered through the Horde > console. > > This all worked out and functions as intended. But. > > > > If the mail server dies or, as I recently experienced , takes ~30 seconds > for a response (my misconfiguration), a page request to *any* Horde app > will not be served until IMP has spoken to the mail server. This can be > observed even with most unrelated pages like the user prefs. > > That is, once the mail server dies or responds slowly, the rest of Horde is > quite unusable. > > > > I opened RFE #14885, asking for adding an IMP timeout, only to be told that > my problem was a configuration issue. > > So, can anybody think of a configuration that keeps IMP from blocking other > apps? I imagine a system configuration where mail is not the only > application of importance should be quite common. > > Kind regards > > Seb. --------------6DA86817069D114803C5CA61 Content-Type: application/pgp-keys; name="pEpkey.asc" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="pEpkey.asc" -----BEGIN PGP PUBLIC KEY BLOCK----- mQENBFvSz9ABCAC/D3VOv9UiDxS9rLwc2SYOKj7kg5ERpKULorWII7QcIc8PC5xt OlxRxI8sg15y8JvtrPo8FJG9RfDiwbqrRSL4nzlIui960c/SM9ayaXR9Q8YPRV93 PVZH94tdMdnO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LtKy6uFOF2KZZ sC8AEQEAAYkBOwQYAQgAJhYhBDyjTDPbiozTL6xj+U/BHU5Zc3IwBQJb0s/QAhsM BQkB4TOAAAoJEE/BHU5Zc3IwepEH9jViFWaw4ho2Imo6N6svLalzkDqwpqecR1me eVncI0W707uB2M4Y4ji9HCxVz5QgAKA4S0GKXUzjKPgbFe2sqI/zM5E6eWiUwcGT +AA6lvhJb/YKkQ7jZ69CAc09+sV5HFPKMo19Yxpsz45jXhgtlCsCkqcobtEm90Qg o3HeZ1gJ0VGKxRHakyAsgh5lfKnpIUCRLxmcYpUTCZ0oLhafrwfKlW3X7x0jBC3f EbYJmGcUBIH7vTxXcmsfh0Ury7JxMjsywsi9AoeVInpO/cCNYYPlsOgO/98hJYGg kOgZizmcxHWKR+5qM0ufNQoQYU1OhSovkVtNFSn5+lOMiBwtTA== =oyfV -----END PGP PUBLIC KEY BLOCK----- --------------6DA86817069D114803C5CA61 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- dev mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected] --------------6DA86817069D114803C5CA61--