[imp] no new mail popups

jlewis@lewis.org jlewis@lewis.org
Wed, 31 Jan 2001 17:19:05 -0500 (EST)


We're not doing the mbox thing.  User mail stays in /var/spool/mail for
compatibility with the pop3d we use (not UW's).  Thanks for the
suggestion, but the change below made no difference for me.

On Wed, 31 Jan 2001, Patrick Timmons wrote:

> Hi.
>
> I'm using IMP 2.2.2 and I had a similar problem. I had to remove the OP_READONLY flag in horde/imp/status.php3:
>
> -------
>     /* If they want it, we can give them a "new mail" popup */
>     if ($default->newmail_popup) {
>       if ($mailinfo->recent > 0) {
>         /* reopen the stream to the current mailbox */
>         /* L'avis ne fonctionnera pas correctement si la boite est ouverte en mode OP_READONLY */
>         /* imap_reopen($imp->stream, '{' . $imp->server . ':' . $imp->port . '}' . $imp->mailbox, OP_READONLY); */
>         imap_reopen($imp->stream, '{' . $imp->server . ':' . $imp->port . '}' . $imp->mailbox);
> -------
>
> I had to do this because of the way our uw-imap pakage is configured. We use user quota and the inbox is in the
> user's directory. Whenever a user logs on to imap in r/w mode, the contents of /var/spool/mail/`user' is transfered to
> /mail/users/`user'/mbox which is the inbox for uw-imap. This transfer doesn't take place when the user logs on in r/o
> mode. In horde/imp/status.php3, the OP_READONLY flag prevents the transfer from sendmail's `inbox' to uw-imap's `inbox'
> which prevents uw-imap from notifying IMP of new mails. By removing the flag, the transfer can take place and uw-imap can
> notify IMP of new mails and they lived happily ever after.
>
> This modification has a problem though. On initial mailbox list display, two frames will try to open the inbox in r/w
> mode and uw-imap usualy kills the first session when the second starts. I didn't get reports to this effect though.
>
> Hope this helps.
>
> jlewis@lewis.org wrote:
> >
> > horde-1.2.3
> > imp-2.2.3
> > php-4.0.4
> > imap-4.7c imapd
> > imap-2000.RELEASE-CANDIDATE.7 imap client code
> >
> > I've been ignoring this, but customers are starting to complain more.
> > Ever since I upgraded from IMP 2.0.x, the new mail popup window has ceased
> > to appear.  Every $default->refresh_delay, the browser does hit the
> > webmail server for:
> >
> > "GET /status.php3?language=en&message=Mailbox%3A+INBOX&status=green HTTP/1.0"
> > 200 1003
> > "GET /imp.css HTTP/1.0" 200 505
> > "GET /graphics/green.gif HTTP/1.0" 200 217
> >
> > and simultaneously, the IMP logs into the imap server for a few seconds.
> > Has anyone else run into this and have a clue what I might have broken?
> > Unfortunately, when I upgraded from IMP 2.0 to 2.2, I upgraded everything
> > (web server, imap server, php, etc.).
> >
> > --
> > ----------------------------------------------------------------------
> >  Jon Lewis *jlewis@lewis.org*|  I route
> >  System Administrator        |  therefore you are
> >  Atlantic Net                |
> > _________ http://www.lewis.org/~jlewis/pgp for PGP public key_________
> >
> > --
> > IMP mailing list: http://horde.org/imp/
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>
>

-- 
----------------------------------------------------------------------
 Jon Lewis *jlewis@lewis.org*|  I route
 System Administrator        |  therefore you are
 Atlantic Net                |
_________ http://www.lewis.org/~jlewis/pgp for PGP public key_________