* Volker Kuhlmann <[EMAIL PROTECTED]> [2002-04-20 23:26]:
> > > folder-hook ".*-List" set sendmail="/usr/sbin/sendmail -oem -oi"
> > Well, the value of sendmail *was* quoted when the folder-hook command
> > was parsed, but that operation stripped off the first layer of quotes,
> AHHHH!! OK, that makes good Sense. Thanks Gary.
> This is not in the manual, I searched for "quote"
> in manual-?.html. Or is it hidden somewhere?
> Shouldn't it be mentioned in sections 3.1 or 3.5?

please read the manual carefully:

  3.5.  Setting variables based upon mailbox
  folder-hook [!]regexp command

it says "command" - so this is *one* parameter while
  set sendmail=.. -oem oi
are *four* parameters.  see?

so this should work:
  folder-hook -List 'set sendmail="/usr/sbin/sendmail -oem -oi"'
(the ".*" is superfluous here.)

same goes for adding a subject on the command line:
  mutt -s 'this is a subject line' sveng
  mutt -s  this is a subject line  sveng

the first sends a mail to sveng with subject
  Subject: this is a subject line
  To: sveng

while the second sends
  Subject: this
  To: sveng, is, a, subject, line

all clear now?

Sven

Reply via email to