![]() |
Regarding mail ports
Just wondering how do you find out what the default ports the mail server is running on, like incomming and outgoing? And can they be changed?
|
Smtp: 25
pop3: 110 imap: 143 imaps: 993 pop3s: 995 |
Ok I see so they are defaulted, just wanted to be sure, so I installed roundcube on the mail server which responds to internal ip of 192.168.0.10/roundcube but it doesnt respond to the hostname of mail.example.com
I made these changes in ispconfig on the cpanel server: (ubuntu) /usr/local/ispconfig/interface/web/mail/webmailer.php isset($_SERVER['HTTPS'])? $http = 'https' : $http = 'http'; $http = 'http'; header('Location:' . $http . '://' . $serverData['server_name'] . '/roundcube'); now it redirects properly but doesn't pull up roundcube, rather I get page not found error. |
Also, would it have been better to install roundcube to the panel server and change the config files to connect to the mail server? Then make changes to ispconfig so it connects to roundcube on local host? Right now I am at a stand stil trying to make ispconfig load the roundcube off the mailserver and then giving it the ablity to access externally...
|
I create my own apache webmail redirection - which uses the default created subdomain mail.
Quote:
What it does - for any sub-domain (i host a few virtual domains) of mail it gets redirected to my squirrelmail ( i have used roundcube too but its slow compared to sqm) and ssl used. I prefer this to mydomain.com/squirrelmail. OR you can just create a roundcube.conf like this: Quote:
Remember to restart httpd to make changes take effect. |
I think I understand a little bit, but there was no apache installation on my mailserver, so do I put the virtual host on the webserver and point it to the internal IP somehow?
|
Quote:
Quote:
Unless its a large user base there really is no point. I have in the past had separate boxes running smtp and imap/webmail, but that was for a 1000 plus users, but most setups i do are for 20 to 100 users and i only ever have 1 box running postfix/dovecot/webmail, and the only other box i need is a backup mx, which is shared between several companies. |
Sorry I was mistaken it does have apache, I just wasn't using it as an apache server.
|
Quote:
E.g. for debian, chapter 20.2: http://www.howtoforge.com/perfect-se...ispconfig-3-p6 |
How can I check for errors, I did everything you listed and it still does not work.
I created a DNS A record for webmail.example.com with internal IP. then I did the Virtual host record on the mailserver (hostname mail.example.com) then I followed the rest of steps for squirrelmail except replacing with roundcube. Externally it still does not work. I also realized that I made 2 modifications to roundcube.. first was nano /etc/apache2/conf.d/roundcube.conf which I added <VirtualHost 1.2.3.4:80> DocumentRoot /usr/share/roundcube ServerName webmail.example.com </VirtualHost> The second I created through webmin a virtual host on the apache server for the directory of /var/www/roundcube |
| All times are GMT +2. The time now is 15:32. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.