On 2009-03-31, Odhiambo Washington wrote:

> On Tue, Mar 31, 2009 at 3:12 PM, Adam Funk <[email protected]> wrote:
>
>> I've been looking at the Exim filter spec (sec.3.15, "Logging
>> commands") and I'd like to include the year and week number in the log
>> filename: something like this
>>
>>   logfile $home/filter.${some.string.expansion}.log
>>
>> which would then write the log output in "~/filter.2009w14.log" this
>> week, "~/filter.2009w15.log" next week, etc.
>>
>> Is this possible?
>
>
> Yes, it is.
>
> man date
>
> I have the following in my main configuration file:
>
> log_file_path                 = /var/log/exim/%s.%D.log
>
> After "man date" you sure can come out with something that does what you
> want.

Do those variables work in a user's filter as well as the Exim
configuration itself?

Thanks,
Adam


-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to