mutt

Sorry nih, baru bisa share lagi, kemaren sok sibuk aja sih dan agak males buat post blog.

Jadi kalau ngikutin post yang sebelumnya, ada mutt buat baca dan kirim email. Cuma, gimana konfigurasinya? Nah, agak ribet sih sebenernya, soalnya harus copy paste string segambreng. Seriusan copy paste ribet? Iya sih.

setelah install mutt dengan perintah "sudo apt-get install mutt", lanjutkan dengan edit file .muttrc, gimana? Begini:

gedit .muttrc

Terus paste ini:

# A basic .muttrc for use with Gmail

# Change the following six lines to match your Gmail account details
set imap_user = "[email protected]"
set imap_pass = "password_gmail_ente"
set smtp_url = "smtp://[email protected]:587/"
set smtp_pass = "password_gmail_ente"
set from = "[email protected]"
set realname = "Nama Ente"

# Change the following line to a different editor you prefer.
set editor = "nano"

# Basic config, you can leave this as is
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set imap_check_subscribed
set hostname = gmail.com
set mail_check = 120
set timeout = 300
set imap_keepalive = 300
set postponed = "+[GMail]/Drafts"
set record = "+[GMail]/Sent Mail"
set header_cache=~/.mutt/cache/headers
set message_cachedir=~/.mutt/cache/bodies
set certificate_file=~/.mutt/certificates
set move = no
set include
set sort = 'threads'
set sort_aux = 'reverse-last-date-received'
set auto_tag = yes
ignore "Authentication-Results:"
ignore "DomainKey-Signature:"
ignore "DKIM-Signature:"
hdr_order Date From To Cc
alternative_order text/plain text/html *
auto_view text/html
bind editor  complete-query
bind editor ^T complete
bind editor  noop 

# Gmail-style keyboard shortcuts
macro index,pager y "unset trashn " "Gmail archive message"
macro index,pager d "set trash="imaps://imap.googlemail.com/[GMail]/Bin"n " "Gmail delete message"
macro index,pager gi "=INBOX" "Go to inbox"
macro index,pager ga "=[Gmail]/All Mail" "Go to all mail"
macro index,pager gs "=[Gmail]/Starred" "Go to starred messages"
macro index,pager gd "=[Gmail]/Drafts" "Go to drafts"

Ganti detail yang ada disini sesuai dengan username dan password email:

# Change the following six lines to match your Gmail account details
set imap_user = "[email protected]"
set imap_pass = "password_gmail_ente"
set smtp_url = "smtp://[email protected]:587/"
set smtp_pass = "password_gmail_ente"
set from = "[email protected]"
set realname = "Nama Ente"

Terus kalau merasa ribet dengan nano yang text mode itu, ganti aja "nano" ke "gedit" atau text editor yang lain. Yang ini nih:

# Change the following line to a different editor you prefer.
set editor = "nano"

Kirim Email

Caranya buka mutt di terminal pake perintah

mutt

Tunggu sampai selesai login, terus pencet tombol m terus isi To: dengan email tujuan, terus Subject dengan judulnya, nanti keluar nano atau gedit, tulis isi emailnya, close terus save. Setelah semua langkah diatas selesai, pencet tombol y di keyboard. Beres. Ribet memang, tapi asyik.