Advertisement
felixcrazzy

mail server roundcube

Aug 6th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. apt-get install net-tools ssh proftpd unzip
  2. echo "deb http://ftp.de.debian.org/debian stretch main" >> /etc/apt/sources.list
  3. apt-get update
  4.  
  5. apt-get install postgresql php7.0-pgsql php7.0-gd php7.0-fpm php7.0-xml php7.0-cli nginx
  6.  
  7. apt-get install postfix courier-imap courier-pop
  8.  
  9. nano /etc/postfix/main.cf >> home_mailbox = Maildir/
  10.  
  11. maildirmake /etc/skel/Maildir
  12.  
  13. service postfix restart
  14.  
  15. cd /var/www/html
  16.  
  17. tar -xzvf rouncube.......
  18.  
  19.  
  20.  
  21. //buat database
  22. su postgres
  23. createuser -P felix
  24. createdb -O felix -E UNICODE roundcube
  25.  
  26. psql -U felix -f /varwar/www/html/roundcubemail/SQL/postgres.initial.sql –W –h localhost roundcub
  27.  
  28.  
  29. //buka domain/installer
  30. ikuti langkah2nya
  31. download config. masukanan ke rouncube/config sebelumnya chmod 777 dulu config
  32.  
  33. chown -R www-data:www-data config/
  34. chown -R www-data:www-data temp/
  35. chown -R www-data:www-data logs/
  36.  
  37. nano config.inc.php
  38. $config['default_host']='ip';
  39. $config['identities_level']=4;
  40. $config['mail_domain']='domain';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement