RoundCube

Possible Bug in RoundCube?

I've owned a DA license for the past 6 months and despite it's shortcomings it's pretty good bang for your buck..

I also know that DA may put this issue on the back burner because it could very well be a problem that is being caused by RoundCube as it's 3rd party software... LOL

In any event I have a feeling there is a problem with RoundCube and I'm not sure how to correct it orrrrrrrr it may also be a glitch with the way DA handles email forwarding if in fact it does... :confused:

I have quite a few sites that are using less than 5 MB of disc space but I have one that is using up 95% of the 100MB that has been allocated to her because of stored emails.

Problem is, the email addresses that she is using are being forwarded to an address that the site owners ISP has created for her, BUT, Roundcube stores the forwarded mail in its database for some reason... :rolleyes:

One would think that all forwarded mail to an outside resource would bypass the default email program on the server completely. But it appears that it doesn't.

So now the other issue.. RoundCube is a SLUG!!!.... When logging in, it tries to upload all the emails that it has stored in the program PRIOR to allowing you access inside. I have one site that has 1622 emails stored in there and here I sit waiting for the software to open while it attempts to preload all the emails... (I can see the counter just a spinning in the bottom left hand corner of the screen)..

Now I want to try to delete all the duplicated garbage that is being stored... I select to delete 200 emails at a time.. I wait about 15 seconds while the emails are being selected.. I now want to move them to the trash bin.. I wait about 60 seconds while they get transferred into the trash bin.. Once transferred, I try to select another 200 emails to send to trash.. Cannot do it.. The page remains blank...

Now I go to the Trash bin and wait 30 seconds while it loads up.. I select all and wait another 10 seconds.. I hit delete and wait about 30 seconds while the 200 hundred emails get dumped..

Then I go back to the Inbox and start the process all over again..

It has now been 20 minutes and I still have 162 emails to delete..

Totally NOT impressed with this software at all...

Anybody got any ideas how DA can bypass the Default email program when forwarding mail to an outside resource????

Ed
 
I have quite a few sites that are using less than 5 MB of disc space but I have one that is using up 95% of the 100MB that has been allocated to her because of stored emails.

Problem is, the email addresses that she is using are being forwarded to an address that the site owners ISP has created for her, BUT, Roundcube stores the forwarded mail in its database for some reason... :rolleyes:

One would think that all forwarded mail to an outside resource would bypass the default email program on the server completely. But it appears that it doesn't.
Is Roundcube storing it? Or is it being stored in the mailbox?

In DirectAdmin mailboxes and forwarders are independent of each other; if you have a forward and a mailbox, the mail will be both forwarded and stored in a mailbox. So if you only want the mail forwarded, remove the mailbox.
So now the other issue.. RoundCube is a SLUG!!!.... When logging in, it tries to upload all the emails that it has stored in the program PRIOR to allowing you access inside. I have one site that has 1622 emails stored in there and here I sit waiting for the software to open while it attempts to preload all the emails... (I can see the counter just a spinning in the bottom left hand corner of the screen)..

Now I want to try to delete all the duplicated garbage that is being stored... I select to delete 200 emails at a time.. I wait about 15 seconds while the emails are being selected.. I now want to move them to the trash bin.. I wait about 60 seconds while they get transferred into the trash bin.. Once transferred, I try to select another 200 emails to send to trash.. Cannot do it.. The page remains blank...

Now I go to the Trash bin and wait 30 seconds while it loads up.. I select all and wait another 10 seconds.. I hit delete and wait about 30 seconds while the 200 hundred emails get dumped..

Then I go back to the Inbox and start the process all over again..

It has now been 20 minutes and I still have 162 emails to delete..

Totally NOT impressed with this software at all...
Are you using mbox or Dovecot/Maildir? mbox (the way DirectAdmin is set up by default) stores all emails in one long file, and requires rewrites of the file every time an email is removed or moved. Dovecot and Maildir together (you can't have one without the other, at least not on DirectAdmin) put each email into it's own file, and should improve speed dramatically.
Anybody got any ideas how DA can bypass the Default email program when forwarding mail to an outside resource????
See above.

Jeff
 
I tried to update to RC2 using this script and I got the following error:

Code:
ERROR 1142 (42000) at line 6 in file: 'SQL/mysql.update.sql': ALTER command denied to user 'da_roundcube'@'localhost' for table 'messages'
 
Is Roundcube storing it? Or is it being stored in the mailbox?

In DirectAdmin mailboxes and forwarders are independent of each other; if you have a forward and a mailbox, the mail will be both forwarded and stored in a mailbox. So if you only want the mail forwarded, remove the mailbox.

Seems to me a simple "if statement" would/could solve any problems and those that wish to use a browser based email program could and those that wanted their email programs forwarded wouldn't have to worry about loss of disc space and duplicate emails...

Would also eliminate the need to eliminate the email program..


Are you using mbox or Dovecot/Maildir? mbox (the way DirectAdmin is set up by default) stores all emails in one long file, and requires rewrites of the file every time an email is removed or moved. Dovecot and Maildir together (you can't have one without the other, at least not on DirectAdmin) put each email into it's own file, and should improve speed dramatically.

See above.

Jeff
I'm using Dovecot/Maildir

Oh Yes.. I finally gave up trying to delete the emails and just increased the disc space for the sites that are gettting loaded up.. :mad:

Ed
 
Last edited:
Martynas ..

Can you post the step by step process to update roundcube once you log in using Putty..

Thanks in advance.. :)

Ed
 
Trying to beat Martynas

Code:
cd /usr/local/directadmin/scripts
wget -O roundcube.sh http://files.directadmin.com/services/all/roundcube.sh
chmod 755 roundcube.sh
./roundcube.sh

Same as for install, it automatically detects u already have it and updates everything. (I love the way Martynas scripts)
 
Trying to beat Martynas

Code:
cd /usr/local/directadmin/scripts
wget -O roundcube.sh http://files.directadmin.com/services/all/roundcube.sh
chmod 755 roundcube.sh
./roundcube.sh

Same as for install, it automatically detects u already have it and updates everything. (I love the way Martynas scripts)

That's it???.. That's all I have to do???.. I don't have to restart anything?

Ed
 
nothing, as easy and nice as it is.

Maybe to restart apache wouldn't be a bad idea. But I don't think it's necessary.
 
nothing, as easy and nice as it is.

Maybe to restart apache wouldn't be a bad idea. But I don't think it's necessary.


Seems ot be loading up a little faster now but now when I select 40 messages at a time and try to move them into the trash bin, it tells me it cannot do it.. All I get is "Cannot move the Message" ....

BUT, I can move them one at a time.. 1700 messages to go into the trash bin one at a time on one site.. :((((((((((((
 
I tried to update to RC2 using this script and I got the following error:

Code:
ERROR 1142 (42000) at line 6 in file: 'SQL/mysql.update.sql': ALTER command denied to user 'da_roundcube'@'localhost' for table 'messages'

I get the same error. I tried it several times. Seems to work.
 
rldev, you got it because da_roundcube doesn't have "ALTER" permissions. It's fixed in CustomBuild 1.2, but not added to 1.1.
 
rldev, you got it because da_roundcube doesn't have "ALTER" permissions. It's fixed in CustomBuild 1.2, but not added to 1.1.

I got the same error when I updated using this code:

Code:
cd /usr/local/directadmin/scripts
wget -O roundcube.sh http://files.directadmin.com/services/all/roundcube.sh
chmod 755 roundcube.sh
./roundcube.sh

Ed
 
Last edited:
Seems to me a simple "if statement" would/could solve any problems and those that wish to use a browser based email program could and those that wanted their email programs forwarded wouldn't have to worry about loss of disc space and duplicate emails...

Would also eliminate the need to eliminate the email program..
I have no idea what you mean. Right now you create a forwarder if you want a forwarder, an email box if you want to read email on the server or with POP or IMAP, or both if you want both. I don't know what you mean about eliminating an email program.
I'm using Dovecot/Maildir

Oh Yes.. I finally gave up trying to delete the emails and just increased the disc space for the sites that are gettting loaded up.. :mad:
I use squirrelmail to delete huge amounts of email; I can tell it to display all the emails (it does that quickly when using Maildir), and then checking all and deleting them with one click.

I believe there's also a setting in DirectAdmin to delete all the emails in a mailbox.

Jeff
 
I have no idea what you mean. Right now you create a forwarder if you want a forwarder, an email box if you want to read email on the server or with POP or IMAP, or both if you want both. I don't know what you mean about eliminating an email program.

Jeff
Dunno ho wto splain this any easier..

I own www.anysite.com

I create an account using DA..

I want an eamil address called [email protected]

I create a POP3 account with a username and a password

I want all mail that comes in for [email protected] forwarded to [email protected]

This is all fine and works just dandy..

Problem is somehow the mail goes through the default webmail program which duplicates and stores the emails that are being sent to [email protected]...

How do I stop the mail from being stored in RoundCube (default webmail program on server) and still maintain the forwarding function???..
 
Last edited:
Why do you need to create the mail in the first place? you just need to create the forwarder.
 
Why do you need to create the mail in the first place? you just need to create the forwarder.

Hi jca..

Huh????:confused:

You have to have an email address before you can forward it and in order to have an email address you have to create it in the DA admin panel...

Also, If I want to sendmail from Outlook or any other program, I have to have the ability create email accounts which require the following info..

Username: [email protected]
Password: xxxx
Pop3 Server: mail.anysite.com
Smtp Server: mail.anysite.com

Problem is, the minute I create an account, the default WEBMAIL program duplicates and stores the emails that are being passed through the server using up valuable disc space..

e.g.. You send me an email to [email protected] (anysite.com is hosted on my server and is administered using DA software). If I were to use ONLY the default WEBMAIL program all is fine.. The mail stops and is stored on the server and I log into RoundCube, check my mail and respond to those that I want to and delete the ones I don't. Don't get me wrong, It's OK for those that want to follow that procedure... THe problem arises when you have more than one website.. :)

Personally I don't like browser based email programs so I forward all mail that comes in for ALL my sites to an address my ISP created for me, which I administer via Outlook EXpress...

This way I don't have to keep logging into 20 different email programs on the server (one for each site I run), in order to check my mail for each domain name..

If I want to send mail from a specific domain name e.g. [email protected], I create an account in Outlook so I don't have to reveal my primary email address when I send mail.. THe person responds by sending mail to [email protected] which is then passsed through the server and forwarded on to me.

Besides that, when using the forwarding feature in DA the mail has to pass through all the wonderful spam filters on the server thus blocking out all garbage that the spammers send before it gets to me...

Once a day I log into the server as admin click on "Mail Queue Administration" and bounce all the garbage that is being sent to all the email address's on the server.. I look forward to doing that on a daily basis LOL.. :D :D

Ed
 
Last edited:
Back
Top