Re: Preventing send-hooks from overriding reply-hooks

2013-10-21 Thread Michael Elkins
On Mon, Oct 21, 2013 at 12:24:00AM -0400, Matt Rechkemmer wrote: Lately, I've found myself needing to change my replies' From address and signature based on which address the original message was sent to. I thought reply-hooks would be perfect for this, but I kept getting jammed up on my default

Preventing send-hooks from overriding reply-hooks

2013-10-20 Thread Matt Rechkemmer
Lately, I've found myself needing to change my replies' From address and signature based on which address the original message was sent to. I thought reply-hooks would be perfect for this, but I kept getting jammed up on my default send-hook. I dug this gem out of the archive from 2002: > Howeve

Re: priority of send-hooks and folder-hooks

2011-05-17 Thread Michael Elkins
On Mon, May 16, 2011 at 09:53:34AM +0200, Thorsten Scherf wrote: I did some signature configuration based on folder-hooks and send-hooks. As default send-hook, I've choosen a specific signature that changes based on different recipient addresses. I now want to change the signature also bas

priority of send-hooks and folder-hooks

2011-05-16 Thread Thorsten Scherf
I did some signature configuration based on folder-hooks and send-hooks. As default send-hook, I've choosen a specific signature that changes based on different recipient addresses. I now want to change the signature also based on specific holders, but it looks like the config I did for

Re: Chained send-hooks

2008-11-25 Thread Michael Elkins
On Tue, Nov 25, 2008 at 05:31:19PM +0100, Jeremie Le Hen wrote: > To sum up, it seems that the address matched with ~f stay the same while > all send-hooks are processed. Is it the expected behaviour? Yes, this is expected behavior. You want to change the last send-hook to send2-hook,

Chained send-hooks

2008-11-25 Thread Jeremie Le Hen
ure-domain"' If the From: address has been changed by the third send-hook, the fourth one won't match. However, if the From: address has been changed thanks to reverse_name, then the fourth send-hook will match. To sum up, it seems that the address matched with ~f stay the same whi

Re: send hooks again .. not working

2002-10-15 Thread Rafael C. Gawenda
* Toby Coleridge <[EMAIL PROTECTED]> [2002-10-11 10:54 (CEST)] > nope still doesnt work I noticed that I have set from at the > top of my muttrc is this causing problems for send hooks? Lookup use_from in the manual. Perhaps you're mixing things up, where you have to choose onl

Re: send hooks again .. not working

2002-10-14 Thread Toby Coleridge
On Mon, Oct 14, 2002 at 01:11:17PM +0200, Michael Tatge wrote: > Toby Coleridge ([EMAIL PROTECTED]) muttered: > > send-hook . unmy_hdr From: [EMAIL PROTECTED] > ^^^ > > Leave that out. > > > send-hook '~C @lboro.ac.uk' 'my_hdr From: me@myuniaddress' >

Re: send hooks again .. not working

2002-10-14 Thread Michael Tatge
Toby Coleridge ([EMAIL PROTECTED]) muttered: > send-hook . unmy_hdr From: [EMAIL PROTECTED] ^^^ Leave that out. > send-hook '~C @lboro.ac.uk' 'my_hdr From: me@myuniaddress' That should work. Michael -- Avoid the Gates of Hell. Use Linux (Unknown s

Re: send hooks again .. not working

2002-10-14 Thread Toby Coleridge
On Sat, Oct 12, 2002 at 09:26:19AM -0500, Aaron Schrab wrote: > At 15:18 +0200 12 Oct 2002, Sven Guckes <[EMAIL PROTECTED]> wrote: > > * David Champion <[EMAIL PROTECTED]> [2002-10-12 00:06]: > > > I thought that you need to use "set from=" in send-hooks &g

Re: send hooks again .. not working

2002-10-12 Thread David Champion
send mail to [EMAIL PROTECTED] I get it from >[EMAIL PROTECTED] not the send-hook as I believe I should .. any ideas? I thought that you need to use "set from=" in send-hooks instead of using my_hdr, but I might misremember. -- -D.We establised a fine coffee.

Re: send hooks again .. not working

2002-10-12 Thread Aaron Schrab
At 15:18 +0200 12 Oct 2002, Sven Guckes <[EMAIL PROTECTED]> wrote: > * David Champion <[EMAIL PROTECTED]> [2002-10-12 00:06]: > > I thought that you need to use "set from=" in send-hooks > > instead of using my_hdr, but I might misremember. No, it's the

Re: send hooks again .. not working

2002-10-12 Thread Sven Guckes
m: me@myuniemailadrress > > > > however when I send mail to [EMAIL PROTECTED] I get it from > > [EMAIL PROTECTED] not the send-hook as I believe I should .. > > any ideas? > > I thought that you need to use "set from=" in send-hooks > instead of using m

Re: send hooks again .. not working

2002-10-11 Thread Toby Coleridge
Nope no other send hooks defined .. On Fri, Oct 11, 2002 at 11:59:37AM +0200, René Clerc wrote: > * Toby Coleridge <[EMAIL PROTECTED]> [11-10-2002 11:55]: > > [Michael] > > > send-hook '~C student.lboro.ac.uk' 'my_hdr From: me@myuniemailadrress' &g

Re: send hooks again .. not working

2002-10-11 Thread René Clerc
* Toby Coleridge <[EMAIL PROTECTED]> [11-10-2002 11:55]: [Michael] > > send-hook '~C student.lboro.ac.uk' 'my_hdr From: me@myuniemailadrress' > nope still doesnt work I noticed that I have set from at the top of > my muttrc is this causing problems for sen

Re: send hooks again .. not working

2002-10-11 Thread René Clerc
* Toby Coleridge <[EMAIL PROTECTED]> [11-10-2002 12:50]: > I do however have this in my sendmail.mc / cf : > > define(`confDOMAIN_NAME', `4mationnet.com')dnl > > because I am behind a private network and I get lots of 550 returned mail. > > would this make a difference? I don't know, I know n

Re: send hooks again .. not working

2002-10-11 Thread Michael Tatge
f my > muttrc is this causing problems for send hooks? Hm, change the default send-hook to unmy_hdr From? HTH, Michael -- "Oh, I've seen copies [of Linux Journal] around the terminal room at The Labs." (By Dennis Ritchie) PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key

Re: send hooks again .. not working

2002-10-11 Thread Toby Coleridge
Nope no other send hooks defined .. > > On Fri, Oct 11, 2002 at 11:59:37AM +0200, René Clerc wrote: > > * Toby Coleridge <[EMAIL PROTECTED]> [11-10-2002 11:55]: > > > > [Michael] > > > > send-hook '~C student.lboro.ac.uk' 'my_hdr From: me

Re: send hooks again .. not working

2002-10-11 Thread Sven Guckes
* Toby Coleridge <[EMAIL PROTECTED]> [2002-10-11 10:10]: > > > > send-hook '~C student.lboro.ac.uk' 'my_hdr From: me@myuniemailadrress' > > > nope still doesnt work I noticed that I have set from at the > > > top of my muttrc is this cau

Re: Send Hooks ..

2002-10-11 Thread Sven Guckes
* Toby Coleridge <[EMAIL PROTECTED]> [2002-10-10 20:25]: > If I setup two send hooks as follows: > send-hook ."my_hdr From: [EMAIL PROTECTED] ;" > send-hook blah "my_hdr From: [EMAIL PROTECTED] ;" what are the semicola for? delete them. > am i right i

Re: send hooks again .. not working

2002-10-11 Thread Toby Coleridge
No the email address in the compose window is still wrong ... ? Toby On Fri, Oct 11, 2002 at 01:10:05PM +0200, René Clerc wrote: > * Toby Coleridge <[EMAIL PROTECTED]> [11-10-2002 12:50]: > > > I do however have this in my sendmail.mc / cf : > > > > define(`confDOMAIN_NAME', `4mationnet.com')d

Re: send hooks again .. not working

2002-10-11 Thread Toby Coleridge
Hi Michael, nope still doesnt work I noticed that I have set from at the top of my muttrc is this causing problems for send hooks? Thanks Toby. On Fri, Oct 11, 2002 at 11:42:44AM +0200, Michael Tatge wrote: > Toby Coleridge ([EMAIL PROTECTED]) muttered: > > i have the following: >

Re: send hooks again .. not working

2002-10-11 Thread Michael Tatge
Toby Coleridge ([EMAIL PROTECTED]) muttered: > i have the following: > > send-hook . my_hdr From: [EMAIL PROTECTED] > send-hook @student\.lboro\.ac\.uk my_hdr From: me@myuniemailadrress send-hook '~C student.lboro.ac.uk' 'my_hdr From: me@myuniemailadrress' HTH, Michael -- "...Deep Hack Mode--

send hooks again .. not working

2002-10-11 Thread Toby Coleridge
i have the following: send-hook . my_hdr From: [EMAIL PROTECTED] send-hook @student\.lboro\.ac\.uk my_hdr From: me@myuniemailadrress however when I send mail to [EMAIL PROTECTED] I get it from [EMAIL PROTECTED] not the send-hook as I believe I should .. any ideas? Thanks Toby

Re: Send Hooks ..

2002-10-10 Thread René Clerc
* Toby Coleridge <[EMAIL PROTECTED]> [10-10-2002 22:27]: > If I setup two send hooks as follows: > > send-hook . "my_hdr From: [EMAIL PROTECTED] ;" > send-hook blah "my_hdr From: [EMAIL PROTECTED] ;" What's with the semicolons? > am i right

send-hooks (was: Re: Send Hooks ..)

2002-10-10 Thread Jussi Ekholm
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Toby Coleridge <[EMAIL PROTECTED]> wrote: > If I setup two send hooks as follows: > send-hook . "my_hdr From: [EMAIL PROTECTED] ;" > send-hook blah "my_hdr From: [EMAIL PROTECTED] ;" > > am i right in t

Send Hooks ..

2002-10-10 Thread Toby Coleridge
If I setup two send hooks as follows: send-hook . "my_hdr From: [EMAIL PROTECTED] ;" send-hook blah "my_hdr From: [EMAIL PROTECTED] ;" am i right in thinking that the second send hook will be activated on any To: or Cc: (or Bcc?) that contains blah in the address, does

Signature and send-hooks

2002-01-01 Thread Francesco Ciattaglia
hi all, Until now I have used the program signature (by Ian McDonald) launched at the startup via .bash_profile for creating a dynamic .signature file (something like this: signature -q .quotefile -r -t .templatefile) Obviously in my .muttrc I have put set signature = .signature Now I want to c

Re: send-hooks don't work

2001-10-26 Thread Manuel Hendel
On Thu, Oct 25, 2001 at 05:30:08PM -0600, Rob 'Feztaa' Park wrote: > On Thu, Oct 25, 2001 at 11:42:56PM +0200, Manuel Hendel (dis)graced my inbox with: > > Hallo, > > > > I'm using mutt 1.3.x. I use send-hooks to define the "my_hdr From:", > >

send-hooks don't work

2001-10-25 Thread Manuel Hendel
Hallo, I'm using mutt 1.3.x. I use send-hooks to define the "my_hdr From:", "my_hdr Organisation:" and the signature. If write the muttrc file and start mutt, everything works fine, but after a while, mutt gets confused and brings wrong Organisation or wron signat

send-hooks, autoedit, etc

2001-08-01 Thread Myrddin
I'm using 1.2.5i and have a small dilemma. I'm trying to expand my send-hooks a bit so that when I send to a particular address, it'll modify my from: header. Ok, no big deal. send-hook's work just fine for that IF I'm either _replying_ to a mail, or if I turn of

using send hooks from external files

2001-05-27 Thread Andre Bonhote
hi list! i have some files with e-mail adresses inside for procmail to sort my mail to different mailboxes. in mutt, i use shortcuts to assign new addresses to the lists. one list looks like this: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] now i'd like to add a send

new question about send-hooks

2001-05-20 Thread Louis LeBlanc
posing, either (edit_hdrs is set). When, exactly are these hooks called? it seems there must be a way to make it work on any message, otherwise the send-hooks aren't much good. Is it possible that they are only getting called when the message is initiated rather than when it is sent? If so, how

problems with send-hooks

2001-05-07 Thread Andre Bonhote
hi list! i got a simple problem for which i didn't find a solution in the man pages. i have four send-hooks defined to change my FROM-address and my sig according to the recipient. my .muttrc looks like this: [1] send-hook . "my_hdr From: Andre Bonhote <[EMAIL PROTECTED]>&qu

Re: send-hooks and save_name

2001-03-08 Thread Gary Johnson
On Thu, Mar 08, 2001 at 11:29:23AM -0500, Rich Lafferty wrote: > Well, with that I end up with > > send-hook . 'set folder=~/Mail' > send-hook concordia.ca 'set folder=~/Mail/conu' > send-hook !concordia.ca 'set folder=~/Mail/personal' > > and, as you can see, that first condition never

Re: send-hooks and save_name

2001-03-08 Thread Ben Rosenberg
How about using Procmail rules to put your mail where you like? * Rich Lafferty ([EMAIL PROTECTED]) [010308 08:56]: =>On Thu, Mar 08, 2001 at 11:47:00AM -0500, Peter Kovacs ([EMAIL PROTECTED]) wrote: =>> On Thu, Mar 08, 2001 at 11:29:23AM -0500, Rich Lafferty wrote: =>> > folder-hook . 'set fol

Re: send-hooks and save_name

2001-03-08 Thread Rich Lafferty
On Thu, Mar 08, 2001 at 11:47:00AM -0500, Peter Kovacs ([EMAIL PROTECTED]) wrote: > On Thu, Mar 08, 2001 at 11:29:23AM -0500, Rich Lafferty wrote: > > folder-hook . 'set folder=~/mail' > > send-hook concordia.ca 'set folder=~/mail/conu' > > send-hook !concordia.ca 'set folder=~/mail/personal

Re: send-hooks and save_name

2001-03-08 Thread Peter Kovacs
On Thu, Mar 08, 2001 at 11:29:23AM -0500, Rich Lafferty wrote: > folder-hook . 'set folder=~/mail' > send-hook concordia.ca 'set folder=~/mail/conu' > send-hook !concordia.ca 'set folder=~/mail/personal' how about: send-hook . 'set folder=~/mail/personal' send-hook concordi

Re: send-hooks and save_name

2001-03-08 Thread Rich Lafferty
diately after, it mungs up normal > > operations (since I still want "folder" to just be "~/mail/"). > > > > Is there a straightforward way to do such a thing? > > If your send-hooks work except for the resetting problem, the solution > is easy. Just

Re: send-hooks and save_name

2001-03-08 Thread Gary Johnson
ust be "~/mail/"). > > Is there a straightforward way to do such a thing? If your send-hooks work except for the resetting problem, the solution is easy. Just add the following lint to your muttrc _above_ the other send-hooks so that it will be executed before the others. send-

send-hooks and save_name

2001-03-08 Thread Rich Lafferty
Hi, I'm having trouble figuring out how to change the behavior of mutt's save_name feature. What I'm trying to do is to get mutt to do the save_name thing, except instead of having it save in =username, I want it to save in =work/username if any recipient's address contains "concordia.ca", and i

send-hooks

2000-11-08 Thread Goblin
Can someone help me? I've got the following lines in my .muttrc: send-hook '~f ^@domain\.com$' 'my_hdr From: User Name <[EMAIL PROTECTED]>' send-hook '~t ^@domain\.com$' 'my_hdr From: User Name <[EMAIL PROTECTED]>' with which I am trying to accomplish the following: I'd like that when I reply to

Re: send-hooks

2000-11-08 Thread Goblin
I've found my stupidity. I know regex, so I should have seen this right away. ^@domain.com will always be a no-grok. Thanks anyway. On 11/08, Me rearranged the electrons to read: > Can someone help me? I've got the following lines in my .muttrc: > send-hook '~f ^@domain\.com$' 'my_hdr From: Use

Re: send-hooks not reset

2000-10-24 Thread Mikko Hänninen
Adrian Chung <[EMAIL PROTECTED]> wrote on Tue, 24 Oct 2000: > > send-hook . 'unmy_hdr From:' > >Is this classified as a bug, or a feature? :) It's a feature, a design desicision. Since you can use any muttrc command in send-hooks, it would be unworkably com

Re: send-hooks not reset

2000-10-24 Thread Dan Boger
On Tue, Oct 24, 2000 at 05:32:15PM -0400, Adrian Chung wrote: > > exactly. when you set the sig, or a header, it's not only for that message. > > so you need to do something like: > > > > send-hook . 'unmy_hdr From:' > > send-hook . 'unset signature' > >Cool, so it's not just me... > >

Re: send-hooks a la Pine Roles.

2000-10-24 Thread Mikko Hänninen
Adrian Chung <[EMAIL PROTECTED]> wrote on Tue, 24 Oct 2000: >I've got alternates set, and I tried both set reverse_name and set > reverse_realname. I'm not having any luck with either. With mail > addresses to a different address (actually different user, same domain), > when I hit reply, I

Re: send-hooks not reset

2000-10-24 Thread Adrian Chung
On Tue, Oct 24, 2000 at 05:22:30PM -0400, Dan Boger <[EMAIL PROTECTED]> wrote: > On Tue, Oct 24, 2000 at 04:53:25PM -0400, Adrian Chung wrote: > > set from="Adrian Chung <[EMAIL PROTECTED]>" > > alternates="(support|achung)@mycompany\.(com|net|org)" > > > > send-hook '~f support@mycompany' 'my_hd

Re: send-hooks not reset

2000-10-24 Thread Dan Boger
On Tue, Oct 24, 2000 at 04:53:25PM -0400, Adrian Chung wrote: > set from="Adrian Chung <[EMAIL PROTECTED]>" > alternates="(support|achung)@mycompany\.(com|net|org)" > > send-hook '~f support@mycompany' 'my_hdr From: company support ><[EMAIL PROTECTED]>' > send-hook '~f support@mycompany' 'set si

send-hooks not reset

2000-10-24 Thread Adrian Chung
Hi! I figured out how to set things up so that now I can properly reply to different people based on the original inbound email address. But I ran into a strange occurrence, which I'm not sure is my fault. I've set up mutt so that: set reverse_name set from="Adrian Chung <[EMAIL PROTECTED]>" a

Re: send-hooks a la Pine Roles.

2000-10-24 Thread Suresh Ramasubramanian
Using a large mallet, Adrian Chung whacked out: > when I hit reply, I get my username @ my.local.machine.name. likely you have to set the envelope sender too - post the relevant parts of your muttrc plz >Why don't you like qmail? it's an allergy of some kind :P I prefer exim (or i

Re: send-hooks a la Pine Roles.

2000-10-24 Thread Adrian Chung
On Tue, Oct 24, 2000 at 11:13:30PM +0530, Suresh Ramasubramanian <[EMAIL PROTECTED]> wrote: > Adrian Chung proclaimed on mutt-users that: > > > The suggestions I've heard say to do something like: > > > send-hook \ > > '~t [EMAIL PROTECTED]' \ > > 'my_hdr From: [EM

Re: send-hooks a la Pine Roles.

2000-10-24 Thread Suresh Ramasubramanian
Adrian Chung proclaimed on mutt-users that: > The suggestions I've heard say to do something like: > send-hook \ > '~t [EMAIL PROTECTED]' \ > 'my_hdr From: [EMAIL PROTECTED]' set alternates, and set reverse_name > I'm assuming that this is a feature that

send-hooks a la Pine Roles.

2000-10-24 Thread Adrian Chung
Hi all! A co-worker stated the other day that the biggest feature that has kept him from switching from Pine to mutt is the fact that pine supports roles. >From what I could gather, a role in pine basically allows you to set your From: email address depending on who the message you're replying t

Re: send-hooks

2000-10-07 Thread Jason Helfman
I have this at work too. However, I incorporated folder-hook for this function, and it works very nicely. Folder-hook and send-hooks, used with each other seemed to do the trick for me. If you use $edit_headers that should do the trick though, i would think. On Tue, Sep 19, 2000 at 04:41:33PM

Re: send-hooks

2000-09-19 Thread Mikko Hänninen
Darren West <[EMAIL PROTECTED]> wrote on Tue, 19 Sep 2000: > If I invoke mail(compose) from within mutt via keybind 'm' in a folder > though, it always pops into the default profile..since the send-hook is > dependant on the "To" info. > It would be great if it first prompted for "To" info, then c

send-hooks

2000-09-19 Thread Darren West
send-hook is a really cool feature, since it allows me to have a "work profile" and a "non-work" each with custom signatures and header info, based on who I am sending mail to. If I invoke mail(compose) from within mutt via keybind 'm' in a folder though, it always pops into the default profi

Re: send-hooks matching "all" users - how?

2000-08-26 Thread Randall Hopper
Mikko Hänninen: |Oh, right. That's the usual "|'s in patterns must be quoted" issue. | |Try this: | | send-hook "^~C '(jim|john|joe)@home.com'" "set pgp_autoencrypt" | |Or if that doesn't work, try escaping (\) the |'s, or double escaping... |It's a known issue, sort of a bug, in the way

Re: send-hooks matching "all" users - how?

2000-08-14 Thread Mikko Hänninen
Randall Hopper <[EMAIL PROTECTED]> wrote on Mon, 14 Aug 2000: > Well, I tried that before my original post. Here is the error Mutt > generates on start-up: > > Error in /home/rhh/.mutt/lists.mutt, line 29: parentheses not balanced > Error in /home/rhh/.muttrc-1.2i, line 205: source: errors i

Re: send-hooks matching "all" users - how?

2000-08-14 Thread Randall Hopper
Mikko Hänninen: |Randall Hopper <[EMAIL PROTECTED]> wrote on Sun, 13 Aug 2000: |> manual.txt suggests a leading '^', but this doesn't work. Maybe |> it only works where you can specify a pattern flag, as in: ^~C \.de$ | |Well, you *can* do this with send-ho

Re: send-hooks matching "all" users - how?

2000-08-14 Thread Mikko Hänninen
Randall Hopper <[EMAIL PROTECTED]> wrote on Sun, 13 Aug 2000: > manual.txt suggests a leading '^', but this doesn't work. Maybe > it only works where you can specify a pattern flag, as in: ^~C \.de$ Well, you *can* do this with send-hooks. If you only specif

Re: send-hooks

2000-08-13 Thread Wari Wahab
Well, well, well, after looking around, it doesn't help to have a send-hook . 'my_hdr From: Wari Wahab <[EMAIL PROTECTED]>' ;) Talk about massive oversight ;) Thanks dude * Suresh Ramasubramanian <[EMAIL PROTECTED]> [000814 11:02]: > Using a large mallet, Wari Wahab whacked out: > > How do I se

Re: send-hooks

2000-08-13 Thread Suresh Ramasubramanian
Using a large mallet, Wari Wahab whacked out: > How do I send a mail as a different user if I recieved the mails as the > other users... (Is that proper english?;).. For example, if someone > sends a mail to [EMAIL PROTECTED], I want to reply it as > [EMAIL PROTECTED] Get what I mean? Can't seem

send-hooks

2000-08-13 Thread Wari Wahab
Hi there, I've seen send-hooks that react to sending via a different email account if the recipient in so and so... send-hook [EMAIL PROTECTED] 'my_hdr From: [EMAIL PROTECTED]' How do I send a mail as a different user if I recieved the mails as the other users... (Is that

send-hooks matching "all" users - how?

2000-08-13 Thread Randall Hopper
Send hooks engage if the pattern matches "any" recipient. How do I construct one that engages only if the pattern matches "all" recipients. For example: unset pgp_autoencrypt send-hook (jim|john|joe)@home.com "set pgp_autoencrypt" This

Re: Using send-hooks with replies

2000-04-03 Thread Mikko Hänninen
Charles Curley <[EMAIL PROTECTED]> wrote on Mon, 03 Apr 2000: > -> Others have noted this has been around forever, I will add that you should > -> also see the $alternates variable, as reverse_name is useless without it. > > OK, having gotten this far, how do you set it up? I experimented and cam

Re: Using send-hooks with replies

2000-04-03 Thread Charles Curley
On Mon, Apr 03, 2000 at 11:41:53AM -0600, Charles Curley muttered: -> On Wed, Jan 26, 2000 at 04:29:01PM -0600, Jeremy Blosser muttered: -> -> Edmund GRIMLEY EVANS [[EMAIL PROTECTED]] wrote: -> -> > Jimmy Mäkelä <[EMAIL PROTECTED]>: -> -> > > Is it possible to look at the original To: of the messa

Re: Using send-hooks with replies

2000-04-03 Thread Charles Curley
On Wed, Jan 26, 2000 at 04:29:01PM -0600, Jeremy Blosser muttered: -> Edmund GRIMLEY EVANS [[EMAIL PROTECTED]] wrote: -> > Jimmy Mäkelä <[EMAIL PROTECTED]>: -> > > Is it possible to look at the original To: of the message which I wan't -> > > to reply to, and execute commands based on the contents

Re: Question about $from and send-hooks

2000-03-26 Thread Mikko Hänninen
Aaron Schrab <[EMAIL PROTECTED]> wrote on Sat, 25 Mar 2000: > The order for this stuff is: > > - Apply $from > - Do $reverse_name > - Do send-hooks (including 'my_hdr From:') Ok, thanks for the explanation. I suppose the default send-hook then should have a "

Re: Question about $from and send-hooks

2000-03-26 Thread Aaron Schrab
override a default set by my_hdr. The order for this stuff is: - Apply $from - Do $reverse_name - Do send-hooks (including 'my_hdr From:') If applying $from were to be moved after the send-hooks, then $from would have exactly the same problems as 'my_hdr From:'. Unless applying

Question about $from and send-hooks

2000-03-24 Thread Mikko Hänninen
Hi, My turn to have a question. :-) Since I seem to answer questions about send-hooks, $reverse_name, my_hdr From: etc., I thought I should try to finally adapt my own .muttrc files to using "set from=" instead of "my_hdr From:". I ran into a problem though. I simply r

Re: Using send-hooks with replies

2000-01-26 Thread Jeremy Blosser
Edmund GRIMLEY EVANS [[EMAIL PROTECTED]] wrote: > Jimmy Mäkelä <[EMAIL PROTECTED]>: > > Is it possible to look at the original To: of the message which I wan't > > to reply to, and execute commands based on the contents of that. > > > > This would be nice since it is pretty common to have more th

Re: Using send-hooks with replies

2000-01-26 Thread Thomas Roessler
On 2000-01-26 13:25:33 +, Edmund GRIMLEY EVANS wrote: > See reverse_name in the latest mutt. Unfortunately this isn't in > mutt-1.0, I think. Reverse_name is a pretty old feature, and certainly present in stable. However, it's more useful together with the new versions' "from" variable. --

Re: Using send-hooks with replies

2000-01-26 Thread Mikko Hänninen
Edmund GRIMLEY EVANS <[EMAIL PROTECTED]> wrote on Wed, 26 Jan 2000: > This must surely be the second most frequently asked question (after > the one about hooks having a permanent effect unless you also have a > default hook to reset the state). Indeed. :-) > See reverse_name in the latest mutt.

Re: Using send-hooks with replies

2000-01-26 Thread Edmund GRIMLEY EVANS
Jimmy Mäkelä <[EMAIL PROTECTED]>: > Is it possible to look at the original To: of the message which I wan't > to reply to, and execute commands based on the contents of that. > > This would be nice since it is pretty common to have more than one > email-address, and it is IMHO better to have t

Using send-hooks with replies

2000-01-26 Thread Jimmy Mäkelä
Is it possible to look at the original To: of the message which I wan't to reply to, and execute commands based on the contents of that. This would be nice since it is pretty common to have more than one email-address, and it is IMHO better to have the address which they wrote to as From in the r

Re: Send-Hooks

1999-12-19 Thread Sean Rima
ever, > $reverse_name doesn't work well with mh_hdr From (which always takes > precedence). So instead you probably should switch to setting the $from > variable, available in Mutt 1.1.1i which you seem to use, rather than > having my_hdr From in your send-hooks. The $from variable wa

Re: Send-Hooks

1999-12-19 Thread Mikko Hänninen
However, $reverse_name doesn't work well with mh_hdr From (which always takes precedence). So instead you probably should switch to setting the $from variable, available in Mutt 1.1.1i which you seem to use, rather than having my_hdr From in your send-hooks. The $from variable was introduced j

Re: Problems using send-hooks?

1999-12-16 Thread Jackal
Thanks...I think the default-hook did the trick ... THanks man! On Thu, Dec 16, 1999 at 07:43:57AM -0500, David T-G wrote: > Hello! > > ...and then Jackal said... > % I have some problems with the send-hooks in my muttrc. It does not seem to > % work as I expect it. Ma

Re: Problems using send-hooks?

1999-12-16 Thread David T-G
Hello! ...and then Jackal said... % I have some problems with the send-hooks in my muttrc. It does not seem to % work as I expect it. Maybe someone can enlighten me. I can try... % % I have these two send-hooks in my muttrc % % send-hook '~t@' 'my_hdr From: Default Name

Problems using send-hooks?

1999-12-16 Thread Jackal
I have some problems with the send-hooks in my muttrc. It does not seem to work as I expect it. Maybe someone can enlighten me. I have these two send-hooks in my muttrc send-hook '~t@' 'my_hdr From: Default Name ; set sendmail='/path/to/sendmail -oi -oem -f default@e

Re: Send-Hooks

1999-12-14 Thread Sean Rima
Hi John! On Tue, 14 Dec 1999, John P . Looney wrote: > On Tue, Dec 14, 1999 at 02:39:23PM +, Sean Rima mentioned: > > Hi David! > > > > On Tue, 14 Dec 1999, David T-G wrote: > > > > > Sean -- > > > > > > If I understand you correctly, you want replies to email sent to your > > > yifan acc

Re: Send-Hooks

1999-12-14 Thread Sean Rima
Hi David! On Tue, 14 Dec 1999, David T-G wrote: > Sean -- > > ...and then Sean Rima said... > % Hi David! > > Hi there! > > > % > % On Tue, 14 Dec 1999, David T-G wrote: > % > % > yifan account to come from your softhome account, but mutt currently sets > % > > % > If that's correct, then

Re: Send-Hooks

1999-12-14 Thread David T-G
Sean -- ...and then Sean Rima said... % Hi David! Hi there! % % On Tue, 14 Dec 1999, David T-G wrote: % % > yifan account to come from your softhome account, but mutt currently sets % > % > If that's correct, then I believe you want to unset "use_from", and you % > might also want to specif

Re: Send-Hooks

1999-12-14 Thread John P . Looney
On Tue, Dec 14, 1999 at 02:39:23PM +, Sean Rima mentioned: > Hi David! > > On Tue, 14 Dec 1999, David T-G wrote: > > > Sean -- > > > > If I understand you correctly, you want replies to email sent to your > > yifan account to come from your softhome account, but mutt currently sets > > your

Re: Send-Hooks

1999-12-14 Thread Sean Rima
Hi David! On Tue, 14 Dec 1999, David T-G wrote: > Sean -- > > If I understand you correctly, you want replies to email sent to your > yifan account to come from your softhome account, but mutt currently sets > your from address as yifan when it sees that the email was sent there. > > If that's

Re: Send-Hooks

1999-12-14 Thread David T-G
Sean -- If I understand you correctly, you want replies to email sent to your yifan account to come from your softhome account, but mutt currently sets your from address as yifan when it sees that the email was sent there. If that's correct, then I believe you want to unset "use_from", and you m

Send-Hooks

1999-12-13 Thread Sean Rima
my Yifan.net account that Mutt replies using the Yifan.net as the from address instead of the softhome.net one. Any suggestions, as I played around with Send-hooks. Using 1.1.1i Sean -- GPG ID (DSA) 92B9D0CF PGP2 ID 19592A0D Linux User: #124682 ICQ: 679813 To get my PGP Keys send me an empty

Re: send-hooks

1999-09-19 Thread Stefan Troeger
Hi, On Sun, Sep 19, 1999 at 17:16 +0200, Moritz Schulte wrote: > ok, i´ve a question about send-hooks: > is there a possibilitie to let send-hooks affect only this one mail? > an exmaple: > pgp_autoencrypt is unset and i want mails to one andress get > encrypted. > if i se

send-hooks

1999-09-19 Thread Moritz Schulte
hi ! im quiet new in using Mutt, but it just great ! :-) ok, i´ve a question about send-hooks: is there a possibilitie to let send-hooks affect only this one mail? an exmaple: pgp_autoencrypt is unset and i want mails to one andress get encrypted. if i set "pgp_autoencrypt" via a se

Re: send-hooks - cruel

1999-06-25 Thread Anonymous
der. I believe there is a limitation that the subject cannot be set by send-hooks. But any other header should be settable. > I need to change the "From:" in a scripted mail out that I do with > perl. Why use Mutt? Why not simply format your headers the way you want them to be,

Re: send-hooks - cruel

1999-06-25 Thread Anonymous
Eric Smith <[EMAIL PROTECTED]> wrote: > > Many months of fiddling and I have not managed to get send-hooks to work. In what way do they fail to work? > Here is my muttrc - can you see why? No. They work for me, though. -- David DeSimone | "The doctrine of human equa

send-hooks - cruel

1999-06-25 Thread Anonymous
Hi Many months of fiddling and I have not managed to get send-hooks to work. Here is my muttrc - can you see why? #send-hook '~A' 'my_hdr From: Mutt User ' send-hook '~A' 'my_hdr Subject: THIS IS VERY IMPORTANT' #send-hook . 'my_hdr From: &l

Using autoedit with send-hooks ?

1999-06-09 Thread James FitzGibbon
I use the autoedit feature of Mutt, and have found that it's incompatible with using send-hooks. Since mutt doesn't prompt you for a recipient when autoedit is turned on, the send-hook never activates. I realize that this falls under the note in the documentation for send-hook, but h

backslashes in send-hooks

1999-01-03 Thread Greg Matheson
Why do I need to put two backslashes before the '+' in the first regexp, but only one before the '.' in the second? send-hook '~t ^lang\\+moo' 'my_hdr From: Mr Bean ' I have a mailing list set up at a box in my email address and I want to change my From: line for emails to that email+box addre