Re: [Exim] change return-path:

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jan Kriesten
Date:  
À: Nico Erfurth
CC: exim-users
Sujet: Re: [Exim] change return-path:
hi nico,

> Watch for the headers_add option.
> And check the docs for VERP.


i tried the following router configuration:

---8<---
lists:
driver = redirect
condition = ${if exists{/etc/exim/lists/$domain/$local_part} {1}{0}}
senders = ${if
exists{/etc/exim/lists/$domain/$local_part.acl}{lsearch;/etc/exim/lists/$domain/$local_part.acl}
fail}
file = /etc/exim/lists/$domain/$local_part
headers_remove = "Sender:From:Envelope-to:Organization"
headers_add = "Return-path: <$local_part@$domain>\nFrom:
$local_part@$domain\nEnvelope-to: $local_part@$domain"
no_check_local_user
forbid_pipe
forbid_file
skip_syntax_errors
errors_to = $local_part@$domain
no_more
---8<---

but this gives me two return-path entries in mails. also, the documentation
states, that it's not possible to remove return-path-entries with
headers_remove. verp does only work with transports, right?

              --- jan.



--------------------------------------------------
sign of renitence GmbH & Co. KG
büro hamburg - geibelstr. 54
d-22303 hamburg - germany
fon +49-40-24180959 - fax +49-40-27805131
handelsregister nürnberg - hra 12518