Re: [exim] How to change domain of mail coming from internet

Góra strony
Delete this message
Reply to this message
Autor: Jonathan
Data:  
Dla: Gareth.Segree
CC: exim-users
Temat: Re: [exim] How to change domain of mail coming from internet

ah!

then i'd just do it as such:

    have the lookup for user@??? return 'user@???',  
instead of '/path/to/maildir/mbox/whatever/'


exim will then just redeliver the message to that address

the only caveat though, is that the address won't actually be
rewritten on the message. you could probably handle that with a filter.

but that will , pretty much effortlessly, deliver messages for abx to
the mailbox that xyz gets their mail in


On Nov 3, 2005, at 5:55 PM, Gareth.Segree@??? wrote:

>> begin rewrite
>> \N^(.*)@domain1.com$\N $1@??? STt
>
> But this rewrites every email but I'd like to rewrite it for only a
> list
> of users.