On 2025/08/05 4:53 PM, Peter Thomassen via Exim-users wrote:
I'd like this "mail" command to run only when the .reply.msg file exists,

The docs for exim-filters talk about all of Exim's string-expansions being
available.  There's an expansion-condition "exists".  Use that, in a
"${if <condition> {result-if-true} {result-if-false}}" string-expansion,
to get something that an exim-filter "if" condition can test.

(and, as Viktor points out: fix that potential loop)
--
Cheers,
  Jeremy

--
## 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