Tag Archives: mutt

Dovecot 2 + PostgreSQL


protocols = imap pop3
auth_mechanisms = PLAIN
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_location = maildir:/home/vmail/%d/%n/Maildir
shutdown_clients = yes

ssl = yes
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem

disable_plaintext_auth = yes
auth_default_realm =  # there is maybe domain name.

login_greeting = Welcome to best email server. Continue reading Dovecot 2 + PostgreSQL

mutt: imaps

Some usefull strings from .muttrc
set arrow_cursor                # use -> instead of hiliting the whole line
set attribution="On %d, %n wrote:"      # how to attribute replies
set autoedit                    # go to the editor right away when composing
set charset="utf-8"     # character set for your terminal
set copy=yes                    # always save a copy of outgoing messages
set delete=yes                  # purge deleted messages without asking
set edit_headers                # let me edit the message header when composing
set editor="vim"                # editor to use when composing messages
set index_format="%4C %Z %{%m/%d} %-15.15F (%4c) %s" # format of the index
set help                        # show the help lines
set hostname="mail.ru"     # my DNS domain
set include                     # always include messages when replying
set indent_string="> «          # how to quote replied text
set locale=`echo «${LC_ALL:-${LC_TIME:-${LANG}}}»`      # locale to use for printing time
set mail_check=5                # how often to poll for new mail
set mbox=+inbox                 # where to store read messages
set mbox_type=»Maildir" #
set send_charset="utf-8"#
set move=no                     # don't ask about moving messages, just do it
set pager_index_lines=6         # how many index lines to show in the pager
set postponed=+postponed        # mailbox to store postponed messages in
set print_command=/bin/false    # how to print things (I like to save trees)
set noprompt_after      # ask me for a command after the external pager exits
set read_inc=25                 # show progress when reading a mailbox
set record=+sent                # default location to save outgoing mail
set reply_to                    # always use reply-to if present
set reverse_name                # use my address as it appears in the message
set nosave_empty                # remove files when no messages are left
set shell="/bin/zsh"            # program to use for shell escapes
set signature="~/.signature"    # file which contains my signature
set sort=threads                # primary sorting method
set sort_aux=last-date          # date of the last message in thread
set sort_browser=reverse-date   # how to sort files in the dir browser
set spoolfile='/home/user/mail/mutt'   # where my new mail is located
set imap_user="user@mail.ru"
set imap_pass="strong_password"

set smtp_url="smtp://login@smtp.mail.ru:465"
set smtp_pass="strong_password"

set from="user@mail.ru"
set realname="Vasya Pupkin"

set folder="imaps://imap.mail.ru:993"
set spoolfile="+INBOX"
set postponed="+[MAIL.RU]/Drafts"

set header_cache=~/.mutt/cache/headers
set message_cachedir=~/.mutt/cache/bodies

set certificate_file=~/.mutt/certificated