On Sat, Apr 20, 2002 at 10:04:59AM +1200, Volker Kuhlmann wrote: > > > > > how can I set the envelope-from independently from From: ? > > > > ~~/.muttrc: > > > > > > folder-hook ".*-List" set sendmail="/usr/sbin/sendmail -oem -oi" > > > > -oem: unknown variable > > > > > > which I can't make sense of. Can anyone enlighten me?
> Question: what's wrong with > > folder-hook ".*-List" set sendmail="/usr/sbin/sendmail -oem -oi" > > in ~/.muttrc? mutt complains about the -oem and some "variable". > Does the rc-file parser stuff up here? Is the syntax incorrect? The > value assigned to sendmail *is* quoted. Well, the value of sendmail *was* quoted when the folder-hook command was parsed, but that operation stripped off the first layer of quotes, leaving the folder-hook's second argument as: set sendmail=/usr/sbin/senmail -oem -oi Hence the error you're seeing. One way to fix this is to quote the entire set command as well as the sendmail value: folder-hook ".*-List" 'set sendmail="/usr/sbin/sendmail -oem -oi"' Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Spokane, Washington, USA http://www.spocom.com/users/gjohnson/mutt/ |