Re: Auto-respond only if file exists

Peter Thomassen via Exim-users <[email protected]>
Newsgroups gmane.mail.exim.user
Organization a4a GmbH
Message-ID <[email protected]>

On 8/6/25 09:16, Jeremy Harris via Exim-users wrote:
> 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.

Great, that worked. Thanks!

Best,
Peter

-- 
## 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.