On Wed, Jan 22, 2025 at 2:31 PM Andrew C Aitchison via Exim-users < exim-users@lists.exim.org> wrote:
> 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 > john...@johndoe.com > > 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: > > > > the_local_p...@mydomain.name * sender@some_domain_name F,24h,1m > > Do you mean to retry every minute for 24 hours ? > Wait a moment! I think I missed a point on that timing. I need the email to stay in the queue and be delivered after 24hrs. So is the correct retry I need written as F,1d,24h - to mean, retry every 24hrs for 1d? Thanks for offering me a 3rd eye. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html] -- ## subscription configuration (requires account): ## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/ ## unsubscribe (doesn't require an account): ## exim-users-unsubscr...@lists.exim.org ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/