Difference between revisions of "Instalasi Postfix"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 17: | Line 17: | ||
mynetworks = ip-address-LAN/subnet, 192.168.0.0/24 | mynetworks = ip-address-LAN/subnet, 192.168.0.0/24 | ||
+ | Jika kita ingin agar postfix menumpangkan / merelay mail ke Internet ke Server SMTP milik ISP, maka tergantung ISP yang kita gunakan kita dapat menambahkan salah satu perintah di bawah ini, | ||
+ | |||
+ | relayhost = smtp.telkom.net | ||
+ | |||
+ | relayhost = smtp.indosat.net.id | ||
+ | |||
+ | relayhost = smtp.cbn.net.id | ||
+ | |||
+ | relayhost = mail.singnet.com.sg | ||
+ | |||
+ | relayhost = smtp.indo.net.id | ||
Restart Postfix MailServer | Restart Postfix MailServer | ||
# /etc/init.d/postfix restart | # /etc/init.d/postfix restart |
Revision as of 10:00, 20 February 2008
Install postfix
# apt-get install postfix
Dalam proses instalasi
- Pilih Postfix agar beroperasi sebagai - internet site.
- Isi hostname dengan Fully Qualified Domain Name (FQDN), misalnya, server.perusahaan.com
Jika ingin menjadi relay untuk mesin-mesin di LAN, kita perlu mengedit
# vi /etc/postfix/main.cf
Pastikan ada isi
inet_interfaces = all mynetworks = ip-address-LAN/subnet, 192.168.0.0/24
Jika kita ingin agar postfix menumpangkan / merelay mail ke Internet ke Server SMTP milik ISP, maka tergantung ISP yang kita gunakan kita dapat menambahkan salah satu perintah di bawah ini,
relayhost = smtp.telkom.net
relayhost = smtp.indosat.net.id
relayhost = smtp.cbn.net.id
relayhost = mail.singnet.com.sg
relayhost = smtp.indo.net.id
Restart Postfix MailServer
# /etc/init.d/postfix restart