Cara Install dan Konfigurasi Mail Server di CentOS 6.5

  1. buka di web browsur www.iredmail.org download.
  2. masuk ke server dan isikan ke server dengan awalan perintah wget https://bitbucket.org/zhb/iredmail/downloads/iRedMail-0.8.7.tar.bz2
  3. extrak file nya
    [[email protected] download]# tar jxvf iRedMail-0.8.7.tar.bz2
    iRedMail-0.8.7/
    iRedMail-0.8.7/ChangeLog
    iRedMail-0.8.7/conf/
    iRedMail-0.8.7/dialog/
    iRedMail-0.8.7/Documentations
    iRedMail-0.8.7/functions/
    iRedMail-0.8.7/iRedMail.sh
    iRedMail-0.8.7/patches/
    iRedMail-0.8.7/pkgs/
    iRedMail-0.8.7/README
    iRedMail-0.8.7/samples/
    iRedMail-0.8.7/tools/
    iRedMail-0.8.7/tools/backup_mysql.sh
    iRedMail-0.8.7/tools/backup_openldap.sh
    iRedMail-0.8.7/tools/backup_pgsql.sh
    iRedMail-0.8.7/tools/create_mail_user_OpenLDAP.py
    iRedMail-0.8.7/tools/create_mail_user_OpenLDAP.sh
    iRedMail-0.8.7/tools/create_mail_user_SQL.sh
    iRedMail-0.8.7/tools/generate_ssha_password.py
    iRedMail-0.8.7/tools/generate_ssl_keys.sh
    iRedMail-0.8.7/samples/amavisd/
    iRedMail-0.8.7/samples/cluebringer/
    iRedMail-0.8.7/samples/dovecot/
    iRedMail-0.8.7/samples/freshclam.init
    iRedMail-0.8.7/samples/iptables.init.debian
    iRedMail-0.8.7/samples/iptables.rules
    iRedMail-0.8.7/samples/iredmail.mysql
    iRedMail-0.8.7/samples/iredmail.pgsql
    iRedMail-0.8.7/samples/iredmail.schema
    iRedMail-0.8.7/samples/ldapd.conf
    iRedMail-0.8.7/samples/my.cnf
    iRedMail-0.8.7/samples/pf.conf
    iRedMail-0.8.7/samples/postfix/
    iRedMail-0.8.7/samples/roundcubemail/
    iRedMail-0.8.7/samples/sa.local.cf
    iRedMail-0.8.7/samples/roundcubemail/config.inc.php
    iRedMail-0.8.7/samples/postfix/helo_access.pcre
    iRedMail-0.8.7/samples/postfix/ldap/
    iRedMail-0.8.7/samples/postfix/mysql/
    iRedMail-0.8.7/samples/postfix/pgsql/
    iRedMail-0.8.7/samples/postfix/pgsql/catchall_maps.cf
    iRedMail-0.8.7/samples/postfix/pgsql/domain_alias_catchall_maps.cf
    iRedMail-0.8.7/samples/postfix/pgsql/domain_alias_maps.cf
    iRedMail-0.8.7/samples/postfix/pgsql/recipient_bcc_maps_domain.cf
    iRedMail-0.8.7/samples/postfix/pgsql/recipient_bcc_maps_user.cf
    iRedMail-0.8.7/samples/postfix/pgsql/relay_domains.cf
    iRedMail-0.8.7/samples/postfix/pgsql/sender_bcc_maps_domain.cf
    iRedMail-0.8.7/samples/postfix/pgsql/sender_bcc_maps_user.cf
    iRedMail-0.8.7/samples/postfix/pgsql/sender_login_maps.cf
    iRedMail-0.8.7/samples/postfix/pgsql/transport_maps_domain.cf
    iRedMail-0.8.7/samples/postfix/pgsql/transport_maps_user.cf
    iRedMail-0.8.7/samples/postfix/pgsql/virtual_alias_maps.cf
    iRedMail-0.8.7/samples/postfix/pgsql/virtual_mailbox_domains.cf
    iRedMail-0.8.7/samples/postfix/pgsql/virtual_mailbox_maps.cf
    iRedMail-0.8.7/samples/postfix/mysql/catchall_maps.cf
    iRedMail-0.8.7/samples/postfix/mysql/domain_alias_catchall_maps.cf
    iRedMail-0.8.7/samples/postfix/mysql/domain_alias_maps.cf
    iRedMail-0.8.7/samples/postfix/mysql/recipient_bcc_maps_domain.cf
    iRedMail-0.8.7/samples/postfix/mysql/recipient_bcc_maps_user.cf
    iRedMail-0.8.7/samples/postfix/mysql/relay_domains.cf
    iRedMail-0.8.7/samples/postfix/mysql/sender_bcc_maps_domain.cf
    iRedMail-0.8.7/samples/postfix/mysql/sender_bcc_maps_user.cf
    iRedMail-0.8.7/samples/postfix/mysql/sender_login_maps.cf
    iRedMail-0.8.7/samples/postfix/mysql/transport_maps_domain.cf
    iRedMail-0.8.7/samples/postfix/mysql/transport_maps_user.cf
    iRedMail-0.8.7/samples/postfix/mysql/virtual_alias_maps.cf
    iRedMail-0.8.7/samples/postfix/mysql/virtual_mailbox_domains.cf
    iRedMail-0.8.7/samples/postfix/mysql/virtual_mailbox_maps.cf
    iRedMail-0.8.7/samples/postfix/ldap/catchall_maps.cf
    iRedMail-0.8.7/samples/postfix/ldap/recipient_bcc_maps_domain.cf
    iRedMail-0.8.7/samples/postfix/ldap/recipient_bcc_maps_user.cf
    iRedMail-0.8.7/samples/postfix/ldap/relay_domains.cf
    iRedMail-0.8.7/samples/postfix/ldap/sender_bcc_maps_domain.cf
    iRedMail-0.8.7/samples/postfix/ldap/sender_bcc_maps_user.cf
    iRedMail-0.8.7/samples/postfix/ldap/sender_login_maps.cf
    iRedMail-0.8.7/samples/postfix/ldap/transport_maps_domain.cf
    iRedMail-0.8.7/samples/postfix/ldap/transport_maps_user.cf
    iRedMail-0.8.7/samples/postfix/ldap/virtual_alias_maps.cf
    iRedMail-0.8.7/samples/postfix/ldap/virtual_group_maps.cf
    iRedMail-0.8.7/samples/postfix/ldap/virtual_group_members_maps.cf
    iRedMail-0.8.7/samples/postfix/ldap/virtual_mailbox_domains.cf
    iRedMail-0.8.7/samples/postfix/ldap/virtual_mailbox_maps.cf
    iRedMail-0.8.7/samples/dovecot/dovecot-ldap.conf
    iRedMail-0.8.7/samples/dovecot/dovecot-pgsql-8.x.conf
    iRedMail-0.8.7/samples/dovecot/dovecot-share-folder.conf
    iRedMail-0.8.7/samples/dovecot/dovecot-sql.conf
    iRedMail-0.8.7/samples/dovecot/dovecot-used-quota.conf
    iRedMail-0.8.7/samples/dovecot/dovecot.sieve
    iRedMail-0.8.7/samples/dovecot/dovecot.sieve.roundcube
    iRedMail-0.8.7/samples/dovecot/dovecot2-quota-warning.sh
    iRedMail-0.8.7/samples/dovecot/dovecot2.conf
    iRedMail-0.8.7/samples/dovecot/dovecot22.conf
    iRedMail-0.8.7/samples/dovecot/imap_share_folder.sql
    iRedMail-0.8.7/samples/dovecot/used_quota.mysql
    iRedMail-0.8.7/samples/cluebringer/column_character_set.mysql
    iRedMail-0.8.7/samples/cluebringer/extra.sql
    iRedMail-0.8.7/samples/amavisd/amavisd-2.7.0.mysql
    iRedMail-0.8.7/samples/amavisd/amavisd-2.7.0.pgsql
    iRedMail-0.8.7/samples/amavisd/amavisd.mysql
    iRedMail-0.8.7/samples/amavisd/amavisd.pgsql
    iRedMail-0.8.7/pkgs/get_all.sh
    iRedMail-0.8.7/pkgs/MD5.misc
    iRedMail-0.8.7/pkgs/MD5.openbsd
    iRedMail-0.8.7/pkgs/SHASUM.freebsd.misc
    iRedMail-0.8.7/patches/phpldapadmin/
    iRedMail-0.8.7/patches/roundcubemail/
    iRedMail-0.8.7/patches/roundcubemail/password_driver_pgsql.patch
    iRedMail-0.8.7/patches/phpldapadmin/php55.patch
    iRedMail-0.8.7/functions/amavisd.sh
    iRedMail-0.8.7/functions/apache_php.sh
    iRedMail-0.8.7/functions/awstats.sh
    iRedMail-0.8.7/functions/backend.sh
    iRedMail-0.8.7/functions/clamav.sh
    iRedMail-0.8.7/functions/cleanup.sh
    iRedMail-0.8.7/functions/cluebringer.sh
    iRedMail-0.8.7/functions/dovecot.sh
    iRedMail-0.8.7/functions/fail2ban.sh
    iRedMail-0.8.7/functions/iredadmin.sh
    iRedMail-0.8.7/functions/iredapd.sh
    iRedMail-0.8.7/functions/ldap_server.sh
    iRedMail-0.8.7/functions/ldapd.sh
    iRedMail-0.8.7/functions/mysql.sh
    iRedMail-0.8.7/functions/openldap.sh
    iRedMail-0.8.7/functions/optional_components.sh
    iRedMail-0.8.7/functions/packages.sh
    iRedMail-0.8.7/functions/packages_freebsd.sh
    iRedMail-0.8.7/functions/phpldapadmin.sh
    iRedMail-0.8.7/functions/phpmyadmin.sh
    iRedMail-0.8.7/functions/phppgadmin.sh
    iRedMail-0.8.7/functions/policy_server.sh
    iRedMail-0.8.7/functions/postfix.sh
    iRedMail-0.8.7/functions/postgresql.sh
    iRedMail-0.8.7/functions/roundcubemail.sh
    iRedMail-0.8.7/functions/spamassassin.sh
    iRedMail-0.8.7/functions/system_accounts.sh
    iRedMail-0.8.7/dialog/config_via_dialog.sh
    iRedMail-0.8.7/dialog/ldap_config.sh
    iRedMail-0.8.7/dialog/mysql_config.sh
    iRedMail-0.8.7/dialog/optional_components.sh
    iRedMail-0.8.7/dialog/pgsql_config.sh
    iRedMail-0.8.7/dialog/virtual_domain_config.sh
    iRedMail-0.8.7/conf/amavisd
    iRedMail-0.8.7/conf/apache_php
    iRedMail-0.8.7/conf/awstats
    iRedMail-0.8.7/conf/clamav
    iRedMail-0.8.7/conf/cluebringer
    iRedMail-0.8.7/conf/core
    iRedMail-0.8.7/conf/dovecot
    iRedMail-0.8.7/conf/fail2ban
    iRedMail-0.8.7/conf/global
    iRedMail-0.8.7/conf/iredadmin
    iRedMail-0.8.7/conf/iredapd
    iRedMail-0.8.7/conf/ldapd
    iRedMail-0.8.7/conf/mysql
    iRedMail-0.8.7/conf/openldap
    iRedMail-0.8.7/conf/phpldapadmin
    iRedMail-0.8.7/conf/phpmyadmin
    iRedMail-0.8.7/conf/phppgadmin
    iRedMail-0.8.7/conf/policy_server
    iRedMail-0.8.7/conf/postfix
    iRedMail-0.8.7/conf/postgresql
    iRedMail-0.8.7/conf/roundcube
    iRedMail-0.8.7/conf/spamassassin
  4. ubah hosts
    [[email protected] download]# nano /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    132.x.x.x www.truegalih.tk server
    132.x.x.x mail.truegalih.tk mail
  5. Dan tambahkan seperti berikut
    127.0.0.1 mail.truegalih.tk mail truegalih.tk localhost.localdomain $
    175.103.56.149 www.truegalih.tk server
    175.103.56.149 mail.truegalih.tk mail
  6. Masuk ke iRedMail-0.8.7
    [[email protected] download]# ls
    iRedMail-0.8.7 zcs-8.5.0_GA_3042.RHEL6_64.20140828192005.tgz
    iRedMail-0.8.7.tar.bz2
    [[email protected] download]# cd iRedMail-0.8.7
    [[email protected] iRedMail-0.8.7]# ls
    ChangeLog dialog functions patches README tools
    conf Documentations iRedMail.sh pkgs samples
    [[email protected] iRedMail-0.8.7]# bash iRedMail.sh
  7. klik yes –
  8. isi /var/mail
  9. klik MySQl
  10. isi kan paswoord
  11. replay pasword
  12. klikc next
  13. klik y dan tunggu proses berjalan sampai selesai
  14. cd /etc
  15. cd policyd/
  16. nano cluebringer.conf
  17. edit file nya
  18. Klik Ctrl=w ketikan Greylisting. dan temukan enable=1 dan ganti menjadi enable=0

Leave a Reply

Your email address will not be published. Required fields are marked *