I use qmail with vpopmail as mail-server.
vpopmaild can be used to change password among other things.
Using vpopmaild in a vpopmail enviroment, lets vpopmail take care of
database backend. And vpopmail-server and webmail-server can be separated.
I have attached a vpopmaild driver to use with the password plugin.
'vpopmaild.php'.
It is based on vpoppassd.php!
Also included are the new config.inc.
I added to config.inc this:
$rcmail_config['password_driver'] = 'vpopmaild';
// vpopmaild Driver options
// -----------------------
// The host which changes the password
$rcmail_config['password_vpopmaild_host'] = 'localhost';
// TCP port used for vpopmaild connections
$rcmail_config['password_vpopmaild_port'] = 89;
Please review, and commit it to the svn.
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/Y3/3h1glqMU/vpopmaild.phphttp://detached.gigo.com/rc/Y3/3h1glqMU/config.inc.php
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi Till,
Why you've commented the line 38 (Header append Cache-Control public
env=!NO_CACHE )
in changeset 2939 (
http://trac.roundcube.net/changeset/2939/trunk/roundcubemail/.htaccess)?
I'm dealing with an apache/1.3 500 error caused by this line (when active).
You've commented
it to prevent this error?
Thank you!
--
Victor Benincasa
_______________________________________________
List info: http://lists.roundcube.net/dev/
I have attached the danish translation for the password plugin.
Please review and include.
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/51/kYWRggRH/da_DK.inc
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/
Updated Czech translation for Roundcube (labels.inc) and Roundcube
password plugin (cs_CZ.inc).
best regards M.K.
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/b8/WXFH7YCb/cs_CZ.inchttp://detached.gigo.com/rc/b8/WXFH7YCb/labels.inc
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi all,
it's possible choose the redirection page after the login in the:
$this->add_hook('authenticate', array($this, 'authenticate'));
function authenticate($args)
{
if(!empty($_GET['_autologin']))
{
$args['user'] = $_REQUEST['_user'];
$args['pass'] = $_REQUEST['_pass'];
}
return $args;
}
I need this for redirect to the compose message after login if the initial
_action was compose.
Thanks
--
Sandro Pazzi
IdWeb s.r.l.
Viale Romagna 69/A - 06012 Citta' di Castello (PG)
Tel. 075 851 97 28
Fax 075 851 97 30
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi all,
I've a addressbook that read from a custom table in a sqlserver database.
Why i see � instead of à ?
Same errors in the coding?
Thanks
--
Sandro Pazzi
IdWeb s.r.l.
Viale Romagna 69/A - 06012 Citta' di Castello (PG)
Tel. 075 851 97 28
Fax 075 851 97 30
_______________________________________________
List info: http://lists.roundcube.net/dev/
Password plugin driver to change passwords using php ssh2 extension and
saslpasswd
Config file plugin options:
$rcmail_config['password_rsasl_ssh_host'] = 'localhost'; //Remote Host
$rcmail_config['password_rsasl_ssh_port'] = 22; //Remote port
$rcmail_config['password_rsasl_ssh_username'] = 'user'; //Remote user
$rcmail_config['password_rsasl_ssh_password'] = 'password'; //Remote
password
$rcmail_config['password_rsasl_command'] = null; //Default:
'/usr/sbin/saslpasswd2 -p
$rcmail_config['password_rsasl_default_domain'] = null; //Default
domain - cyrus imap
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/jS/eQ0TIWEr/rsasl-plugin.patchhttp://detached.gigo.com/rc/jS/eQ0TIWEr/rsasl.phphttp://detached.gigo.com/rc/jS/eQ0TIWEr/password-plugin-new-.tar
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi.
This is my first contact on this list and I would like to share with you
this new "feature" :-)
I would like to suggest the "Confirm-Delivery" functionality to Compose
window.
Scenario:
You want to send an e-mail and you need a way to confirm that your
MAILSERVER delivered it successfull to the DESTINATION MAILSERVER.
Many MTAs implement "Succesfull Delivery Report" (POSTFIX for example).
All you (the client) need to do is:
RCPT-TO: xxx(a)yyy.com NOTIFY=SUCCESS
To make it work on RC, I did this:
1) on COMPOSE NEW MESSAGE screen, add a checkBox:
[ ] Confirm Delivery
in skins\default\templates\compose.html:
---------
<td id="delivery-selector">
<roundcube:object name="deliveryCheckBox" form="form"
id="rcmcomposedelivery" /> <label
for="rcmcomposedelivery"><roundcube:label name="confirmdelivery" /></label>
</td>
---------
in program\localization\en_US\labels.inc:
---------
...
$labels['confirmdelivery'] = 'Confirm delivery';
...
---------
in skins\default\mail.css:
---------
#priority-selector,
#receipt-selector,
#delivery-selector
{
padding-left: 30px;
white-space: nowrap;
}
---------
in program\steps\mail\compose.inc:
---------
function rcmail_delivery_checkbox($attrib)
{
global $MESSAGE, $compose_mode;
list($form_start, $form_end) = get_form_tags($attrib);
unset($attrib['form']);
if (!isset($attrib['id']))
$attrib['id'] = 'delivery';
$attrib['name'] = '_delivery';
$attrib['value'] = '1';
$checkdelivery = new html_checkbox($attrib);
$out = $form_start ? "$form_start\n" : '';
$out .= $checkdelivery->show(in_array($compose_mode,
array(RCUBE_COMPOSE_DRAFT, RCUBE_COMPOSE_EDIT))
&& $MESSAGE->headers->mdn_to ? 1 : 0);
$out .= $form_end ? "\n$form_end" : '';
return $out;
}
$OUTPUT->add_handlers(array(
...
'deliverycheckbox' => 'rcmail_delivery_checkbox',
...
));
---------
2) make sendmail.inc collects the user action on new checkbox:
program\steps\mail\sendmail.inc
---------
if (!empty($_POST['_delivery']))
{
$headers['Return-receipt-to'] = $from;
}
---------
3) ask smtp server to generates "success delivery report" for this
message:
in program\include\rcube_smtp.php:
---------
public function send_mail($from, $recipients, &$headers, &$body)
{
if (!is_object($this->conn))
return false;
// we use this special header to know if this message requires delivery
report
$confirm_delivery = eregi("Return-receipt-to",$headers) ?
"NOTIFY=SUCCESS":"";
...
...
// set mail recipients
foreach ($recipients as $recipient)
{
// here:
if
(PEAR::isError($this->conn->rcptTo($recipient,$confirm_delivery))) {
...
---------
And that's it!!
Just for info:
I used "Return-receipt-to" header because I saw it on messages sent by
PegasusMail client.
(when I check the "Confirm Delivery" checkBox in pegasus)
This software is just GREAT !!
thanks!
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi Dev's,
Any objection about using MEDIUMTEXT() instead TEXT field type in "vars"
field of session table?
TEXT type allow only 64KB session strings, but it can be larger under
certain circumstances like
big search results. In a search test (using search box) that returns 4k
messages, my session
string [1] exceeded the column's maximum length and the value is truncated.
It broke the session
system and send the user back to the login screen.
If nobody has any objection, I can provide the patch.
----
[1] Error generated by PHP when session string is broken:
[14-Sep-2009 21:24:44] PHP Warning: *array_merge(): Argument #1 is not an
array* in
/var/www/html/roundcubemail-trunk-r2955/program/include/session.inc on line
82
-----
session.inc line 82:
rcube_sess_serialize(array_merge(*$a_oldvars*,
rcube_sess_unserialize($vars))),
--
Victor Benincasa
_______________________________________________
List info: http://lists.roundcube.net/dev/