Re: [Exim] Email forwarding with virtual users

Top Page
Delete this message
Reply to this message
Author: Daniel Cooper
Date:  
To: masta
CC: dcooper, exim-users
Subject: Re: [Exim] Email forwarding with virtual users
Thankyou very very much,
That worked fantastically!

Regards,
Daniel

>
>
> On Mon, 30 Dec 2002, Daniel Cooper wrote:
>
>> Ok,
>> I am using exim 4.10, and I am happy to upgrade to the lastest if
>> required. This smtp server is serving about 5 different domains.
>
> You should upgrade to exim 4.12 it has many new features.
>
>> Most of the uses have no real understanding on how to use computers
>> (read: family), hence I do not want to give them logins on my
>> computer.
>>
>> All the MailDirs exit under /opt/services/<domain>/<local_part> on the
>> file system.
>>
>> I have this in my exim.conf for the redirects, however I basically
>> copied it off the manual.
>
> What "this?"
>
>> I am not sure of a way for the users to easily modify their .forward
>> files
>
> Webinterface?
>
>> yet, so I have no preference to use .forward files in the MailDirs or
>> a single file in (eg. /etc/mailforwards).
>> For the moment, I imagine I will manually update the forwards, but in
>> the future, if there is a way to make this functionality available to
>> the users, then I will try and get that working.
>
> A simple router for your needs.
>
> virtual_aliases:
> driver = redirect
> data = ${lookup {$local_part@$domain} lsearch*@ {/etc/mailforwards}}
>
>
> /etc/mailforwards should look like this
>
> user1@???: user3@???
> user2@???: user1@???
> *@domain3.com: user1@???
> etc...
>
> ciao
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##