Hello, You have to have postfix 2.0 for that, I'm pretty sure, and I had to add a few things to proxy_read_maps. Eg. this is what mine has:
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $alias_maps $header_checks $body_checks $virtual_alias_maps proxy:pgsql:/etc/postfix/pbsp.cf Interestingly, I don't see the aliases.cf line matching, so maybe anything using "pgsql:" will be allowed from the above. Jn ---- Original Message ---- From: Steve Milner <dbmail@dbmail.org> To: dbmail@dbmail.org Subject: Re: [Dbmail] Problems Sent: Tue, 20 Jan 2004 14:08:20 -0500 > > On Jan 20, 2004, at 11:56 AM, Jesse Norell wrote: > > > > > > >>> That's probably the local_recipient_maps setting. You can just > >>> disable it > >> > >> I don't currently have it enabled and I disabled the errors on unknown > >> users. How can I set postfix to use the database when checking for > >> valid users? > > > > This is what we have, with postfix+postgres: > > > > # grep local_recipient_maps /etc/postfix/main.cf > > local_recipient_maps = proxy:pgsql:/etc/postfix/aliases.cf > > > > # cat /etc/postfix/aliases.cf > > user = postfix > > password = <removed> > > dbname = dbmail > > hosts = forever.kci.net > > table = aliases > > select_field = deliver_to > > where_field = alias > > > > > > Note, this is the exact same lookup file we use for postfix > > aliases lookups in the database. > > > > Hm. Does proxy need to be set anywhere else in the file? > > Thanks for the help, > Steve > > _______________________________________________ > Dbmail mailing list > Dbmail@dbmail.org > https://mailman.fastxs.nl/mailman/listinfo/dbmail > -- End Original Message -- -- Jesse Norell jesse (at) kci.net