SchoolOnffLine: Instalasi Postfix SMTP Server

From OnnoWiki
Revision as of 08:39, 11 May 2010 by Onnowpurbo (talk | contribs) (→‎Pranala Menarik)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Instalasi Postfix

# apt-get install postfix

Pilih

Internet with Smarthost
OK

Sistem mail name, isi

sekolah.sch.id

SMTP relay host

smtp.telkom.net

Relayhost smtp.telkom.net adalah relayhost bagi mereka yang menggunakan TelkomSpeedy. Relayhost sangat tergantung pada ISP yang kita gunakan. Beberapa ISP tidak memberikan relayhost bagi pelanggannya.


Edit Konfigurasi Postfix

Edit konfigurasi /etc/postfix/main.cf

# vi /etc/postfix/main.cf

Pastikan

myhostname = sekolah.sch.id
mydestination = sekolah.sch.id, sekolah, localhost.localdomain, localhost
relayhost = smtp.telkom.net
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.0.0/16
inet_interfaces = all 


Restart Postfix

# /etc/init.d/postfix restart



Test SMTP Server sebagai Relay

Lakukan dari mesin lain

$ telnet 192.168.0.254 25

Ketik

helo test
mail from: <admin1@sekolah.sch.id>
rcpt to: <mailanda@mailserver>
data
From: <admin1@sekolah.sch.id>
To: <mailanda@mailserver>
Subject: test schoolonffline
percobaan
.
quit

Pranala Menarik