Page 1 of 1

Email accounts work not logging in

Posted: Wed Sep 12, 2018 7:21 pm
by hassaan
Hi,

I have install fresh vestaCP on centos 7

I have created around 9 email address.

I am unable to login to email address using webmail and thunderbird.

Can someone help me. Its urgent

The webmail is showing Connection to storage server failed. as message when I tried to login

Re: Email accounts work not logging in

Posted: Fri Sep 21, 2018 6:42 pm
by noise
same here but ubuntu. i search a solution and post it...

Re: Email accounts work not logging in

Posted: Sat Sep 22, 2018 12:04 am
by noise
so i do more than 1 thing.


1. Roundcube problem database connection error (Serverfehler: STATUS: Internal error occurred. Refer to server log for more information.)

Open file:

Code: Select all

nano /etc/dovecot/dovecot.conf
i change the complete file from:

Original file (work but have the above error):

Code: Select all

namespace {
    type = private
    separator = /
    prefix =
    inbox = yes

    mailbox Sent {
        auto = subscribe
        special_use = \Sent
    }
    mailbox Drafts {
        auto = subscribe
        special_use = \Drafts
    }
    mailbox Trash {
        auto = subscribe
        special_use = \Trash
    }
}
Change to:

Code: Select all

##
## Mailbox definitions
##
# NOTE: Assumes "namespace inbox" has been defined in 10-mail.conf.
namespace inbox {
inbox = yes # added this one
  #mailbox name {
    # auto=create will automatically create this mailbox.
    # auto=subscribe will both create and subscribe to the mailbox.
    #auto = no

    # Space separated list of IMAP SPECIAL-USE attributes as specified by
    # RFC 6154: \All \Archive \Drafts \Flagged \Junk \Sent \Trash
    #special_use =
  #}

  # These mailboxes are widely used and could perhaps be created automatically:
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Trash {
    special_use = \Trash
  }

  # For \Sent mailboxes there are two widely used names. We'll mark both of
  # them as \Sent. User typically deletes one of them if duplicates are created.
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }

  # If you have a virtual "All messages" mailbox:
  #mailbox virtual/All {
  #  special_use = \All
  #}

  # If you have a virtual "Flagged" mailbox:
  #mailbox virtual/Flagged {
  #  special_use = \Flagged
  #}
 #inbox = yes
}
2. Login page has a server field:
change to "servername" (not host name):

open

Code: Select all

nano config.inc.php
$config['default_host'] = 'servername';

3. Optional
Changes made here to force https (not really needed with ssl but i do this)

open

Code: Select all

nano /etc/roundcube/main.inc.php
and set from false to true
$rcmail_config[‘force_https’] = true;
(Makes sure that you do not accidentally let users send their login data over an insecure HTTP connection.)

cheers