Difference between revisions of "Instalasi Postfix"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 14: | Line 14: | ||
Pastikan ada isi | Pastikan ada isi | ||
+ | mydestination = '''domainkita.com''', '''domain.com''', '''contoh.com''' | ||
inet_interfaces = all | inet_interfaces = all | ||
mynetworks = ip-address-LAN/subnet, 192.168.0.0/24 | mynetworks = ip-address-LAN/subnet, 192.168.0.0/24 |
Revision as of 11:19, 5 November 2010
Install postfix di Ubuntu dapat dilakukan menggunakan perintah
# 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
mydestination = domainkita.com, domain.com, contoh.com 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, misalnya,
relayhost = smtp.telkom.net relayhost = smtp.indosat.net.id relayhost = smtp.cbn.net.id relayhost = smtp.indo.net.id relayhost = mail.fast.net.id
Restart Postfix MailServer
# /etc/init.d/postfix restart