A friend and I would like to use exim as a sort of anonymous remailer.
We have a machine that we'd like to act as a mail hub for the local
SCA. As you may know, the people in the SCA have their mondane names,
and their SCA names. We want to translate people's mondane
names/addresses into their SCA names so that we can continue to be in
the spirit of the SCA while we're online. Our group generally
everyone's SCA name, but less often knows each other's mondane names.
We also envision this as a stable adress for people.
Ideally, we'd like to have almost no accounts on this machine, so we
can't use the /etc/passwd features of exim without introducing
potential security problems. The machine that handles this must also
do duty as a router.
The problem that we're having is a minor one in the rewriting of
headers. If the mail is from someone we know about, (say
wendy@???), we'd like to rewrite it such that it appears to
come form this machine, with that person's SCA name (eg Fiona di
Puccini <fiona@???>). exim's rewriting rules do this
half way, as far as we can tell. We can get the wendy@??? ->
fiona@??? to happen easily enoougn. However, Wendy's
name seems to be sticky.
So, if mail came in that looked like
Mail From:<wendy@???> (envelope From address)
...
From: Wendy Student <wendy@???>
To: SCA List <sca-list@???>
Subject: ...
Greetings
<rest of mail here>
Fiona di Puccini
we'd like to turn that into:
Mail From:<fiona@???> (envelope From address)
...
From: Fiona di Puccini <fiona@???>
To: SCA List <sca-list@???>
Subject: ...
Greetings
<rest of mail here>
Fiona di Puccini
Our test mail always comes out as:
From: Wendy Student <fiona@???>
which we aren't happy with. Most sane people might be, but we have
our own special requirements :-).
We have a database of all the people that would like to use this
service, and we can generate any file format that you'd like (as long
as it isn't YP or NIS :-). We are quite flexible here, we just don't
know how to make this work.
Does anybody know how we can get that extra little bit of rewriting to
happen with exim? Maybe we've overlooked a useful feature of exim
that could be used to solve this problem. Right now we're
overwhelemed by the 130 page user manual. We think we understand what
is going on, but could easily have missed some critical detail that
would make our lives easy.
Thank you for your time and efforts. We do appreciate any help that
can be rendered.
Warner