Re: [exim] pgsql lookup

Top Page
Delete this message
Reply to this message
Author: Eduardo Gargiulo
Date:  
To: exim-users
Subject: Re: [exim] pgsql lookup
Johannes Berg <johannes@???> said:

> [...]
> Now that depends on what kind of lookups you want to do. Generally
> speaking, in ACLs you use
> condition = ${lookup pgsql....}
> (see http://exim.org/exim-html-4.40/doc/html/spec_9.html#SECT9.17)
>
> If you describe in more detail what you want to do, I'm sure I and
> others can help you with the specific problem you're facing.


First of all, thanks for your reply.

I want to use the same source of authentication (in this case a table on
postgresql database) for exim and my web application. The application have a
user management module (create, delete, modify users and password) and I would
like to use that user information as mail accounts in exim. I could alter the
table definition to fit exim requirements.

For example, if a mail messege arrives for a user created from the web
interface, I would like that exim create the Maildir and delivers the message
to the right folder. If the user does not exist in the pgsql table (and the
system), exim should bounce the message.

I want exim uses pgsql table information for mail deliveries. I don't want
exim to store the messages on the database, the filesystem is good.

I you want more details, please ask me. It's very difficult for me to write
good expressions/sentences in english (spanish is my mother tongue).

Regards,

--ejg