2013-07-07 3 views
1

Я использую mutt в течение некоторого времени, но я переконфигурировал его для использования с offlineimap. Проблема в том, что когда я отвечаю на письмо, поля заголовка «To, From, CC Subject ...» остаются пустыми, и невозможно отправить ответ. Мне нужно вставить поля вручную, что раздражает (для чего у нас есть компьютеры?).Функция ответа mutt возвращает пустые поля заголовка

Любые подсказки, поскольку я не знаю, как отладить эту проблему.

Благодаря

мой Muttrc

=================================== ===================

# Boring details 
set realname = "Ivo Keel" 

set from = "<myid>@gmail.com" 
set use_from = yes 
    # fills headers on reply 
set fast_reply = yes 
set envelope_from ="yes" 

    # Check for new mail in the folders 
set mail_check=60 # mutt checks for new mails on every keystroke 
         # but not more often then once in 5 seconds 
set beep_new = yes 


    # Use a signature 
set signature="~/.signature" 

    # mailcap 
set mailcap_path="~/.config/mutt/mailcap" 

    # Use msmtp rather than sendmail. Check that 
    # the path is correct for your system: 
set sendmail="/usr/bin/msmtp" 

    # If not set in ~/.bashrc: 
set spoolfile = "~/.maildir/" 
set print_command="/usr/bin/muttprint %s" 
set print_split set print="yes" 
set sleep_time = 0 
set reply_to = yes 
    #======================================================# 
    # Folders 

    set mbox_type=Maildir 
    #set mbox="~/.maildir/" 
set folder="~/.maildir/" # Local mailboxes stored here 
mailboxes =c32t/inbox =hibury/inbox =inbox 
set record="+/hibury/sent/" # Where to store sent messages 
set postponed="+/hibury/drafts/" # Where to store draft messages 
    #set move=no # Don't move mail from spool 
set mask="!^\\.[^.]" 



    #======================================================# 
    # What to show and order of headers 
ignore * 
unignore Date: From: User-Agent: \ 
      Cc: Reply-To: Subject: Mail-Followup-To: 
hdr_order Date From Subject To CC 

set sort=threads 
set sort_browser=reverse-date 
set sort_aux=reverse-last-date-received 
    #======================================================# 
    # which editor do you want to use? 
    # vim of course! 
set editor="vim" 
set edit_headers=yes # See the headers when editing 

    #======================================================# 
    # Aliases 

set alias_file = ~/.config/mutt/alias # In their own file 
source ~/.config/mutt/alias # Source them 
set sort_alias=alias # Sort alphabetically 


    # Odds and ends 

set markers # mark wrapped lines of text in the pager with a + 
set smart_wrap # Don't wrap mid-word 
set pager_context=5 # Retain 5 lines of previous page when scrolling. 
set status_on_top # Status bar on top. 
push <show-version> # Shows mutt version at startup 

set duplicate_threads = yes 

    #email addresses with esc-1 and esc-2. Sets the status bar at the 
    # top too so you know which from address you're using 
set mailcap_path = ~/.config/mutt/mailcap auto_view text/html 



set query_command="abook --mutt-query '%s'" 


    # Pager View Options --------------------------------- 
set pager_index_lines = 10 # number of index lines to show 
set pager_context = 3 # number of context lines to show 
set pager_stop # don't go to next message automatically 
set menu_scroll # scroll in menus 
set tilde # show tildes like in vim 
unset markers # no ugly plus signs 

set quote_regexp = "^({0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+" 
alternative_order text/plain text/enriched text/html 
bind pager R group-reply 
    # View attachments properly. 
bind attach <return> view-mailcap 

    #Skip some options 
set include=yes 
set forward_quote=yes 
set copy=yes 
set delete=yes 
set confirmappend=no 

    #-------------------------------------------------------------------------- 
    # Other configuration files 
    #-------------------------------------------------------------------------- 
    #source ~/.config/mutt/account_hooks 
    #source ~/.config/mutt/folder_hooks 
source ~/.config/mutt/colors 
source ~/.config/mutt/sidebar 
    #source ~/.config/mutt/gpg 
source ~/.config/mutt/macros 
source ~/.config/mutt/lists 
source ~/.config/mutt/alias 

КОНЕЦ Muttrc

ответ

0

Разрешение собачонку для автоматического заполнения от: заголовка делается путем добавления:

set use_from = yes 

к вашему .muttrc и позволяет ему автоматически заполнить To: и Subject: заголовок может быть сделано путем ввода:

set fast_reply = yes 

в вашем .muttrc. Эти два варианта очень распространены, если у вас их нет, вы должны рассмотреть возможность просмотра некоторых конфигураций .muttrc, доступных в Интернете, чтобы найти другие классические варианты (noconfirmappend, reverse_alias, sort = threads и т. Д.), Что значительно улучшит ваши мут.

Заголовок CC: не будет заполняться, если вы используете команду «ответ» вместо «групповой ответ» (по умолчанию используется комбинация клавиш g).

+0

К сожалению, это не помогло. Я включил файл muttrc. – slooow

0

У меня была эта проблема, но это оказалось проблемой для моего рабочего процесса (багги-системы, расположенной между клавиатурой и стулом). Возможно, это была и ваша проблема?

Когда я отвечаю на сообщения в Mutt, Mutt капли меня в редактор сессии текста с предварительно заселенных заголовков ответа, например:

1: From: Steve HHH <[email protected]> 
2: To: Jonny Appleseed <[email protected]> 
3: Cc: 
4: Bcc: 
5: Subject: Re: Good morning 
6: Reply-To: 
7: In-Reply-To: <[email protected]> 
8: 
9: On Mon, Sep 29, 2014 at 11:52:04AM -0700, Jonny Appleseed wrote: 
10: > LOL 

Моя ошибка в том, чтобы начать вводить ответ на первой линии. Mutt нуждается в этих заголовках в строках 1-7 (и в новой строке в строке 8?), Чтобы остаться неповрежденным. Если я введу свой ответ в строке девять, поля ответа будут правильно заполнены, когда я выйду из редактора и выйду в меню Compose.

Смежные вопросы