I have reported about the following problem on Feb 05th, but no one had a solution. For me, it looks like that this is not my bad configuration, but an unintended behavior of mutt (=> BUG). Am I correct or not?
Problem: Intended is a BCC to 'my@address\.de' on all mails except on mails that are sent to 'my@address\.de' in the TO field. The bcc header is set correctly (no matter if an alias or typed in), but is only valid for all following mails and NOT the one I am composing at that moment. So, I have a delayed reaction of one mail composition. I have attached a reduced muttrc, mail_alias and a version file. The most important part is this: send-hook '~t my@address\.de' 'unmy_hdr bcc' send-hook '!~t my@address\.de' 'my_hdr Bcc: [EMAIL PROTECTED]' On starting mutt, use 'm' and try the following addresses in the 'To:' question (subject does not matter, abort mail in composer editor): Setting: Result: my no bcc [EMAIL PROTECTED] no bcc [EMAIL PROTECTED] bcc my no bcc [EMAIL PROTECTED] no bcc [EMAIL PROTECTED] bcc [EMAIL PROTECTED] no bcc [EMAIL PROTECTED] bcc However, it should be like this: my no bcc [EMAIL PROTECTED] bcc [EMAIL PROTECTED] no bcc my no bcc [EMAIL PROTECTED] bcc [EMAIL PROTECTED] no bcc [EMAIL PROTECTED] bcc [EMAIL PROTECTED] bcc Bye, Steffen
alias my [EMAIL PROTECTED]
set folder=~/Mail # where i keep my mailboxes set alias_file=.mail_aliases # where I keep my aliases set tmpdir="~/tmp" # where to store temp files set editor="vim" # editor to use when composing messages set spoolfile='+inbox' # where my new mail is located set alternates="[EMAIL PROTECTED]|[EMAIL PROTECTED]" #set autoedit # go to the editor right away when composing set edit_headers # let me edit the message header when composing set hdrs # include `my_hdr' lines in outgoing messages #set use_from # always generate the `From:' header field set write_bcc=yes # include bcc lines in the message header #my_hdr Bcc: [EMAIL PROTECTED] #set envelope_from # set envelop from by the From: field #set reverse_name # use my address as it appears in the message # i am replying to #set reverse_alias # attempt to look up my names for people send-hook '~t my@address\.de' 'unmy_hdr bcc' send-hook '!~t my@address\.de' 'my_hdr Bcc: [EMAIL PROTECTED]' mailboxes +inbox source mail_aliases # where I keep my aliases # EOF
Mutt 1.3.25i (2002-01-01) Copyright (C) 1996-2001 Michael R. Elkins and others. Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'. Mutt is free software, and you are welcome to redistribute it under certain conditions; type `mutt -vv' for details. System: Linux 2.4.17-tr1 (i686) [using ncurses 5.2] Compile options: -DOMAIN +DEBUG -HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE +USE_FCNTL -USE_FLOCK +USE_POP +USE_IMAP -USE_GSS -USE_SSL +USE_GNUTLS +USE_SASL +HAVE_REGCOMP -USE_GNU_REGEX +HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET +HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM +HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT +ENABLE_NLS -LOCALES_HACK +COMPRESSED +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET ++HAVE_LANGINFO_YESEXPR +HAVE_ICONV -ICONV_NONTRANS +HAVE_GETSID +HAVE_GETADDRINFO ISPELL="/usr/bin/ispell" SENDMAIL="/usr/sbin/sendmail" MAILPATH="/var/mail" PKGDATADIR="/usr/share/mutt" SYSCONFDIR="/etc" EXECSHELL="/bin/sh" MIXMASTER="mixmaster" To contact the developers, please mail to <[EMAIL PROTECTED]>. To report a bug, please use the flea(1) utility. patch-1.3.24.rr.compressed.1 patch-1.3.24.appoct.2 patch-1.3.15.sw.pgp-outlook.1 patch-1.3.24.admcd.gnutls.1 Md.use_editor Md.paths_mutt.man Md.muttbug_no_list Md.use_etc_mailname Md.muttbug_warning Md.gpg_status_fd patch-1.2.xtitles.1 patch-1.3.23.1.ametzler.pgp_good_sign