Re: [exim] When using Exim filter from .forward, can I get t…

Pàgina inicial
Delete this message
Reply to this message
Autor: Andreas Metzler
Data:  
A: exim-users
Assumpte: Re: [exim] When using Exim filter from .forward, can I get the action taken logged?
Terje Trane <terjet@???> 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'