Difference between revisions of "EMail: Mempersiapkan Server eMail IPv6"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
==Server A dan B== | ==Server A dan B== | ||
− | + | Siapkan SMTP, POP3 dan IMAP server. | |
sudo su | sudo su | ||
− | |||
apt update | apt update | ||
apt -y install postfix dovecot-core dovecot-imapd dovecot-pop3d | apt -y install postfix dovecot-core dovecot-imapd dovecot-pop3d | ||
Line 16: | Line 15: | ||
Pilih | Pilih | ||
* Internet Site | * Internet Site | ||
− | * Hostname - coba1.id | + | * Hostname - coba1.id - [Server A] |
+ | * Hostname - coba2.id - [Server B] | ||
+ | |||
+ | |||
+ | Edit (supaya tidak rewel, agak di longarkan security) | ||
+ | |||
+ | vi /etc/postfix/main.cf | ||
+ | |||
+ | my_hostname = coba*.id | ||
+ | my_destination = coba*.id | ||
+ | my_networks = [::]/0 | ||
+ | smtp_bind_address6 = 2345::* | ||
+ | inet_protocols = all (atau ipv6) | ||
+ | |||
+ | Dimana *=1 (server A), *=2 (server B) | ||
Line 22: | Line 35: | ||
vi /etc/resolv.conf | vi /etc/resolv.conf | ||
+ | vi /var/spool/postfix/etc/resolv.conf | ||
nameserver 2345::1 | nameserver 2345::1 | ||
+ | Restart | ||
+ | |||
+ | /etc/init.d/postfix restart | ||
+ | /etc/init.d/dovecot restart | ||
+ | |||
+ | |||
+ | |||
+ | ===Server A=== | ||
+ | |||
+ | sudo su | ||
+ | ip addr add 2345::1/64 dev enp0s3 | ||
Konfigurasi DNS Server untuk percobaan pengiriman eMail di terangkan di [[EMail: Mempersiapkan DNS dan MX record IPv6]] | Konfigurasi DNS Server untuk percobaan pengiriman eMail di terangkan di [[EMail: Mempersiapkan DNS dan MX record IPv6]] | ||
Line 35: | Line 60: | ||
sudo su | sudo su | ||
ip addr add 2345::2/64 dev enp0s3 | ip addr add 2345::2/64 dev enp0s3 | ||
− | |||
− | |||
− | + | ==Client A dan B== | |
− | + | ||
− | + | Pada Client A dan B, instalasi | |
+ | sudo su | ||
+ | apt -y install fetchmail postfix alpine thunderbird | ||
− | Edit | + | Edit /etc/resolv.conf |
vi /etc/resolv.conf | vi /etc/resolv.conf | ||
Line 49: | Line 74: | ||
nameserver 2345::1 | nameserver 2345::1 | ||
− | |||
− | + | Setup alpine | |
− | + | alpine | |
+ | S > C > | ||
+ | User Domain = coba1.id (untuk Client B coba2.id) | ||
+ | SMTP Server = coba1.id/novalidate-cert (untuk Client B coba2.id) | ||
− | |||
− | + | Setup fetchmail (untuk Client B coba2.id) | |
+ | cd ~ | ||
+ | vi .fetchmailrc | ||
+ | poll coba1.id protocol pop3 username "onno" password "123456" | ||
− | + | ===Client A=== | |
sudo su | sudo su | ||
− | + | ip addr add 2345::1000/64 dev enp0s3 | |
− | + | ===Client B=== | |
− | + | sudo su | |
− | + | ip addr add 2345::2000/64 dev enp0s3 | |
− | |||
==Pranala Menarik== | ==Pranala Menarik== | ||
* [[IPv6]] | * [[IPv6]] |
Latest revision as of 08:07, 21 February 2019
Topology Jaringan
Client A --- Server A ------- Server B ---- Client B 2345::1000 2345::1 2345::2 2345::2000
Server A dan B
Siapkan SMTP, POP3 dan IMAP server.
sudo su apt update apt -y install postfix dovecot-core dovecot-imapd dovecot-pop3d
Pilih
- Internet Site
- Hostname - coba1.id - [Server A]
- Hostname - coba2.id - [Server B]
Edit (supaya tidak rewel, agak di longarkan security)
vi /etc/postfix/main.cf
my_hostname = coba*.id my_destination = coba*.id my_networks = [::]/0 smtp_bind_address6 = 2345::* inet_protocols = all (atau ipv6)
Dimana *=1 (server A), *=2 (server B)
Edit
vi /etc/resolv.conf vi /var/spool/postfix/etc/resolv.conf
nameserver 2345::1
Restart
/etc/init.d/postfix restart /etc/init.d/dovecot restart
Server A
sudo su ip addr add 2345::1/64 dev enp0s3
Konfigurasi DNS Server untuk percobaan pengiriman eMail di terangkan di EMail: Mempersiapkan DNS dan MX record IPv6
Server B
Pada dasarnya tidak berbeda jauh dengan Server A, kecuali tidak ada DNS Server.
sudo su ip addr add 2345::2/64 dev enp0s3
Client A dan B
Pada Client A dan B, instalasi
sudo su apt -y install fetchmail postfix alpine thunderbird
Edit /etc/resolv.conf
vi /etc/resolv.conf
nameserver 2345::1
Setup alpine
alpine S > C > User Domain = coba1.id (untuk Client B coba2.id) SMTP Server = coba1.id/novalidate-cert (untuk Client B coba2.id)
Setup fetchmail (untuk Client B coba2.id)
cd ~ vi .fetchmailrc poll coba1.id protocol pop3 username "onno" password "123456"
Client A
sudo su ip addr add 2345::1000/64 dev enp0s3
Client B
sudo su ip addr add 2345::2000/64 dev enp0s3