Sadly this will fail if the message is directed at an alias.
Thanks,
dean
-----Original Message-----
From: exim-users-bounces+dbishop=rocksolidhq.com@???
[
mailto:exim-users-bounces+dbishop=rocksolidhq.com@exim.org] On Behalf
Of Jeremy Harris
Sent: Wednesday, November 30, 2011 7:22 AM
To: exim-users@???
Subject: Re: [exim] Archiving Problems
On 2011-11-30 11:46, Dean Bishop wrote:
> If a message is received for an account/alias that does not exist then
I get an error:
>
> 2011-11-29 17:01:57 1RVTMY-00086X-Qi failed to open
//etc/servername.domain.com/passwd for linear search: No such file or
directory
So check if the account exists first? At the very worst, use the
existence of the
file ( ${if exists {<filename>}} ) as a proxy for the account existence?
--
Jeremy
--
## List details at
https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at
http://www.exim.org/
## Please use the Wiki with this list -
http://wiki.exim.org/