[SOLVED] Noobie Confusion with mail server and domain

5 posts / 0 new
Last post
#1 Mon, 01/16/2017 - 11:12
dsherer

[SOLVED] Noobie Confusion with mail server and domain

I am new to virtualmin and I am struglling with how to do some things so let me just start by saying what it is I am trying to do and steps taken.

Goal: To have users got to mail.domain.com and be presented with a roundcube login. Not only that I also want the email to work (I have use Axigen in the past for this but want to move to something free without limited users and domain accounts ).

Have tried this without virtualmin and had issues with roundcube only having an inbox, could send email but not receive (I think I know why on that though)

I decieded to start over with Virtualmin as I want to host email for a couple of different clients.

I have a VPS and did a clean install on ubuntu 16.04 I then installed Virtualmin I then installed roundcube vial virtualmin install script

My hostname for my VPS is www.guardian247.net this will be my main webpage eventually.

So the first thing I am confused about is, do I need to create a virtual server for guardian247.net or will it create confusion for virtualmin?

I did however create a virtual server for guardian247.net Now what I want to do is have https://mail.guardian247.net with DocumentRoot as /home/user/public_html/rouncube but since I did not see a way to evectively do this in the virtual server, I created it in the server. When I went to mail.guardian247.net I got an ssl no response error. So I cloned the virtual server site config removing the vhost *80 section and changing the vhost *443 section ServerName to mail.guardian247.net

This work to get to the SSL warning but when I get passed that then I get a 403 forbidden, yet I can get the https://guardian247.net/roundcube just fine and it shows me rouncube login.

Another problem I am having is with roundcube itself after I login I get this message: guardian247.net is currently unable to handle this request. HTTP ERROR 500 regardless if I am using https or http

I have nothing in the apache error.log nor do I have anything in the site error log so I am unsuer where to begin to try and resolve this.

I did double check user and group owners on roundcube and they are correct. The user and group the permissions are also 755 on roundcube .

if you need more infor or clarification let me know.

Mon, 01/16/2017 - 13:39
dsherer

Ok I figured out the forbidden I had this set: Options None

I changed it to this Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI

Now when I go to https://mail.guardian247.net I get the roundcube login page However I still have the problem after I login I get the ERROR 500 :(

Which way is the door

Mon, 01/16/2017 - 15:04
dsherer

Ok found out the problem with roundcube. apparently mbstring is not installed with the virtualmin install script. Once I installed mbstring

apt-get install php7.0-mbstring

and restarted the apache server I was able to log in and see an interface then I got this error Server Error: STATUS: Internal error occurred. Refer to server log for more information. [2017-01-16 21:03:19] (0.000 + 0.000 secs). which server do they mean lol

Which way is the door

Mon, 01/16/2017 - 15:31
dsherer

Ok I got it working looks like another php plugin missing php_zip installed with this command

apt-get install php7.0-zip

after the install went into

/home/guardian247/publi_html/roundcube/plugins/zipdownload

and

cp config.inc.php.dist config.inc.php

restart apache

open browser and logged in had all the folders. Now to see if the mail actuall sends and receives. Then on with my next set of questions LOL

well now I am getting this error

SMTP Error (535): Authentication failed.

Am I missunderstanding somehting I thought virtualmin took care of all of this

Which way is the door

Mon, 01/16/2017 - 17:59
dsherer

Ok some playing around and what I figured out is that I can send and receive from virtualmin, assuming if it works for one it works for all.

I have an issue with telnet as it gives me a nest MAIL error and roundcube gives me SMTP authentication Error 535.

I could really use some help with this. I feel I am so close.

Which way is the door

Topic locked