Re: Problems using folder-hook to switch smtp server

2011-02-11 Thread Monte Stevens
On Fri, Feb 11, 2011 at 08:45:41AM +0100, Patrick Ben Koetter wrote: I'm trying to use a different SMTP server to send messages whenever mutt is in a special mail folder. This seems to work, but now I noticed that mutt seems to use the special SMTP server for any mail it sends and not just only

Re: Problems using folder-hook to switch smtp server

2011-02-11 Thread Patrick Ben Koetter
* Monte Stevens montk...@yahoo.ca: folder-hook postmaster.customer 'set envelope_from_address=p...@customer.org' folder-hook postmaster.customer 'my_hdr From: Patrick Ben Koetter p...@customer.org' folder-hook postmaster.customer 'set

Re: Problems using folder-hook to switch smtp server

2011-02-11 Thread Patrick Shanahan
* Patrick Ben Koetter p...@state-of-mind.de [02-11-11 04:48]: * Monte Stevens montk...@yahoo.ca: For each special folder-hook line add one folder-hook . 'set variable=default-case' , where variable and default-case are not literal. The folder-hook . lines need to be read by mutt

Re: Problems using folder-hook to switch smtp server

2011-02-11 Thread Michael Elkins
On Fri, Feb 11, 2011 at 08:11:35AM -0500, Patrick Shanahan wrote: default unless your special case is matched. Note: there are a couple of exceptions to this dot line being defined first but they don't immediately come to mind, check the fine manual for hooks. There are essentially two