[exim] exim filter documentation error: first_delivery

Top Page
Delete this message
Reply to this message
Author: Daniel Tiefnig
Date:  
To: exim-users
Subject: [exim] exim filter documentation error: first_delivery
Hej,

there's an error in the exim filter specification describing the
"first_delivery" condition.

http://exim.inode.at/exim-html-4.30/doc/html/filter_3.html#SECT3.27

Doc says:
| In a user filter file it will be false only if there was previously an
| error in the filter, or if a delivery for the user failed owing to,
| for example, a quota error, or forwarding to a remote address that was
| deferred for some reason.


This is not completely correct, as "first_delivery" will also be TRUE
when there was a delivery in the exim filter allready. So the following
filter will send two replies in any case:

| mail to $return_path
|    subject "reply 1 from filter"
|    text "mail body blah"

|
| if not first_delivery
| then
|    mail to $return_path
|       subject "reply 2 from filter"
|       text "mail body blah"
| endif



lg,
daniel