Difference between revisions of "SchoolOnffLine: Instalasi Postfix SMTP Server"

From OnnoWiki
Jump to navigation Jump to search
Line 67: Line 67:
 
* [[SchoolOnffLine: Server Berbasis Sabily 9.04]]
 
* [[SchoolOnffLine: Server Berbasis Sabily 9.04]]
 
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04]]
 
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04]]
 +
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04 Alternate]]
 
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04 Server]]
 
* [[SchoolOnffLine: Server Berbasis Ubuntu 9.04 Server]]
 
* [[SchoolOnffLine: Server Wikipedia for School]]
 
* [[SchoolOnffLine: Server Wikipedia for School]]
 
* [[Remastering Ubuntu]]
 
* [[Remastering Ubuntu]]

Revision as of 03:59, 5 September 2009

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