Re: [Exim] exim and sql forwarding

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Philipp Jacob
Data:  
Para: exim-users
Asunto: Re: [Exim] exim and sql forwarding
Mike Meredith wrote:

>--
>On Fri, 05 Mar 2004 13:14:35 +0100, Philipp Jacob wrote:
>
>
>>I already found some ideas on that topic, but it was all related to
>>exim4. I use exim 3.35 on a debian box with pgsql support.
>>
>>I'd like to use the value in the 'forward' column (if NOT NULL) and
>>deliver to that address instead of delivering locally.
>>
>>
>
>Run
> "SELECT local_part, forward FROM table WHERE forward NOT NULL" > \
> /etc/aliases
>
>on a regular basis. You'll have to correct the SQL, and munge the output
>into an appropriate format for /etc/aliases. You could come up with
>something more dynamic, but who wants to make their mail server more
>fragile than necessary ?
>
>


Perhaps I don't understand your advise correctly.
What's about the /etc/aliases file? I don't want to use this for forwarding.
I'd like to get all necessary data out of the database.

And another question: What type of director I have to use?
I don't get the difference between the aliasfile and forwardfile director.
Perhaps you could give me a hint how to build up the director.

Thanks in advance,
Philipp