Email control panel - email

Most of my small customers started to ask me if I can host the websites I'm building for them. Setting up virtual hosts, configuring mysql, DNS, etc is not really a problem. One thing stops me from hosting their websites is the fact that I've never been able to do configure an email server to accept multiple domains with SPF&DKIM. There must be some sort of an evil spirit which stops me from achieving this.
So, I was wondering if anyone knows a piece of opensource (or not, I'm willing to pay a decent license price ) software ( cpanel like but limited to email ) which would allow me to:
Manage only email related things via a control panel.
The control panel should let me add multiple domains.
The control panel should let customers login and manage their mailbox accounts
The software should offer webmail and SMTP & IMAP/POP3 access.
P.S.: I work mostly with ubuntu but I can handle centos also.

I don't have an answer to your question, but I have an alternative : Google Apps.
You can do the web hosting and tell your customers to get a Google Apps account for their email.
Also since Google Apps is no longer free, you can try Google Domains, they do not offer email hosting but they can redirect up to 100 domain email to gmail accounts.

I think you should go with CentOS Web panel. It is a free and open-source web hosting control panel for CentOS Servers. It provides a powerful web interface through which you can manage your CentOS server and its services. With Centos web panel, you can manage User accounts, Apache virtual hosts, DNS entries, MySQL databases, Email accounts, and much more. Apart from it, CentOS web panel is also used to create and manage shared hosting servers.
Below are the steps on how to install CentOS web panel on CentOS Server.
1. Preparing Server
Let’s install the required packages for CWP installation:
# yum -y groupinstall 'Development Tools'
# yum -y install epel-release
2. Server Update
Now we need to update your server to the latest version
# yum -y update
3) Reboot Server
Reboot your server so that all updates can take effect.
# reboot
4) Download and install CentOS Web panel:
# cd /usr/local/src
# wget http://centos-webpanel.com/cwp-latest
# sh cwp-latest
Note: The installation process may take 30 - 40 minutes because it needs to compile apache and PHP from source.
Once the installation is completed, a list of credentials will be appeared to access the panel. Make sure to copy or write down the MySQL password and press enter to reboot your server.
Please let me know if you face any error. I will happy to help you.

Related

Is it possible to install server software while I just have a hosting

I'm new to web back-end and about to deploy a website(with both backend and frontend). As far as I know, If you own a server, you can install whatever software you want. But how about when you have a free hosting, is it possible for you to install softwares like Tomcat, Mysql,etc yourself.
Ps: as far as I know, hosting is a folder inside a server, so in my opinion, you'll depend on the server which contains the hosting. Still I get confused.
I highly appreciate you all for spending time read this post.
Hosting is just deploying your applications and then serve them to the internet. If you are using free hosting, I suppose that they must be managed service which mean you cannot do anything except the functions the hosting provider provide. In my opinion, it is better to get your own vps if you want to control your server fully. You can just install software you want in ubuntu or other supported os, and then serve your port to public. If you would like to try, you can use some cheap vps provider first like Contabo VPS.

Malware on CPanel Shared Server

I've a shared hosting plan. Some malware viruses get infected whole server. It creates folders, files automatically. I can not find the file which is affecting all these events.
I use cPanel.
Google Search Console see this as social engineering.
My hosting plan doesn't allow me to connect to server via SSH. So I can not install any antivirus or malware scanner.
Is there anyone who has a idea what can I do for this situation?

Push all postfix/exim mails to a shared folder

I am trying to setup a local email relay that a bunch of developers can use to test their applications against to send emails. This mail server should not be able to send emails anywhere, but rather put all emails that it receives into a folder which is shared via samba.
Then the developers can browse to that share and open their email from the share and look at it using outlook.
Have been searching all day on how to accomplish this, but still no where.
it can use postfix, exim or whichever other MTA.
I don't know where to start. any ideas?
I found an solution using this post.
Installing Ubuntu 14.04.2 stock standard, adding apt-get install postfix and apt-get install postfix-pcre (this pcre was the missing part, wihtout it, the script won't work)
Modified the script accordingly to my environment, restarted/reloaded postfix, installed samba and created a shared folder.
tested and all emails are placed in the folder configured in the script.

Is it a good idea to use WAMP server as a web server?

I have bought a VDS (Virtual Dedicated Server) that Windows Server 2008 is installed on it. I needed to use server because I have developed a C# console application that can read data by TCP socket and write them in the MySQL database.
Now I need to start a website on this server. I think WAMP server is so easy for me.
Maybe in future a lot of people visit my website.
Is it a good idea to use WAMP server as a web server?
In principal there is nothing wrong with using WAMPServer as a LIVE webserver.
However, not the out of the box version.
Out of the box WAMPServer and XAMPP for that matter expect to be used as a single seat developer tool and while that is great for a click and go solution to get a developer up and running on Apache/MySQL and PHP in a few minutes it is not secure enough to be considered as a LIVE web facing webserver.
Now if you have the knowledge and experience to create an user account on Windows Server that has access to only what Apache needs to do its work, and can get Apache to run in that account instead of its default account (which has way to many privilages for a live server) and are prepared to explore all the Apache security features/modules that would be required for a web facing server then it is possible. However this is not a trivial task, and any mistakes or ommissions will leave your server open to the simplest of hacks.
In short, unless you really know what you are doing with Windows Server and Apache, you would be far better to pay for a professionally configured and managed web server environment.

Deploying Sinatra App on Dreamhost

I'd like to deploy an app on Dreamhost, but couldn't find any relevant (or recent) guide on how to do so. Most related questions on this topic here are fairly old (+1 year or more), and seem to be from the pre RVM era (remember those days?.. :P).
I have SSH access and all that - anyone here done this (sinatra/rack app) and can provide some guidance? thanks.
If this is on a VPS (I am assuming since you have SSH access) you might want to look into Phusion's Passenger which simplifies deployment of ruby applications that use Rack. http://www.modrails.com/
Passenger includes an automated install script that can install your front facing proxying server (Nginx) and spit out the config used for each of your web apps.
To begin with Passenger just install the gem (gem install passenger) and then run the command it installs for you (passenger-install-nginx-module).
For further info check out https://rvm.beginrescueend.com/integration/passenger/