Re: [exim] Re : Rewrite of <>

Top Page
Delete this message
Reply to this message
Author: Klaus Ethgen
Date:  
To: Christian Gregoire
CC: exim-users@exim.org
Subject: Re: [exim] Re : Rewrite of <>
Hi,

Am Mo den 17. Okt 2011 um 21:58 schrieb Christian Gregoire:
> >I stumbled over the problem that I want to rewrite the bounce address
> >(<>) but this seems not to match in a rewrite. What I have right now is
> >  * "${perl{ldap_get_hostmaster}{$sender_host_address}}" Fs
>
> >but that only match existing addresses.

[...]
> Don't know if that matches your need but here I go :
>
> begin rewrite
>
> \N^<\s*>$       <mailer-daemon@DEFAULT_DOMAIN>             S


Thanks. I tried something like that before. Unfortunately it matches to
all, the sender _AND_ the recipient. But for your regex that should be
irrelevant. I'll give it a try.

Regards
   Klaus
- -- 
Klaus Ethgen                              http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16   Klaus Ethgen <Klaus@???>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C