Re: set Bcc when To: is not myself

2017-12-26 Thread Patrick Shanahan
* Yubin Ruan [12-26-17 20:40]: > On Mon, Dec 18, 2017 at 02:16:22PM +0800, Yubin Ruan wrote: > > How can I set the Bcc: to myself when To: is not myself? > > > > I try something like this but it does not work: > > send-hook "!~t ablacktsh...@gmail.com" 'my_hdr Bcc:

Re: set Bcc when To: is not myself

2017-12-26 Thread Yubin Ruan
On Mon, Dec 18, 2017 at 02:16:22PM +0800, Yubin Ruan wrote: > How can I set the Bcc: to myself when To: is not myself? > > I try something like this but it does not work: > send-hook "!~t ablacktsh...@gmail.com" 'my_hdr Bcc: Yubin Ruan > ' > > Then I try this and it

Re: reference the folder name in a folder-hook push command

2017-12-26 Thread Yubin Ruan
On Tue, Dec 26, 2017 at 04:23:50PM +0100, Arkadiusz Drabczyk wrote: > On Tue, Dec 26, 2017 at 06:36:20AM +0800, Yubin Ruan wrote: > > Hi, > > > > I have a folder hook like this: > > > > folder-hook =somembox 'push "!touch /tmp/\1-touched\n"' > > > > where I would like to create a file

Re: reference the folder name in a folder-hook push command

2017-12-26 Thread Arkadiusz Drabczyk
On Tue, Dec 26, 2017 at 06:36:20AM +0800, Yubin Ruan wrote: > Hi, > > I have a folder hook like this: > > folder-hook =somembox 'push "!touch /tmp/\1-touched\n"' > > where I would like to create a file "/tmp/somebox-touched" when I select and > enter a mailbox. As you can see, \1 here