[exim] Correct way to forward?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Rob Gunther
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] Correct way to forward?
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.