[exim-dev] [Bug 734] "(un)seen deliver" command (system filt…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Graeme Fowler
日付:  
To: exim-dev
古いトピック: [exim-dev] [Bug 734] New: "(un)seen deliver" command (system filter) makes message "complete" prematurely
題目: [exim-dev] [Bug 734] "(un)seen deliver" command (system filter) makes message "complete" prematurely
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=734

Graeme Fowler <graeme@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |graeme@???





--- Comment #3 from Graeme Fowler <graeme@???> 2008-12-13 11:51:12 ---
See Ch 43:

Warning: If a system filter uses the first_delivery condition to specify an
“unseen” (non-significant) delivery, and that delivery does not succeed, it
will not be tried again. If you want Exim to retry an unseen delivery until it
succeeds, you should arrange to set it up every time the filter runs.

Now you're doing a "seen deliver", which is slightly different in that it
creates a *significant delivery* - this is not adding a recipient, it's
actually re-routing the message to the other address.

In a debug session just now, I see this snippet with "seen":

body_linecount=2 message_linecount=9
running system filter
rda_interpret (file): /home/graeme/system_filter
expanded: /home/graeme/system_filter
187 bytes read from /home/graeme/system_filter
data is an Exim filter program
Filter: start of processing
Filter: end of processing
system filter returned 0
LOG: MAIN
original recipients ignored (system filter)
system filter added copyaddress@???
Delivery address list:
copyaddress@???

But with "unseen" I see:

body_linecount=2 message_linecount=9
running system filter
rda_interpret (file): /home/graeme/system_filter
expanded: /home/graeme/system_filter
189 bytes read from /home/graeme/system_filter
data is an Exim filter program
Filter: start of processing
search_tidyup called
Filter: end of processing
system filter returned 1
system filter added copyaddress@???
Delivery address list:
copyaddress@???
graeme@???


If you use "seen", the original recipient is changed and delivery will fail if
the remote MX is dead (or some other problem exists), especially if this is the
case for a long period.

If you use "unseen", it's different and the message to the original recipient
will be sent; the unseen copy will fail. You can change the behaviour at this
point with the "errors to" option.

This is all documented and is expected behaviour.

Graeme


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email