Yes, this was what I meant. I already solved the problem by setting up a cron job that greps the logs for these errors and alerts postmaster if these exist. Now that only works after the fact; I use log rotation so my cron job looks at the last day's log file, but it's good enough for my use case.
On Mon, 28 Oct 2024 at 21:26, Jasen Betts via Exim-users <[email protected]> wrote: > > On 2024-10-25, Tapio Peltonen via Exim-users <[email protected]> > wrote: > > I would like to set up exim to send recipient error 554 bounces to > > postmaster (or another local address) in addition to the original > > sender, but not other permanent errors. Any ideas how to configure > > this? > > Assuming you mean 554 response from other servers during SMTP delivery. > > In the notsmtp ACL do tests to detect these bounces and > set an acl_m variable for these bounces, and then In rhe > routers add an "unseen" delivery to your local address > conditional on the acl_m variable. (a redirect router with unseen set) > > -- > Jasen. > 🇺🇦 Слава Україні > > -- > ## 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/ -- ## 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/
