Re: Data model for Postfix v2

Lists: pgsql-general
From: John Sidney-Woollett <johnsw(at)wardbrook(dot)com>
To: postgres general <pgsql-general(at)postgresql(dot)org>
Subject: Data model for Postfix v2
Date: 2004-07-27 07:35:11
Message-ID: 410605AF.3060100@wardbrook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Just asking in case anyone has this info...

Does anyone have a complete and working data model that allows Postfix
v2 to lookup domain/user lookups (including virtual domains and users).

I've got mostly working data model cobbled together over a period of
time, but I can't get my config/db model to allow mail forwarding for
local users to a remote mail address (aliasing).

I know that this is just a config issue, but I think the combination of
my data model and lookup table configs (in main.cf) and sql statements
is screwed.

If anyone has a decent model that they'd be willing to share with their
main.cf table lookup entries (that use the db) and the extra .cf files
that detail the sql statements used, could they let me know?

Thanks

John Sidney-Woollett


From: Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk>
To: John Sidney-Woollett <johnsw(at)wardbrook(dot)com>
Cc: postgres general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Data model for Postfix v2
Date: 2004-07-27 09:28:30
Message-ID: 20040727102830.A25641@bacon
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general


On 27/07/2004 08:35 John Sidney-Woollett wrote:
> Just asking in case anyone has this info...
>
> Does anyone have a complete and working data model that allows Postfix
> v2 to lookup domain/user lookups (including virtual domains and users).

Googling came up with

http://www.high5.net/howto/

which explains how to set it up with MySQL. Maybe you could use that as a
starting point?

--
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for
Business |
| Computer Consultants |
http://www.thomas-micro-systems-ltd.co.uk |
+------------------------------+---------------------------------------------+


From: Devrim GUNDUZ <devrim(at)gunduz(dot)org>
To: Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk>
Cc: John Sidney-Woollett <johnsw(at)wardbrook(dot)com>, postgres general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Data model for Postfix v2
Date: 2004-07-27 09:31:57
Message-ID: Pine.LNX.4.44.0407271231040.30899-100000@emo.org.tr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Tue, 27 Jul 2004, Paul Thomas wrote:

> > Just asking in case anyone has this info...
> >
> > Does anyone have a complete and working data model that allows Postfix
> > v2 to lookup domain/user lookups (including virtual domains and users).
>
> Googling came up with
>
> http://www.high5.net/howto/
>
> which explains how to set it up with MySQL. Maybe you could use that as a
> starting point?

No way...

There is a problem with PostgreSQL authentication there which I could not
solve since 15 days. There must be something different, but what? :)

Regards,
- --
Devrim GUNDUZ
devrim~gunduz.org devrim.gunduz~linux.org.tr
http://www.tdmsoft.com
http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBBiEOtl86P3SPfQ4RAnsyAJ9PFC4IkCysz1Ovd9RMOPKppbmGgACg7W/0
1mt9e4W/u8MYGPmHipTcc/4=
=DJK5
-----END PGP SIGNATURE-----


From: John Sidney-Woollett <johnsw(at)wardbrook(dot)com>
To: Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk>
Cc: postgres general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Data model for Postfix v2
Date: 2004-07-27 09:43:33
Message-ID: 410623C5.8060905@wardbrook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Thanks for the link - I think I've have seen this before.

I'm really trying to find a definitive covers all bases data model that
will provide the functionality I need. My DB data model/postfix config
is now so butchered that I wanted a "good" data model to start afresh with.

I'll take a fresh look at this, it may provide the answers to my problems.

Thanks for your help.

John Sidney-Woollett

Paul Thomas wrote:

>
> On 27/07/2004 08:35 John Sidney-Woollett wrote:
>
>> Just asking in case anyone has this info...
>>
>> Does anyone have a complete and working data model that allows Postfix
>> v2 to lookup domain/user lookups (including virtual domains and users).
>
>
> Googling came up with
>
> http://www.high5.net/howto/
>
> which explains how to set it up with MySQL. Maybe you could use that as
> a starting point?
>


From: John Sidney-Woollett <johnsw(at)wardbrook(dot)com>
To: Devrim GUNDUZ <devrim(at)gunduz(dot)org>
Cc: Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk>, postgres general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Data model for Postfix v2
Date: 2004-07-27 09:45:36
Message-ID: 41062440.3060704@wardbrook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

I don't have any problem getting postfix to talk to postgres - I just
have a problem getting postfix to do what i want! :)

John Sidney-Woollett

Devrim GUNDUZ wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Hi,
>
> On Tue, 27 Jul 2004, Paul Thomas wrote:
>
>
>>>Just asking in case anyone has this info...
>>>
>>>Does anyone have a complete and working data model that allows Postfix
>>>v2 to lookup domain/user lookups (including virtual domains and users).
>>
>>Googling came up with
>>
>>http://www.high5.net/howto/
>>
>>which explains how to set it up with MySQL. Maybe you could use that as a
>>starting point?
>
>
> No way...
>
> There is a problem with PostgreSQL authentication there which I could not
> solve since 15 days. There must be something different, but what? :)
>
> Regards,
> - --
> Devrim GUNDUZ
> devrim~gunduz.org devrim.gunduz~linux.org.tr
> http://www.tdmsoft.com
> http://www.gunduz.org
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
>
> iD8DBQFBBiEOtl86P3SPfQ4RAnsyAJ9PFC4IkCysz1Ovd9RMOPKppbmGgACg7W/0
> 1mt9e4W/u8MYGPmHipTcc/4=
> =DJK5
> -----END PGP SIGNATURE-----
>


From: Marius Andreiana <mandreiana(at)rdslink(dot)ro>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Data model for Postfix v2
Date: 2004-07-28 07:55:16
Message-ID: 1091001316.2645.15.camel@marte.biciclete.ro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

On Tue, 2004-07-27 at 08:35 +0100, John Sidney-Woollett wrote:
> Does anyone have a complete and working data model that allows Postfix
> v2 to lookup domain/user lookups (including virtual domains and users).
You know about web-cyradm?
http://www.tldp.org/HOWTO/Postfix-Cyrus-Web-cyradm-HOWTO/
use the same setup, a pam_pgsql.so module (does it exist?) and the pgsql
database for web-cyradm.

--
Marius Andreiana
Galuna - Solutii Linux in Romania
http://www.galuna.ro