[Exim] rewrite question

Top Page
Delete this message
Reply to this message
Author: Wouter Bakker
Date:  
To: Exim \(E-mail\)
Subject: [Exim] rewrite question
hello all,

i have a little question about rewriting the user-part of incoming mail. ie:
not the /etc/aliases file; here's the setting: i have two users; john and
john. the oldest john uses the local username john and the mailalias
nickname@???; the youngest john uses local username othernick but
wants to use the mail-alias john@???. the problem is that the
oldest john can easily use any alias through the aliases-file and get all
this mail into the john-mailbox, including john@???. how do i
perform a rewrite on john@??? on incoming - before it is processed
by /etc/aliases - into othernick@???? in this manner
nickname@??? will be delivered to localuser john and
john@??? will be delivered to localuser othernick.
the solution will not be to swap the usernames as this is simply not
possible.

who can help?

greetings and tia, wouter.