Re: Transport suddenly stops working for no apparent reason

Vaclav Masin via Exim-users <[email protected]>
Newsgroups gmane.mail.exim.user
Message-ID <2686010.1sObaY1OGq@lenovo-laptop>
On Friday, 15 August 2025 11:24:13 CEST Evgeniy Berdnikov via Exim-users wrote:
>  Hi.
>  
> On Thu, Aug 14, 2025 at 06:29:52PM +0200, Vaclav Masin via Exim-users wrote:
> > I have this set up that redirects messages incoming to a certain address over to a PHP script:
> > 
> > "
> > begin routers
> > 
> > emailing:
> >   driver    = accept
> >   domains   = example.com
> >   transport = transport_script
> >   condition = ${if eq{$header_to:}{[email protected]}}
> >   unseen
> 
>  The condition is inadequate: it does not meet "incoming to a certain address"
>  because destination address is a value of envelope-to, not To/Cc headers.
>  Moreover, this condition may fail for many valid cases of RFC822 syntax.
>  Use local_parts.
> 

Thanks for the tip - I'll certainly look into it (I'm completely new to Exim so I expect it'll take some studying).

>  And use Exim debug mode.
> 

I've added "-d" to Exim's startup options (via /etc/default/exim4 file's COMMONOPTIONS).

Thanks to all for trying to help!

Vaclav


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