Ubuntu mail

sudo apt-get update
sudo apt-get install postfix

sudo nano /etc/postfix/main.cf

remove the alias_maps parameter and replace it with virtual_alias_maps!!

virtual_alias_maps = hash:/etc/postfix/virtual

sudo nano /etc/postfix/virtual

@example.com yourusername

sudo service postfix restart

sudo apt-get install mailutils

How To Install and Setup Postfix on Ubuntu 14.04 : https://www.digitalocean.com/community/tutorials/how-to-install-and-setup-postfix-on-ubuntu-14-04

How To Install and Configure Postfix on Ubuntu 16.04 : https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-on-ubuntu-16-04

Setup mail server on ubuntu 14.04 ( Postfix – dovecot ) : http://www.krizna.com/ubuntu/setup-mail-server-ubuntu-14-04/

PostfixBasicSetupHowto : https://help.ubuntu.com/community/PostfixBasicSetupHowto

GNU Mailutils : http://mailutils.org/manual/html_node/Reading-Mail.html

firewall!!! sudo ufw allow Postfix


Mail forward:

virtual_alias_maps = hash:/etc/postfix/virtual

To catch and forward emails to any address for a given domain, use the following notation

@mydomain.com myself@gmail.com mystaff@gmail.com

Configure a Postfix Relay through Gmail on Ubuntu : https://devops.profitbricks.com/tutorials/configure-a-postfix-relay-through-gmail-on-ubuntu/

Configure Postfix to use Gmail as a Mail Relay 2016: https://www.howtoforge.com/tutorial/configure-postfix-to-use-gmail-as-a-mail-relay/

Ubuntu server add subdomain for new Laravel project in 3 steps

subdomain, virtuális domain

1: sudo nano /etc/hosts subdomain.mydomain.hu ( your IP, your sub domain )

2: Add /etc/apache2/apache2.conf this line

<VirtualHost *:80>
ServerName subdomain.mydomain.hu
DocumentRoot /var/www/your laravel project folder/public
<Directory /var/www/your laravel project folder/public>
Options +FollowSymLinks
AllowOverride All


3: sudo service apache2 restart

How To Set Up Apache Virtual Hosts on Ubuntu 14.04 LTS : https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts

setting up subdomain on ubuntu server : http://askubuntu.com/questions/463618/setting-up-subdomain-on-ubuntu-server

How to Use subdomain in Routes in laravel : https://www.dunebook.com/use-subdomain-in-routes-in-laravel-5-1/


The Evolution of PHP – Infographic


PHP was created by Rasmus Lerdorf in 1994 and was publicly released in June 1995. Back then, it was the abbreviated form of Personal Home Page tools. After two years, in 1997, it entered public domain as PHP/F1 2.0. A year later, two programmers, Zeev Suraski and Andi Gutmans, rewrote the base of the original version and launched PHP 3.

PHP 4, which came out in 2000, incorporated a scripting engine named Zend Engine that was designed by Suraski and Gutmans. Three more major versions with some sub-versions were launched in the later years with the latest version 7.0 released in 2015.

Two decades after its inception, PHP has registered a phenomenal growth and is still going strong. Today, it controls over 80% of all the websites on the globe. This includes majors like Facebook, Wikipedia and WordPress among others.

The Evolution of PHP – Infographic

PhpMyAdmin not working after PHP 7 update in Ubuntu

How To Install and Secure phpMyAdmin on Ubuntu 14.04 : https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-14-04

The mbstring extension is missing. – Solution:

sudo apt-get install libapache2-mod-php7.0
sudo apt-get install php7.0-mbstring

and then sudo service apache2 restart.