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

Re: folder-hook evaluation when invoked with email address



On Mon, Jul 24, 2006 at 01:07:42PM -0400, Patrick Shanahan wrote:
> > > 
> > > Don't know how you would get mutt to evaluate folder-hooks when mutt in
> > > not in a "mail" folder.  IIAC, you are invoking mutt in a single
> > > purpose atmosphere.
> > > 
> > > Now, it might be possible to have your "mailto:"; call a script instead
> > > of mutt, and have mutt opened in a specific folder (mutt -y <folder>)
> > > and supply the to: address with a variable....
> > 
> > Well, what I'm trying to get it to do at a minimum is to set the From:
> > address and the PGP signature correctly.  These are done in the default
> > folder-hooks in my muttrc, but mutt seems to ignore them in this case
> > when invoked with a recipient address on the command line.  Do you see
> > what I mean?
> 
> Completely and I offered the only possible (?) solution that comes to
> mind.  Did you try it?

mutt -y uunet tries to mail uunet@localhost so I'm not sure what is
going on.  I am using mutt 1.5.11 from Debian.  Having mailto: call a
script is no problem but I'm not sure exactly what the script should do.

-- 
Ryan Underwood, <nemesis@xxxxxxxxxxxx>