Cor Bosman | 31 Oct 10:24 2014

[RCD] x-sender

Hey all, it seems that with return receipts messages there is no x-sender header. Is that on purpose? 


Roundcube Development discussion mailing list
dev <at>

hyukudan | 29 Oct 13:50 2014

[RCD] Fetching custom message headers in message list view

I've been searching the archive here and other plugins for help on how to
fetch custom headers in the message list view, and I must have misunderstood
something, because I can't read it (only in the message view). What I've
been doing is:

- I add a hook after the plugin init function, calling storage_init

$this->add_hook('storage_init', array($this, 'storage_init'));

- I use fetch headers to retrieve the 'checking' header

  function storage_init($p)
        $p['fetch_headers'] = trim($p['fetch_headers'].'Checking');
        return $p;

If I now print all the data coming from the mail, this header isn't shown,
only the usual headers (from, cc, cco).

Any help on what i'm missing here?

View this message in context:
Sent from the Development mailing list archive at
Roundcube Development discussion mailing list
dev <at>

(Continue reading)

Brendan | 27 Oct 20:13 2014

[RCD] doubleclick in list view and editor enter preference

we have a large number of users using roundcube now, and two complaints 
kept coming up again and again:
- users wanting to be able to single-click to open messages when in the 
message list view with the preview pane disabled
- users not liking the behavior of the enter key in the HTML editor 
(setting a new paragraph instead of a newline)

both of them can't be "fixed" for everyone, as a fixing it for one group 
(the ones who complain) breaks it for the other group (those who like it 
as is). instead i've implemented them locally as new per-user config 
options, allowing the users to override the default behavior for each.

as both needed some changes to some of the javascript files they aren't 
suitable candidates for simple plugins. are these two options things 
that would be of use to the general project? if so, i'll submit a couple 
enhancement tickets with pull requests with the changes for them. (i'm 
fuzzy on how this type of feature enhancement should be handled)

for the single-as-double click option, when it is enabled (disabled by 
default) shift/ctrl-clicking still selects messages, single clicking 
just switches from selecting the message to opening the message.

for the html editor enter behaviour, when it is enabled (disabled by 
default) the behavior of the enter key switches: enter adds a newline 
and shift-enter adds a new paragraph (the inverse of how it is now). via 
this tinymce option:
Roundcube Development discussion mailing list
dev <at>
(Continue reading)

Svoop | 25 Oct 15:03 2014

[RCD] Support for extprograms in filter rules


I'm using a few pipe rules (see However,
these rules are not shown in Roundcube and - since Roundcube fully
regenerates the roundcube.sieve file - they are lost whenever other filters
are edited in Roundcube.

How about adding support for extprograms to Roundcube?

IMHO, there should be a config setting to enable or disable (default) this
feature. And it could be limited to the pipe command for starters.

What do you think?

Roundcube Development discussion mailing list
dev <at>

Matee Moshkovits | 21 Oct 05:34 2014

[RCD] plugin request

is their an auto collect/auto fill/auto add plugin for the address book 
to roundcube?
like the one gmail or thunderbird has ...where if you compose an email 
to someone it auto adds them to your address book ... then once you 
start to type the start composing it suggest the addresses to fill in ....


If you have any questions, please do not hesitate to contact our office.
Thank You

Matee Moshkovits
Chief Technology Officer
AffordHost Inc.
Direct Telephone: (416)273-9914
Office Telephone: (416)238-7698 x 225
Email: mmmoshko <at>

Business-Class Web Hosting at Affordable Prices

Roundcube Development discussion mailing list
dev <at>

W. Michael Petullo | 18 Oct 20:05 2014

[RCD] Modification to movespam

I have modified Ythan's movespam plugin to permit moving spam based on
arbitrary IMF headers, instead of just based on message subjects. (Thank
you to Thomas Bruederli for answering the question I had earlier.) Would
it be possible to get this revision of the movespam plugin into
Roundcube's base set of plugins? I would be happy to continue maintaining
the plugin if necessary.

Thank you,



Roundcube Development discussion mailing list
dev <at>

W. Michael Petullo | 17 Oct 02:24 2014

[RCD] Arbitrary email headers

From what I can tell, Roundcube has a fixed set of email subjects that it
parses. I am interested in modifying Ythan's MoveSpam plugin to consider
bogofilter's X-Bogosity header (which Roundcube does not parse) instead
of a tagged Subject header.

Is there any interest in adding to Roundcube the ability to parse
arbitrary email headers? Is there a good reason that Roundcube only
supports a fixed set of headers?

Thank you,



Roundcube Development discussion mailing list
dev <at>

Phil Weir | 16 Oct 09:14 2014

[RCD] missgin git tags in packagist


Are there any Packagist experts out there? I have a number of plugins listed
on All of them include tags (or releases as github
calls them) and these tags used to be listed on the
page. A little ago all the tags disappeared and just the branches remain.

For example here you can
see tags like 1.3 and 2.0 but they do not show up on here 

I know very little about Packagist, is there is anyone who could help me
figure out why the tags are not showing up any more?

Thanks very much,


Roundcube Development discussion mailing list
dev <at>

Thomas Bruederli | 11 Oct 11:33 2014

[RCD] Our Wish List for Encryption Browser Extensions

Dear Roundcube devs and list lurkers

PGP encryption for Roundcube is a repeatedly popping up topic. Of
course we're also very much interested in providing a solid solution
for end-to-end encryption as a standard part of Roundcube. I therefore
tried to summarize the current situation in our wiki [1] and compiled
a few wishes to current and future encryption browser plugins - from a
webmail programmer's point of view of course:

I think the approach with a locally installed browser extension to do
the encryption part is the most sustainable at the moment. While
Mailvelope [2] already does a pretty good job, please also give your
attention to pEp [3] which adds some more simplicity and automation on
top of standard encryption methods like PGP and S/MIME. After a recent
meeting with the pEp developers, I'm really looking forward to see
this become available, eventually also as a browser extension. So
please support their crowd-funding campaign [4] and help them to make
encryption easy for everyone.

Kind regards,

Roundcube Development discussion mailing list
(Continue reading)

Alexander Fleites | 2 Oct 22:46 2014

[RCD] Roundcube Login

Hi I try to connect directly to the login page, but I gets an error Session Invalid or Expired

here is my code, if somebody can help me I appreciate that, Thank You.

          define('EOL', chr(10)); 
    define('ROUNDCUBE_HOST', ''); 
            define('ROUNDCUBE_FOLDER', 'email'); 
            define('ROUNDCUBE_LOGIN', 'test <at>'); 
            define('ROUNDCUBE_PASS', 'test <at> 2014'); 

   header('Cache-Control: private, no-cache, no-store, must-revalidate, post-check=0, pre-check=0');
   header('Pragma: no-cache');
   $header  = 'Host: ' . ROUNDCUBE_HOST . EOL;
   $header .= 'User-Agent: ' . $_SERVER['HTTP_USER_AGENT'] . EOL;
   $header .= 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' . EOL;
   $header .= 'Accept-Language: pt-br,en-us;q=0.7,en;q=0.3' . EOL;
   $header .= 'Connection: close' . EOL . EOL;
   $data = $this->getConn('GET', ROUNDCUBE_HOST, '/' . ROUNDCUBE_FOLDER . '/?_task=login', $header, 80);
   //echo str_replace(EOL, '<br>', $header);
   //echo '<hr>';
   $posToken = strpos($data['content'] ,'="_token"');
   if($posToken === false) {
    echo 'token not found';
   } else if ($data['status'] === '200') {
    $data['content'] = $this->getToken($data['content'], $posToken + 9);
$ddata['token'] = $data['content'];
    $postdata = http_build_query(
    '_token' => $data['content'],
    '_url' => '',
    '_task' => 'login',
    '_action' => 'login',
    '_timezone' => '__default__',
    '_user' => ROUNDCUBE_LOGIN,
    '_pass' => ROUNDCUBE_PASS
    $header  = 'Host: ' . ROUNDCUBE_HOST . EOL;
    $header .= 'User-Agent: ' . $_SERVER['HTTP_USER_AGENT'] . EOL;
    $header .= 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/'.'*;q=0.8' . EOL;
    $header .= 'Accept-Language: pt-br,en-us;q=0.7,en;q=0.3' . EOL;
    $header .= 'Referer: http://' . ROUNDCUBE_HOST . '/' . ROUNDCUBE_FOLDER . '/?_task=login' . EOL;
    if(count($data['cookies']) > 0) {
    $header .= 'Cookie: ' . implode('; ', $data['cookies']) . EOL;
    $header .= 'Connection: close' . EOL;
    $header .= 'Content-Type: application/x-www-form-urlencoded' . EOL;
    $header .= 'Content-Length: ' . strlen($postdata) . EOL . EOL;
    $header .= $postdata;
    $data = $this->getConn('POST', ROUNDCUBE_HOST, '/' . ROUNDCUBE_FOLDER . '/?_task=login', $header, 80);
    //echo str_replace(EOL, '<br>', $header);
    if($data['status'] === '0') { //0 = Not connected
    echo 'error_send_post(socket): ', $data['err'];
    } else if($data['status'] !== '302') { //If HTTP <> 302 has an issue
    echo 'error_send_post_http_' . $data['status'];
    } else {// If 302 (Moved page) login ok
    $j = count($data['cookies']);
    for($i = 0; $i < $j; $i++) {
    header('Set-Cookie: ' . $data['cookies'][$i] . '; path=/; httpOnly', false);
    header('X-DNS-Prefetch-Control: off');
    header('Vary: Accept-Encoding');
    //$this->load->view('email/login', $ddata);
    header('Location: http://' . ROUNDCUBE_HOST . '/' . ROUNDCUBE_FOLDER . '/?_task=mail');

Regards, Alex

Roundcube Development discussion mailing list
dev <at>
Arkadiusz Miśkiewicz | 1 Oct 13:44 2014

[RCD] backporting c5f06896d - Display full quota information in popup


I don't know what are the rules for 1.0 branch but I would like to propose to 
backport this change to 1.0 branch:

Display full quota information in popup (#1485769, #1486604)

I'm constantly getting reports of users confused about how quota is displayed 
by roundcube. It's quite small change and should be safe for 1.0.x.


Arkadiusz Miśkiewicz, arekm / ( | )
Roundcube Development discussion mailing list
dev <at>