grml-mutt: provide example settings for smtp_{url,pass}.
authorMichael Prokop <mika@grml.org>
Wed, 9 Jun 2010 10:40:52 +0000 (12:40 +0200)
committerMichael Prokop <mika@grml.org>
Wed, 9 Jun 2010 10:40:52 +0000 (12:40 +0200)
Thanks to Michel Isard for suggestion.

usr_bin/grml-mutt

index 3bcbafb..643e2d0 100755 (executable)
@@ -54,7 +54,7 @@ $IMAPDATA
     set mime_forward=ask-yes # ask: attach message - or just quote it?
   unset move                 # do not move read mails from mailbox to $mbox (was: "set hold")
     set pager_context=1      # number of lines that overlap on paging
-#   set pager_index_lines=0  # number of lines to see from the index
+#   set pager_index_lines=0   # number of lines to see from the index
     set pager_stop           # "next_page" won't jump to next message at end of messages
     set postponed=+postponed # where save postponed messages?
 #   set print_command="mp|lpr" # pipe message to "mp" for formattting - then on to "lpr"
@@ -67,9 +67,8 @@ $IMAPDATA
     set reply_to=ask-yes     # "reply":          set:  Use address in Reply-To?
     set reverse_alias        # show the name of sender as set with my alias for him
     set reverse_name         # reply as the user to whom the mail was sent to
-#    set save_name            # set: save outbound mail to =username if it exists
-#    set sendmail="/usr/bin/msmtp" # which sendmail program should be used?
-#   set shell=zsh            # use the zsh for shell commands
+#   set save_name             # save outbound mail to =username if it exists
+#   set shell=zsh             # use the zsh for shell commands
     set sort=threads         # sorting method - I definitely like "threads" best
     set status_on_top        # set: present the status bar at top, ie before the index
     set strict_threads       # set: use references: for threading only, ie do not
@@ -78,9 +77,14 @@ $IMAPDATA
     set tmpdir="/tmp"        # directory where temporary files are to be placed
     set to_chars="X+TCF"     # message flags: non-personal,personal,To:,Cc:,From:
     set use_from             # 'set from=' requires a 'set use_from'!
-#    set use_envelope_from   # when set, mutt will use $envelope_from_address as the envelope sender
+#    set use_envelope_from    # when set, mutt will use $envelope_from_address as the envelope sender
     set write_inc=10         # update number after each tenth read mail
 
+# Sending mail:
+#   set sendmail="/usr/bin/msmtp" # which sendmail program should be used?
+#   set smtp_url="smtp://yourusername@smtp.example.org:port/" # versions >=1.5...
+                             # ... of Mutt have built-in SMTP support
+#   set smtp_pass="password" # password for smtp_url option
 
 # Options with a long value:
 #   set alternates=...