[Pkg-exim4-users] save, in a user filter, ?is not a significant command
ametzler at downhill.at.eu.org
Tue Jun 14 17:15:30 UTC 2011
Regid Ichira <regid23 at yahoo.com> wrote:
> Consider the following user filter:
> $ cat .forward
> # exim filter
> if $h_subject: is "exim filter bug"
> testprint "$h_subject printed by is operator"
> seen save bug
> deliver jc at rome.example
> Here, without the seen modifier, a message with the right subject
> will be saved, and also sent to jc at rome.example. Is that expected with
> the out of the box configuration?
Yes it is. exim filter processing does not stop on the first match.
Exim will happily save five local copies and forward three new copies
to external addresses. If you want to save the message to the bug
mailbox and stop processing of matching addresses afterwards, use the
# exim filter
if $h_subject: is "exim filter bug"
testprint "$h_subject printed by is operator"
deliver jc at rome.example
The existence of significant deliveries influences what happens
*after* the filter was processed. i.e. whether exim will need to run
the message through another router (e.g. delivery to /var/mail/) or
whether the message was processsed and delivered by the filter.
However as "save" is significant by default "seen save bug" and "save
bug" cause exactly the same behavior.
`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'
More information about the Pkg-exim4-users