On Fri, Mar 26, 2010 at 01:13:36PM +0000, me wrote:

> I'm reading the docs but somehow can not get the hang of a config,
> for a local domain(canonical/mydestination) that recipients list would be 
> looked up in ldap

    http://www.postfix.org/VIRTUAL_README.html
    http://www.postfix.org/DATABASE_README.html
    http://www.postfix.org/ldap_table.5.html

> - how to configure postfix to lookup up into ldap for local recipients?

"Local recipients" are *by definition* shell accounts, in that information
about them is obtained via getpwnam(3) (/etc/passwd and nsswitch.conf).

This said, you can use "mailbox_transport" and/or "mailbox_transport_maps"
to deliver email to local addresses that may lack an account. See
the local(8) manpage for details.

> the whole idea is to have these local recipients' mailboxes behaving like 
> virtual, no shell accounts
> (on a box here postfix runs coupled with dovecot and dovecot does local 
> delivery)

You still need a way to validate such accounts, at which point why bother
adding the domain to mydestination and calling it "local"? You can just
virtual_mailbox_domains much more easily in most cases.

-- 
        Viktor.

P.S. Morgan Stanley is looking for a New York City based, Senior Unix
system/email administrator to architect and sustain our perimeter email
environment.  If you are interested, please drop me a note.

Reply via email to