Is it possible to install Roundcube on shared server ? - email

Is it possible to install roundcube on Shared linux
server running Cpanel. I heard from my service provider that it isn't. Well is it possible atleast on Dedicated IP... Please advice. Thanking in advance..

Ahoy,
cPanel ships with Roundcube already installed on the server by default with cPanel. You can access roundcube though the webmail interface using any of the email accounts hosted on that server. The webmail login that you can access roundcube through is at http://example.com/webmail -or- https://example.com:2096
cPanel uses a specially modified version of roundcube to help address issues like passing cPanel authentication data to roundcube to make logins easier. cPanel's roundcube files are stored at:
/usr/local/cpanel/base/3rdparty/roundcube
To update roundcube on a cPanel server you can use the following command. Additionally if you use the --force flag, roundcube will be reinstalled.
/usr/local/cpanel/bin/update-roundcube
cPanel Roundcube also has a special logging location at:
/var/cpanel/roundcube/log
cPanel Roundcube's Primary Configuration file
/usr/local/cpanel/base/3rdparty/roundcube/config/main.inc.php
By default roundcube will use MySQL, however it is possible to update roundcube to use sqlite, an quicker and more efficient database driver for roundcube. There are dangers in this conversion (ie. address book loss, roundcube user preferences loss). The command to convert roundcube to sqlite is:
/scripts/convert_roundcube_mysql2sqlite
/scripts/convert_roundcube_mysql2sqlite $username
To update an sqlite roundcube (--force to reinstall)
/usr/local/cpanel/bin/update-roundcube-sqlite
Additionally since roundcube is a php script, you can download roundcube from http://roundcube.net/download/ and install it into any cPanel account if your usage requires customizations that cPanel will not support.
Chears!

Well, it is 100 % possible for sure( I have an example in production)
The only thing to consider is, there may be some missing components that Roundcube requires. If this is is the case, just submit a ticket for your hosting provider, they will certainly install the missing components.
If you want to install SSL for your Roundcube, for sure you also need a dedicated IP.

Related

Viewing emails via browser on Ubuntu

I have a working postfix smtp server on my Ubuntu 20.04 cloud machine. I can send/receive emails using the standard command line "mail" client. I am now looking for a way to do the same via web browser. I already am running nginx on the server.
It seems there are various apps such as RoundCube and SquirrelMail that are available on Ubuntu. However, they seem to require additional pop3/imap server packages to be installed.
As the webmail client is intended to be on the same machine as my smtp server is, I do not see why additional pop3/imap packages need to be installed.
Wondering if there is a simpler way to look at emails via web browser. Regards.
You need to install a web server, PHP (or whatever is required to run the webmail app of your choosing), and an IMAP server.
mail is an email client that knows how to directly access your messages on the filesystem, something that a web app has no capability to do. Also note that it is executed from the context of you having already logged in to your server as a particular user.
It's a Very Bad Idea to give your web server read/write access to parts of the filesystem outside the directories where your web-related files are kept (write access can and should be even more strict).
It's technically feasible to create a webmail app that does what you want (I think there may have been some attempts in the distant past), but it would be limited to systems with a very specific mail system setup and require some questionable permission tweaking. IMAP is the layer that abstracts your particular mail system setup from any of the various mail clients you may want to use to access your messages. It also helps make sure users and apps are not able to access things they should not.
Wondering if there is a simpler way to look at emails via web browser
Not that I can think of. Fortunately, this will get you most of the way there:
apt-get install dovecot-imapd
Dovecot will need minimal configuration in your case, and more time will be spent installing and tweaking whatever webmail client you choose (or you can try Thunderbird). And remember that the IMAP server can be limited to local clients (webmail counts as such) and need not be exposed to the Internet.

Send email with Sendgrid on a shared hosting

I have my websites hosted in a shared hosting where CPanel and EXIM are installed.
My goal is to send all outgoing emails via Sendgrid, as explained in this article: https://sendgrid.com/docs/for-developers/sending-email/exim/
I cannot edit the main EXIM config file because it would affect all the users of the server, so I was wandering if it is possible to add a configuration file in my local /home/etc folder in order to use a different EXIM config for my websites only.
I tried to add an exim.config.local file in my etc folder, but nothing changes...
Do you know if there is any way to achieve my goal? Maybe a local EXIM alternative?
I can use PUTTY to wget files, but apt-get install is not available.
Thanks for your help
Use .include_if_exists $home/exim.conf in the main config and it will only load a users config if it is present in its homedir. That way it won't affect the other users of the server.

Will JIRA clash with Plesk on Install

I have a dedicated hosting account that is managed using Plesk (i am not very comfortable with Linux command line - learning). Plesk is fine as its easy to use for managing different web spaces.
I want to know if i install JIRA on the same server will i run into
any issues with Plesk. I believe the ports used for Plesk and JIRA
are not the same (8080 for JIRA).
Are there any good walk throughs for doing so
Any recommendations on the install process
Eventually, i want JIRA to be accessed via subdomain url j.domain.com and not xx.xxx.xx.xx:xxxx. how could i set this up
thanks a lot!
Yes, JIRA can be installed on Plesk server without any issues.
There is port clash only with Tomcat, so if you have it installed JIRA installer suggest you to choose another port.
# wget https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-7.2.4-x64.bin
# chmod +x atlassian-jira-software-7.2.4-x64.bin
# ./atlassian-jira-software-7.2.4-x64.bin
It's better to use MySQL database if you haven't experience with PostgreSQL.
JIRA installer always silently fallback to built in H2 file database in case of issue with provided DB settings
you have to create domain, database and mail user in plesk
You have to enable proxy_http in Tools&Settings > Apache Web Server and create file /httpdocs/.htaccess in j.domain.com domain to redirect requests to JIRA:
RewriteEngine on
RewriteRule ^(.*) http://127.0.0.1:8080/$1 [P,L]
SMTP settings:
Troubleshooting:
Logs are placed here /opt/atlassian/jira/logs/catalina.out

my magento website can‘t use email function, maybe it is about the vps email setting? anyone can help me?

i'm running a new store on magento, the contact us show successfully sent email to me, but i didn't get any email. i'm using google email address, but for the vps setting i'm not sure how to set up it. as i'm using linux vps.
If you are using personal VPS hosting, you have to install email server or ask support to do that. The most popular one for Linux is Postfix. You can find a lot of information how to install postfix depend on Linux distrubution. I recommend you to install postfix and use mysql to configure such settings like email forwarding, user list, etc.

Installing and configuring a barebones email server on Ubuntu

I've got an unmanaged Linux VPS running ubuntu that I'm using for the web server for a personal website. I'd like to get a barebones email server up and running. All the installation guides I've found so far are for a full-fledged email server with a webmail interface and everything. That's a lot more than I need. There's only two things I need:
My web application needs to be able to send email. Specifically, it'll be emailing me when an exception occurs.
I want all email sent to [anything]#domain.com forwarded to my personal gmail account. The server doesn't even need to retain the email or anything.
I want to reserve resources for the actual web app, so I don't want to install anything I won't need for this.
msmtp or nullmailer sounds like it would fit the bill for the former. You could use google mail for domains for the latter.
I'll Second Postfix. I've been using it since around 2000 - it's not that hard to set up. However, for what you're doing (relaying to your ISP) msmtp or nullmailer as suggested by geocar will probably do the trick - they appear to be specifically designed for this sort of role - although I've never used them so I can't really comment from experience in the way I can with Postfix.
Your web application needs a SMTP server. That server can be a hosted service like Google's or MailHop. If you really want to be an email administrator postfix should be installed HOWTO is here.
If not:
sudo apt-get install postfix