Rewrite rules

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jon Morby
日付:  
To: exim-users
題目: Rewrite rules
I've been following this list for a while, and finally decided to take the
plunge and drop MMDF in favour of Exim on my machines at home which handle
mail for various parts of the fidonet.org domain. (plus a few other odd
domains)

Having done nearly all the converting, I've run into one small problem,
which is probably more cosmetic than anything, but here goes.

I have a large number of users of the gateway who hide behind addresses in
the vanity domains, as opposed to using the fnz variant of the domain in
communicating with the outside world.

This means that the rewrite section looks fairly large and unwieldly, and I
wanted to move it into a dbm file, especially if I can do partial matching
(in the case of points, etc).

So, question ... is it possible to incorporate the rewrite section as a dbm
include, and if so how? (probably a fairly simple question, but it's
bugged me since Monday and I haven't sussed it).

For those who're interested I'm doing something like this ...

*@*.f153.n254.z2.fidonet.org    $1@???
*@f153.n254.z2.fidonet.org      $1@???


but also this

*@*.frost.net                    $1@???


The other question is, I'm doing this as a rewrite, is there a
better/simpler place to do it?

The resultant envelope needs to either have the RHS as it's
destination or a source routed address, (such as
@mail-relay.fidouk.org:fred@???)

Suggestions?