Author: Jeremy Harris Date: To: exim-users Subject: Re: [exim] Conditional forward suggestions
On 28/04/14 14:16, Gary Stainburn wrote: > What I'm looking for is some way of disabling the forward to gmail if I'm
> currently at my PC.
>
> This gives me two problems,
>
> 1) how do I detect when I'm at my PC?
>
> 2) how do I disable / enable the forwarding?
>
> For this I was thinking of using a trigger file created / deleted by whatever
> method I get for (1) above. Then within my .forward check to see if this file
> exists.
Not in a .forward.
You might be able to do it in a filter - but if this is a single-user PC
it'd be simpler to code it in your exim router chain.
--
Cheers,
Jeremy