<<< Date Index >>>     <<< Thread Index >>>

Re: Setting Bcc in muttrc with send-hook



Hello Lukas,

 On Saturday, September 23, 2006 at 16:39:15 +0200, Lukas Ruf wrote:

> automatically set the Bcc: in my muttrc by a send-hook.

    Send-hooks depend on recipients. They can't set recipients.

    One possible way would be to push <edit-bcc><kill-line>blah<Enter>
from inside a send2-hook, but you then lose the ability to manually
override this "Bcc:" in any given mail.


>| send-hook (@rawip\.org|@rbacs\.net)

    @(rawip\\.org|rbacs\\.net)$


>| unmy_hdr Reply-To ; \
>| unmy_hdr From ; \
>| unmy_hdr Organization ; \
>| unmy_hdr Bcc ; \
>| unmy_hdr X-ID ; \
>| unmy_hdr X-GPG ; \
>| unmy_hdr X-URL ; \
>| unmy_hdr X-Relay ; \

    Maybe you can simplify that to one command "unmy_hdr Reply-To From
Organization Bcc X-ID X-GPG X-URL X-Relay", or even "unmy_hdr *". And
generally such reinitialisations are better done once in a default
send-hook, than repeated in each specific one.


Bye!    Alain.
-- 
Microsoft Outlook Express users concerned about readability: For much better
viewing quotes in your messages, check the little freeware program OE-QuoteFix
by Dominik Jain. It'll change your life. :-) Exists also for Outlook.
See <URL:http://home.in.tum.de/~jain/software/oe-quotefix/>.