1

私はかなり長い間 mutt を使用してきましたが、offlineimap で使用するために再構成しました。問題は、メールに返信すると、ヘッダー フィールド「To、From、CC Subject ...」が空のままになり、返信を送信できないことです。フィールドを手作業で貼り付けなければならず、面倒です (何のためにコンピュータを持っているのでしょうか?)。

この問題をデバッグする方法がわかりません。

ありがとう

私の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 の終わり

4

2 に答える 2

0

mutt が From: ヘッダーを自動的に埋められるようにするには、以下を追加します。

set use_from = yes

.muttrc に追加し、To: および Subject: ヘッダーを自動的に埋められるようにするには、次のように記述します。

set fast_reply = yes

あなたの.muttrcで。これらの 2 つのオプションは非常に一般的です。それらがない場合は、オンラインで入手できる .muttrc 構成のいくつかを調べて、他の古典的なオプション (noconfirmappend、reverse_alias、sort=threads など) を見つけることを検討してください。マット体験。

「グループ返信」コマンドの代わりに「返信」コマンドを使用すると、CC: ヘッダーは入力されません (デフォルトのキーボード ショートカットは g)。

于 2013-07-08T06:05:12.700 に答える