Re: debian mutt questions
On (05/08/03 07:52), Cheryl Homiak wrote:
> Date: Tue, 5 Aug 2003 07:52:14 -0500 (CDT)
> From: Cheryl Homiak <chomiak@tds.net>
> To: debian-user@lists.debian.org
> Subject: debian mutt questions
>
> can anybody tell me whether the debian mutt package is configured to enable
> fetching from one's pop server. I get errors when I try to use the pop_host or
> pop_user variables in my .muttrc.
> Also, I am a bit confused about sending mail in mutt in debian. All the examples
> I see have sendmail in the .muttrc; some have /usr/lib/sendmail and some have
> /usr/sbin/sendmail; both paths are on my system, but should I be using sendmail
> directly or should I be including exim somewhere in my .muttrc entries?
This is not exactly what you asked but may help. I use getmail (which
is pretty easy to set up), mutt and exim. I lifted an example .muttrc
and adapted that for my own use. It is attached.
HTH
Clive
##############################################
# Clive's Muttrc (ex Christopher Sharp) #
# for use with the Maildir format #
##############################################
set duplicate_threads=yes # highlights duplicates?
set hostname=apollo
set use_domain
set realname="Clive Menzies"
set folder=~/Mail
set spoolfile=/var/mail/clive
set mbox_type="Maildir"
# sent mail should not be defined as a mailbox
# mailboxes /home/clive/Mail/sent-mail
set copy=yes
set record=+sent-mail
set envelope_from
set abort_nosubject=ask-no
set askcc
set sig_dashes
set signature="~/.mutt/signature"
bind index '#' tag-entry
unset ignore_list_reply_to
set include=ask-yes
set indent_string="> "
set abort_unmodified=no
set attribution="On %d, %n wrote:"
set forward_format="Fwd: %s"
set forward_quote
set edit_headers
set editor="vim"
set fast_reply
set followup_to
unset force_name
set postpone=ask-yes
set postponed="~/Mail/postponed"
set recall=ask-yes
unset metoo
unset reply_self
set reply_to=ask-yes
set sendmail_wait=0
set hdrs
set header
ignore *
unignore from: date subject to cc reply-to: X-Spamblock:
hdr_order To Cc From Date Subject X-Spamblock:
unset read_only
set index_format="%3C %Z %d %-20.20F %s"
set help
# unset arrow_cursor
# unset ascii_chars
# set to_chars="ZTGCF"
set visual="vim"
unset mark_old
set beep_new
set check_new
set folder_format="%N %F %2l %-8.8u %-8.8g %8s %d %f"
set sort_browser=alpha
set date_format="(%d/%m/%y %H:%M)"
set status_on_top
set status_format="%r %P of %f %?l?%l? (%?n?%n\/?%m)%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p? %>-(%s/%S) %?b?- %b folders?"
set sort=threads
set sort_aux=date-sent
set strict_threads
set reply_regexp="^((re):[ \t]*)*"
unset collapse_unread
set uncollapse_jump
set confirmappend
set move=no
## set confirmcreate
set delete=yes
unset save_address
unset save_name
unset save_empty
set pager=builtin
set pager_format="-%S- %C/%m: %-20.20n %s"
set pager_context=1
set pager_index_lines=10
unset pager_stop
set markers
set smart_wrap
set tilde
set quote_regexp="^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
set smileys="(>From)|(:[-^]?[][)(><}{|/DP])"
set allow_8bit
set attach_split
set forward_decode
set forward_decrypt
set mime_forward=ask-no
set mime_forward_decode
set alias_file="~/.mutt/aliases"
source ~/.mutt/aliases
set reverse_alias
set sort_alias=alias
set alias_format="%2n %t %-10a %r"
set alternates="clive_menzies|cmenzies"
unset hidden_host
set history=50
set print_command="/usr/bin/muttprint"
# set print_command="lp"
set print="yes"
macro index p <display-toggle-weed><print-message><display-toggle-weed><exit>
macro pager p <display-toggle-weed><print-message><display-toggle-weed>
set quit=yes
set tmpdir="/tmp"
set mask="^(\.\.$|[^.])"
unset pipe_decode
unset pipe_split
unset suspend
set thorough_search
set timeout=60
set query_command="lbdbq '%s'"
# Here get the colors defined
color attachment white magenta # ..
color body cyan default "ftp://[^ ]*"
color body brightgreen default "[[:alnum:]][-+.#_[:alnum:]]*@[-+.[:alnum:]]*[[:alnum:]]"
color body cyan default "<URL:[^ ]*>"
color bold green default # ..
color error red default # global
color header yellow default "^cc: "
color header green default "^date: "
color header yellow default "^from "
color header brightcyan default "^from: "
color header yellow default "^newsgroups: "
color header yellow default "^reply-to: "
color header brightcyan default "^subject: "
color header green default "^to: "
color header yellow default "^x-mailer: "
color header yellow default "^message-id:"
color header yellow default "^Organization:"
color header yellow default "^Organisation:"
color header yellow default "^User-Agent:"
color header yellow default "^message-id: .*pine"
color indicator black green # index
color markers red default # index
color message white blue # index
color normal white default # pager body
color quoted cyan default
color quoted1 yellow default
color quoted2 red default
color quoted3 green default
color quoted4 cyan default
color quoted5 yellow default
color quoted6 red default
color quoted7 green default
color signature brightred default # pager body
color status white blue # status bar default: black white
color tilde blue default # pager body
color tree brightmagenta default # index
color underline yellow default
color body yellow default "[;:]-[)/(|]"
color body yellow default "[;:][)/(|]"
color body brightblue default "(http|ftp|news|telnet|finger)://[^ ]*"
color index yellow default ~N # New
color index yellow default ~O # Old
color index magenta default ~F # Flagged
color index blue default ~T # Tagged
color index red default ~D # Deleted
# The settings for the use of GnuPg with Mutt
set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f"
set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f"
set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"
set pgp_encrypt_only_command="pgpewrap gpg -v --batch --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f"
set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 -v --batch --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
set pgp_import_command="gpg --no-verbose --import -v %f"
set pgp_export_command="gpg --no-verbose --export --armor %r"
set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r"
set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r"
set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r"
set pgp_getkeys_command=""
# Clear all existing headers
unmy_hdr From:
unmy_hdr Bcc:
unmy_hdr Reply-to:
# Write headers
my_hdr From: Clive Menzies <clive@clivemenzies.co.uk>
# The Keybindings
bind pager / search
bind pager L list-reply
bind pager b bounce-message
bind pager f forward-message
bind pager m mail
bind pager a reply # 'a' is for "answer"
bind pager g group-reply
bind pager j next-line
bind pager k previous-line
bind pager : enter-command
bind index x sync-mailbox
bind pager p previous-undeleted
bind pager n next-undeleted
bind pager \n next-unread
bind compose \n send-message
bind compose s send-message
bind pager <up> previous-line
bind pager <down> next-line
bind pager <left> exit
bind pager <right> view-attachments
bind attach <left> exit
bind attach <right> view-attach
bind index <right> display-message
macro index <left> "c?"
bind browser <right> select-entry
bind browser <left> exit
macro pager G "!getmail\r"
macro browser G "!getmail\r"
macro index G "!getmail\r"
# The Maillinglists i'm subscribed to
subscribe debian-user
subscribe debian-openoffice
subscribe debian-powerpc
subscribe linuxppc-nubus
# subscribe hackers
# subscribe cvs-
# subscribe current
# subscribe audit
# subscribe mutt
# The mailboxes I have
# mailboxes +drafts +inbox +outbox +sent-mail +trash +mutt-users +spam
Reply to: