Re: hook syntax (was: Multiple accounts (using Gmail))

2009-03-05 Thread Bill Moseley
On Thu, Mar 05, 2009 at 12:57:45PM -0600, Kyle Wheeler wrote: > reply-hook . \ > 'set signature=~/.standardsig.txt' > > reply-hook '~e owner-mutt-us...@mutt.org' \ > 'set signature=~/.muttsig.txt' > > Yes, you *can* embed reply-hooks in folder-hooks, bu

Re: hook syntax (was: Multiple accounts (using Gmail))

2009-03-05 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday, March 5 at 08:25 AM, quoth Bill Moseley: >On Thu, Mar 05, 2009 at 01:54:26AM -0600, Kyle Wheeler wrote: >> My point was that if you use some sort of hook for setting the From >> header, you can use that same hook for changing whatever se

hook syntax (was: Multiple accounts (using Gmail))

2009-03-05 Thread Bill Moseley
On Thu, Mar 05, 2009 at 01:54:26AM -0600, Kyle Wheeler wrote: > My point was that if you use some sort of hook for setting the From > header, you can use that same hook for changing whatever settings. Ok, so I have this working to change my signature and from header when replying to a message sen

Re: Multiple accounts (using Gmail)

2009-03-04 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, March 4 at 02:51 PM, quoth Bill Moseley: >(Sorry Grant -- that sentence didn't make any sense). > >On Wed, Mar 04, 2009 at 11:21:19AM -0600, Kyle Wheeler wrote: >> >> >> What do I use for matching on the From: header? >> >> What do you

Re: Multiple accounts (using Gmail)

2009-03-04 Thread Bill Moseley
(Sorry Grant -- that sentence didn't make any sense). On Wed, Mar 04, 2009 at 11:21:19AM -0600, Kyle Wheeler wrote: > > >> What do I use for matching on the From: header? > > What do you use for SETTING the From: header? I'm using: my_hdr From: Bill Moseley This is pretty basic. Possibl

Re: Multiple accounts (using Gmail)

2009-03-04 Thread Grant Edwards
On 2009-03-04, Bill Moseley wrote: > Pinging this again. Specifically, about what kind of hook to use to > base setting one the email address *I'm* using to adjust config. Sorry, I'm unable to parse that second sentence. What exactly are you asking? -- Grant Edwards grante

Re: Multiple accounts (using Gmail)

2009-03-04 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, March 4 at 09:02 AM, quoth Bill Moseley: >Pinging this again. Specifically, about what kind of hook to use to >base setting one the email address *I'm* using to adjust config. > >On Mon, Mar 02, 2009 at 03:01:30AM -0800, Bill Moseley wr

Re: Multiple accounts (using Gmail)

2009-03-04 Thread Bill Moseley
Pinging this again. Specifically, about what kind of hook to use to base setting one the email address *I'm* using to adjust config. On Mon, Mar 02, 2009 at 03:01:30AM -0800, Bill Moseley wrote: > With two accounts I'm using an account-hook. > > account-hook . \ > 'unset imap_user >

Multiple accounts (using Gmail)

2009-03-02 Thread Bill Moseley
With two accounts I'm using an account-hook. account-hook . \ 'unset imap_user unset imap_pass' account-hook imaps://imap.example.com/ \ 'set imap=user=bill set imap_pass=password' account-hook imaps://imap.gmail.com/ \ 'set imap_user=user