Re: [exim] Correct way to forward?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Rob Gunther
Datum:  
To: exim-users
Betreff: Re: [exim] Correct way to forward?
I figured out my issue.

For every domain on the exim server (none of them are local to the box) I
have a config file. For every user the file contains the destination
server and other settings.

That file is read in the ACL and populates acl_m_delivery variable.

After the address rewrite the routers are run again, but the ACL is not so
the necessary data for delivery is not available. I just need to re-read
the configuration file again to find the destination server etc. and
everything works.


Robert G.


On Thu, Dec 12, 2013 at 11:23 AM, Rob Gunther <redrob@???> wrote:

> I am trying to build a catch-all system with exim.
>
> In my catch-all router I am setting data variable, like this
>
> data = ${quote_local_part:${extract{forward}{$acl_m_delivery}}}@$domain
>
> It is supposed to set the recipient (envelope address) to the forward
> variable that is read from a file.
>
> It party works, in the exim log it generates this line:
>
> 2013-12-12 03:05:00 1Vqwa4-0006wa-Pt ** catcher@example <someguy@example>
> F=<postmaster@sender>: Unrouteable address
>
> The message was to someguy@example and the router changed part of it to
> be catcher@example but part is still there as <someguy@example>.
>
> What would the correct way be to set the envelope address so all mail
> coming to an undefined address goes to the catcher@example address?
> Obviously the data field in a router is not correct.
>
>
>
> Thanks,
>
> Robert G.
>
>
>