Terje Trane <[email protected]> wrote:
> I'm using Exim filter in .forward with logfile set to $home/filter.log. 
> This logs the timestamp, from and subject.

> Is there a way to log what actions are taken, i.e. where were mails 
> saved or whatever, (and optionally what matched)?
[...]

if some condition
then
    logwrite "$tod_log save message _from_ $header_From: _with_ 
$header_Subject: _to_ $header_To: M-ID $message_id to folder .special-folder"
    save $home/Maildir/.special-folder/
endif

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'


-- 
## List details at https://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