Isaac Claymore | 1 Sep 2004 04:04
Picon

Re: automatic bcc each outgoing message

On Tue, Aug 31, 2004 at 09:43:16AM -0500, David Champion wrote:
> A my_hdr command will always work, once it's executed. What doesn't work
> (as intended) is putting the my_hdr command inside a send-hook. This is
> because my_hdr just adds a header to the draft file you're working on,
> but send-hooks execute when the message is sent -- not when the draft is
> created. So something like this:
> 
> 	send-hook ~t james.earl.jones my_hdr X-Foo: bar
> 
> will add an X-Foo: header to all messages *after* your next message to
> James Earl Jones.

Thanks, this explains exactly why my hook only worked after I had sent a first
message that triggered the hook; I was just confused and about to ask when I 
read your message :)

-Isaac

--

-- 

Regards, Isaac
()  ascii ribbon campaign - against html e-mail
/\                        - against microsoft attachments
Isaac Claymore | 1 Sep 2004 04:11
Picon

Re: automatic bcc each outgoing message

On Tue, Aug 31, 2004 at 05:58:17PM +0200, Nicolas Rachinsky wrote:
> > On Tue, Aug 31, 2004 at 02:40:01PM +0200, Nicolas Rachinsky wrote:
> > > * Isaac Claymore <clay <at> exavio.com.cn> [2004-08-31 20:35 +0800]:
> > > > But I failed to figure out how to do this to outgoing messages. I've looked 
> > > > at send-hook, but it seemed that that hook cant set bcc field of outgoing 
> > > > messages on itself.
> > > 
> > > my_hdr Bcc: somebody <at> somewhere
> > 
> > Regards, Isaac
> > ()  ascii ribbon campaign - against html e-mail
> > /\                        - against microsoft attachments
> 
> I think we should start a campaign against tofu.

Sorry for the inconvenience, I'm a newbie and didn't know about the TOFU thing until
looked it up in the Jargon File after you pointed it out.

I'll commit no more TOFU in the future, thanks for you advice~

--

-- 

Regards, Isaac
()  ascii ribbon campaign - against html e-mail
/\                        - against microsoft attachments
Wilkinson, Alex | 1 Sep 2004 07:01
Picon

send-hook question

Hi all,

For a particular subset of messages I need to remove a customised header. I
think I can do this via a 'send-hook'. 

e.g 

I have a customised header of:

	my_hdr X-Message-Flag: foo bar foo bar foo bar

All messages sent will have this header, however I need to *not* add this
header for a subset of email addresses. I thought this is what I would need
to do:

	send-hook bob.smith <at> mydomain.com unmy_hdr X-Message-Flag:

and any messages sent to bob.smith <at> mydomain.com would not contain the
X-Message-Flag header. This is not working.

Can someone confirm that I'm doing the correct thing here.

Thanks

 - aW

Andy Smith | 1 Sep 2004 15:29
Favicon

S-Lang, FreeBSD, <home> / <end> key bindings problem

Hi,

Once again since upgrading to the latest mutt-dev FreeBSD port I
find myself having key binding problems.

I notice that teh latest mutt-dev port now uses S-Lang by default so
I have gone along with that, and after a bit of tweaking did get my
colours to work properly again, but I still can't work out what's
gone wrong with my key bindings.

I do ":exec what-key" and press <home> and get this:

Char = ~, Octal = 176, Decimal = 126

<end> is:

Char = 4, Octal = 64, Decimal = 52

but that doesn't seem right because those are the codes for the
literal characters ~ and 4!

Doing a <ctrl-v> <home> shows:

^[[1~

Doing <ctrl-v><end> shows:

^[[4~

which is what they have always shown, yet my old binds (generated by
(Continue reading)

Thomas Dickey | 1 Sep 2004 16:30
Picon

Re: S-Lang, FreeBSD, <home> / <end> key bindings problem

On Wed, 1 Sep 2004, Andy Smith wrote:

> Hi,
>
> Once again since upgrading to the latest mutt-dev FreeBSD port I
> find myself having key binding problems.
>
> I notice that teh latest mutt-dev port now uses S-Lang by default so

yes - port maintainers have whims.  Some of them test things before
introducing changes, while others just do it.

> I have gone along with that, and after a bit of tweaking did get my
> colours to work properly again, but I still can't work out what's
> gone wrong with my key bindings.
>
> I do ":exec what-key" and press <home> and get this:
>
> Char = ~, Octal = 176, Decimal = 126
>
> <end> is:
>
> Char = 4, Octal = 64, Decimal = 52
>
> but that doesn't seem right because those are the codes for the
> literal characters ~ and 4!
>
> Doing a <ctrl-v> <home> shows:
>
> ^[[1~
(Continue reading)

Udo Schweigert | 1 Sep 2004 16:55
Picon

Re: S-Lang, FreeBSD, <home> / <end> key bindings problem

On Wed, Sep 01, 2004 at 13:29:39 +0000, Andy Smith wrote:
> Hi,
> 
> Once again since upgrading to the latest mutt-dev FreeBSD port I
> find myself having key binding problems.
> 
> I notice that teh latest mutt-dev port now uses S-Lang by default so
> I have gone along with that, and after a bit of tweaking did get my
> colours to work properly again, but I still can't work out what's
> gone wrong with my key bindings.
> 
> ....
> Anyone have any ideas or should I go back to using mutt with
> ncurses?

Why don't you go back to using ncurses, if it's working for you.
Simply add "WITH_MUTT_NCURSES=yes" to /etc/make.conf and rebuild the port.

Most FreeBSD mutt users (-stable and -devel) prefer using slang (as do I),
but there are a very few who prefer ncurses, because of unusal key- and
color-bindings. As FreeBSD has established the POLA (principle of least
astonishment) the default is what most people want.

Best regards

--
Udo Schweigert, Siemens AG   | Voice      : +49 89 636 42170
CT IC CERT, Siemens CERT     | Fax        : +49 89 636 41166
D-81730 Muenchen / Germany   | email      : udo.schweigert <at> siemens.com

(Continue reading)

Udo Schweigert | 1 Sep 2004 16:56
Picon

Re: S-Lang, FreeBSD, <home> / <end> key bindings problem

On Wed, Sep 01, 2004 at 10:30:53 -0400, Thomas Dickey wrote:
> On Wed, 1 Sep 2004, Andy Smith wrote:
> 
>> Hi,
>>
>> Once again since upgrading to the latest mutt-dev FreeBSD port I
>> find myself having key binding problems.
>>
>> I notice that teh latest mutt-dev port now uses S-Lang by default so
> 
> yes - port maintainers have whims.  Some of them test things before
> introducing changes, while others just do it.

Come on, the only change was to the default of the port - it now uses slang
instead of ncurses, as almost all people are in favorite of using slang. If a
user has problems with slang he only has to compile it with WITH_MUTT_NCURSES
(the best is to put that into /etc/make.conf) and that's it.

My test-script for the mutt-devel port takes approximately one hour to complete
testing all the different knobs, and of course I test a change in my
environment before submitting it.

So: because one user is complaining you guess that I don't do testing ...

--
Udo Schweigert, Siemens AG   | Voice      : +49 89 636 42170
CT IC CERT, Siemens CERT     | Fax        : +49 89 636 41166
D-81730 Muenchen / Germany   | email      : udo.schweigert <at> siemens.com

(Continue reading)

Michael Ihde | 1 Sep 2004 17:59
Favicon

From field being set incorrectly when using multiple imap accounts

I've just started using mutt and I really enjoy it.  However, I've been
having trouble configuring it for the way I need to have my e-mail
set-up.  Basically I have three imap accounts.  One of them I access
from an ssh tunnel.

So I have the following configuration

account-hook . "unset imap_user; unset imap_pass; unset tunnel;"
account-hook imaps://server1 'source ~/.mutt/server1'
account-hook imaps://server2 'source ~/.mutt/server2'
account-hook imap://server3  'source ~/.mutt/server3'

- server1 -
set imap_user=ihde
set from="ihde <at> uiuc.edu"
mailbox =

- server2 - 
set imap_user=ihde
set from="ihde <at> mail.crhc.uiuc.edu"
mailbox =

- server3 -
set imap_user=maihde
set from="mike.ihde <at> randomwalking.com"
set tunnel="ssh -q server3 /usr/bin/courier-imapd 2> /dev/null .maildir"

mailboxes =
mailboxes =wmi-devel

(Continue reading)

Udo Schweigert | 1 Sep 2004 18:06
Picon

Re: S-Lang, FreeBSD, <home> / <end> key bindings problem

On Wed, Sep 01, 2004 at 11:53:07 -0400, Thomas Dickey wrote:
> On Wed, 1 Sep 2004, Udo Schweigert wrote:
> 
>> My test-script for the mutt-devel port takes approximately one hour to complete
>> testing all the different knobs, and of course I test a change in my
>> environment before submitting it.
> 
> comment illustrates a lack of understanding of "testing"
> 
>>
>> So: because one user is complaining you guess that I don't do testing ...
> 
> I'm guessing that you don't really support the port (as a user would
> expect), but are simply hacking at things.

Seems guessing is the only thing you really are able to do.

> If you can't analyze his problem and explain it, there's no point in
> my wasting any time discussing it with you, either.

Same for me. Seems you don't have a clou how a volunteer project like FreeBSD
works. Complaining about volunteers not solving your problems doesn't help
anyway.

-bye

Thomas Dickey | 1 Sep 2004 17:53
Picon

Re: S-Lang, FreeBSD, <home> / <end> key bindings problem

On Wed, 1 Sep 2004, Udo Schweigert wrote:

> My test-script for the mutt-devel port takes approximately one hour to complete
> testing all the different knobs, and of course I test a change in my
> environment before submitting it.

comment illustrates a lack of understanding of "testing"

>
> So: because one user is complaining you guess that I don't do testing ...

I'm guessing that you don't really support the port (as a user would
expect), but are simply hacking at things.

If you can't analyze his problem and explain it, there's no point in
my wasting any time discussing it with you, either.

--

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


Gmane