[Exim] address rewriting - need help

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Thomas Kinghorn
日付:  
To: 'Exim-Users (E-mail)'
題目: [Exim] address rewriting - need help
Good afternoon.

Have a bit of a problem.

Need to set up a lookup type to rewrite the $local_part and the $domain for
for domains which I forward to.

the file contains lists like below:

username@???        newname@???
*@domainname.tld            *@server.domainname.tld


basically the MX records point to my server, then the username needs to
rewritten
to match the mailbox and the domain name needs to be rewritten to
server.domainname.tld.

all mail gets forwarded to various exchange servers so the exim server is a
HUB.

is there a way to look up the localpart and domain on 1 lookup?

<something like below...i need help with the syntax>

*@*
$lookup{$1}$lookup{$2}lsearch{/etc/mail/exim-forwarders/address.rewrite}{$va
lue}fail) hT

Regards,

Tom Kinghorn