Difference between revisions of "EMail: Mempersiapkan Server eMail IPv6"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 28: | Line 28: | ||
vi /etc/resolv.conf | vi /etc/resolv.conf | ||
+ | vi /var/spool/postfix/etc/resolv.conf | ||
nameserver 2345::1 | nameserver 2345::1 |
Revision as of 07:36, 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 (untuk memastikan saja)
vi /etc/postfix/main.cf
inet_protocols = all (atau ipv6)
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 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