On Wed, 22 Jan 2025, Odhiambo Washington via Exim-users wrote:

Happy New Year to everyone.

I have the need to impose a 24-hr delay on emails from [email protected]
to a local recipient.
I have found this config snippet:
https://github.com/Exim/exim/blob/master/doc/doc-src/FAQ.src#L6892
So I created a router as suggested:

delay_incoming:
 driver = redirect
 domains = mydomain.name
 local_parts = the_local_part
 senders = sender@some_domain_name
 condition = ${if < {$message_age}{86400}{yes}{no}}
 allow_defer
 data = :defer: message not old enough
 no_verify

I tested the router and the email from sender@some_domain_name stayed in
the queue for some time, then it got delivered, I suppose on the next queue
run.
The FAQ says one may want to set a special retry rule, so I figured out I
must create a specific rule for this sender and the recipient.
Looking at the Exim spec, I am missing something on the form this rule is
supposed to take. I have:

[email protected]  *  sender@some_domain_name F,24h,1m

Do you mean to retry every minute for 24 hours ?

--
Andrew C. Aitchison                      Kendal, UK
                   [email protected]

--
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   [email protected]
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to