Re: [Exim] errors_copy; was: Bounce and redirect, wildcards

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Mike Weller
Fecha:  
A: exim-users
Cc: Nico Erfurth
Temas antiguos: Re: [Exim] Bounce and redirect, wildcards in Exim 4.x
Asunto: Re: [Exim] errors_copy; was: Bounce and redirect, wildcards
Nico Erfurth wrote:
>
> Just add another router after your catch_all router
> bounce_back:
> driver = redirect
> allow_filter
> allow_fail
> data = :fail: User unknown


That worked like a charm. Thank you.

> > While I'm here, the errors_copy is a main configuration parameter.
> > How would I do something like:
> > errors_copy = postmaster@$domain
> > I don't want to hardcode a domain. I want to set each postmaster
> > for all the virtual domains individually.
>
> RTFM.
> Just search for errors_copy in spec.txt this should enlighten you.


I did RTFM, but I can't seem to get it to go to the domain I want.
It never goes to the virtual domain. $domain always seems to be
set to the domain of the machine and not the virtual. I tried using
the variable in the routers part, but the option is unknown, so it
has to be in the main part.

Here are the variations that I tried for the "main part":
errors_copy = * errors@$domain
errors_copy = * errors@$qualify_recipient
errors_copy = * errors@$original_domain
errors_copy = *@weller.ws errors@???:* errors@$domain

Is there some variable like $virtual_domain or
$recipient_domain that will work? With errors@$domain, everytime
I send email to sdkfskjdskd@???, the error bounces to
errors@???.

Thanks again.

--
Michael J. Weller, M.Sc.
University of Windsor
Windsor, ON, Canada