Advertisement
ZaraByte

How to Setup a Complete Mail Server

May 7th, 2019
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. How to Setup a Complete Mail Server
  2.  
  3. sudo apt-get update
  4. sudo apt-get install apache2
  5. sudo apt-get install mysql-server php5-mysql
  6.  
  7. sudo apt-get install postfix
  8. sudo service postfix restart
  9. sudo apt-get install dovecot-imapd dovecot-pop3d
  10.  
  11. sudo service dovecot restart
  12. sudo apt-get install squirrelmail
  13. sudo squirrelmail-configure
  14. sudo cp /etc/squirrelmail/apache.conf /etc/apache2/sites-available/squirrelmail.conf
  15. sudo a2ensite squirrelmail.conf
  16. sudo useradd emailname
  17. sudo passwd emailname
  18.  
  19. sudo mkdir -p /var/www/html/emailname
  20. usermod -m -d /var/www/html/emailname emailname
  21. sudo chown -R billing:billing /var/www/html/emailname
  22. adduser emailname mail
  23.  
  24. Putty: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
  25. WinSCP: https://winscp.net/eng/index.php
  26. Ovh: Ovh.com
  27. SSL cert: Ssls.com
  28.  
  29. Credit:
  30. Matthew Knight
  31. IG: matthewhknight
  32. Twitter: matthewhknight
  33. YouTube: YouTube.com/matthewhknight
  34. PayPal: https://paypal.me/matthewknight
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement