Message deleted on request of author! Return-path: dev+return.10197@lists.roundcube.net Envelope-to: arch+dev.lists.roundcube.net@db.org Delivery-date: Sun, 20 Nov 2005 23:01:31 +0000 Received: from vmail (helo=maildialog.com) by maildialog.com with local-bsmtp (Exim 4.51-maildialog) id 1EdyBf-0002S9-2Z for arch+dev.lists.roundcube.net@db.org; Sun, 20 Nov 2005 23:01:31 +0000 Received: from ti122110a081-6018.bb.online.no ([85.166.87.130] helo=[192.168.1.100]) by maildialog.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.51-maildialog) id 1EdyBc-0002Rv-8W for dev@lists.roundcube.net; Sun, 20 Nov 2005 23:01:28 +0000 Message-ID: 43810029.9080100@db.org Date: Mon, 21 Nov 2005 00:00:57 +0100 From: "B. Johannessen" bob@db.org User-Agent: Thunderbird 1.4 (X11/20050908) MIME-Version: 1.0 To: RoundCube Dev dev@lists.roundcube.net Subject: Re: An Installation Problem + Turkish Language Support References: 000501c5ee0e$4a161080$21205a0a@xp In-Reply-To: 000501c5ee0e$4a161080$21205a0a@xp Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Precedence: list List-Id: "RoundCube Dev" <dev.lists.roundcube.net> List-Unsubscribe: mailto:dev+unsubscribe@lists.roundcube.net List-Subscribe: mailto:dev+subscribe@lists.roundcube.net List-Post: mailto:dev@lists.roundcube.net List-Help: mailto:dev+help@lists.roundcube.net X-Maildialog-Scorecard-Report:
Ismet Togay wrote:
P.S. Even I have send an empty email to subscribe to the mailing list,
I have not received any confirmation mail, etc.
You need to be a bit more patient, especially when your incoming e-mail server is using graylisting:
2005-11-20 19:55:13 1EdvHK-0008Ri-NT == ismet@su.sabanciuniv.edu R=remote T=smtp defer (-44): SMTP error from remote mail server after RCPT TO:ismet@su.sabanciuniv.edu: host mail.su.sabanciuniv.edu [212.98.201.8]: 450 ismet@su.sabanciuniv.edu: Recipient address rejected: Greylisted for 3 minutes
2005-11-20 20:23:30 1EdvHK-0008Ri-NT => ismet@su.sabanciuniv.edu F=dev+discard@lists.roundcube.net P=dev+discard@lists.roundcube.net R=remote T=smtp S=1020 H=mail.su.sabanciuniv.edu [212.98.201.8] C="250 Ok: queued as C4E921757C" QT=28m20s
Bob (list administrator)
Message deleted on request of author! Return-path: dev+return.10197@lists.roundcube.net Envelope-to: arch+dev.lists.roundcube.net@db.org Delivery-date: Mon, 21 Nov 2005 02:59:38 +0000 Received: from vmail (helo=maildialog.com) by maildialog.com with local-bsmtp (Exim 4.51-maildialog) id 1Ee1u5-00085d-HF for arch+dev.lists.roundcube.net@db.org; Mon, 21 Nov 2005 02:59:37 +0000 Received: from loadbalancer1.orcon.net.nz ([219.88.242.3] helo=dbmail-mx4.orcon.co.nz) by maildialog.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.51-maildialog) id 1Ee1tw-000854-Jz for dev@lists.roundcube.net; Mon, 21 Nov 2005 02:59:33 +0000 Received: from terminal ([60.234.13.222]) by dbmail-mx4.orcon.co.nz (8.13.2/8.13.2/Debian-1) with ESMTP id jAL2xH4I014694 for dev@lists.roundcube.net; Mon, 21 Nov 2005 15:59:17 +1300 From: "John Newman" jnewman@orcon.net.nz To: dev@lists.roundcube.net Subject: User feedback on first log in Date: Mon, 21 Nov 2005 15:59:40 +1300 Message-ID: 001101c5ee47$9e638c60$de0dea3c@office.orcon.net.nz MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0012_01C5EEB4.955CD460" X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcXuR52ndn2D5bbhSuOdg2z7/2cr9A== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830 X-Virus-Scanned: ClamAV version 0.87, clamav-milter version 0.87 on dbmail-mx4.orcon.co.nz X-Virus-Status: Clean Precedence: list List-Id: "RoundCube Dev" <dev.lists.roundcube.net> List-Unsubscribe: mailto:dev+unsubscribe@lists.roundcube.net List-Subscribe: mailto:dev+subscribe@lists.roundcube.net List-Post: mailto:dev@lists.roundcube.net List-Help: mailto:dev+help@lists.roundcube.net X-Maildialog-Scorecard-Report:
This is a multi-part message in MIME format.
------=_NextPart_000_0012_01C5EEB4.955CD460 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit
Hi,
I'm relatively new to RoundCube but like what I've seen so far. We're seriously considering a site-wide deployment in the not too distant future. A large number of our users have substantially large mailboxes. This causes a significant but unavoidable delay when they first log in and the message indices are being generated and written to the mysql backend. As a work-around, I was hoping to provide some affordance back to the user, stating something along the lines of "a first login may take a while if you have large mailboxes"... As such, in function rcmail_login on line 279 of program/include/mail.inc, I was thinking about doing the following:
if ($sql_arr = $DB->fetch_assoc($sql_result))
{
$user_id = $sql_arr['user_id'];
$user = $sql_arr['username'];
} else {
show_message('firstlogin') ;
}
message.inc:
$messages['firstlogin'] = 'This appears to be your first login. First login's may take a while if you have a large number of messages. Subsequent login's should be very quick.'
However, due to the way rcmail_login's envoked, show_message does't appear to be a viable method for displaying the notification. I'd appreciate any thoughts you might have with regards to this as we think the notification's going to be important in our deployment. Perhaps this is something "simple" that could be added to the main branch?
Thanks in advance for any assistance you can offer.
John.
------=_NextPart_000_0012_01C5EEB4.955CD460 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40">
<head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1 {page:Section1;} --> </style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>Hi,<o:p></o:p></span></font>= </p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></fo= nt></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>I'm relatively new to = RoundCube but like what I've seen so far. We're seriously considering a = site-wide deployment in the not too distant future. A large number of our users have = substantially large mailboxes. This causes a significant but unavoidable delay = when they first log in and the message indices are being generated and written to = the mysql backend. As a work-around, I was hoping to provide some = affordance back to the user, stating something along the lines of "a first login = may take a while if you have large mailboxes"... As such, in function = rcmail_login on line 279 of program/include/mail.inc, I was thinking about doing the following:<o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></fo= nt></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>> if ($sql_arr =3D $DB->fetch_assoc($sql_result))<o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>> = {<o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>> = $user_id =3D $sql_arr['user_id'];<o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>> = $user =3D $sql_arr['username'];<o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'> } else = {<o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'> &nbs= p; show_message('firstlogin') ;<o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'> = }<o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></fo= nt></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>message.inc:<o:p></o:p></spa= n></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>$messages['firstlogin'] =3D = 'This appears to be your first login. First login's may take a while if = you have a large number of messages. Subsequent login's should be very = quick.'<o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></fo= nt></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>However, due to the way rcmail_login's envoked, show_message does't appear to be a viable method = for displaying the notification. I'd appreciate any thoughts you might = have with regards to this as we think the notification's going to be important in = our deployment. Perhaps this is something "simple" that = could be added to the main branch?<o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></fo= nt></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>Thanks in advance for any = assistance you can offer.<o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>John.<o:p></o:p></span></fon= t></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
------=_NextPart_000_0012_01C5EEB4.955CD460--