Autore: Ian Zimmerman Data: To: exim-users Oggetto: Re: [exim] Delaying first delivery from queue
On Tue, 27 May 2014 22:28:03 +0100 (BST)
Dennis Davis <dennisdavis+exim-users@???> wrote:
Dennis> Also see (Chapter 11) the $message_age expansion variable. You
Dennis> could possibly arrange things so delivery isn't attempted until
Dennis> the message is old enough.
Ok, so I tried this (in the routers chapter of config, just before other
local routers):
# this router delays delivery until message is 15 minutes old.
delay_local:
debug_print = "R: real_local for $local_part@$domain"
condition = ${if >{900}{$message_age}}
driver = redirect
data = :defer:
But I am getting this log:
2014-05-27 17:35:33 Start queue run: pid=22838 -qff
2014-05-27 17:35:33 1WpRgN-0005YQ-Mg == itz@???
R=delay_local defer (-17): error in redirect data: ":defer:" is not permitted
2014-05-27 17:35:33 End queue run: pid=22838 -qff
(I got the :defer: from sec. 22.6 of the exim spec.)
--
Please *no* private copies of mailing list or newsgroup messages.