[COLUG] Postfix or LDAP question

Rob Funk rfunk at funknet.net
Wed Feb 14 14:58:38 EST 2007


Aaron Howard wrote:
> Postfix is presently set to forward all mail destined for local
> mailboxes to my customer's internal Exchange server and this works
> fine.  The only issue is I have to have user accounts on the Postfix
> box in order for it to think they're local before it will accept
> e-mail from them.  That, in and of itself, is not so bad.  I can
> easily create those user accounts on the Postfix box easily enough.

Eww.

> What I'd like, however, is to set it up so it will stay in sync with
> the Exchange server.  That is, if they add a new user, I'd want the
> Postfix box to see it.  If they delete a mailbox, same thing.

I think the best way to do what you want is with postfix address 
verification.  Instead of creating local users on the postfix box, have 
postfix probe the Exchange box to see if the user is valid, and cache 
that information.

See the postfix ADDRESS_VERIFICATION_README document, and make sure you 
have it do that verification only on mail destined for the Exchange box, 
rather than for the outside world.

-- 
==============================|   "A microscope locked in on one point
 Rob Funk <rfunk at funknet.net> |Never sees what kind of room that it's in"
 http://www.funknet.net/rfunk |    -- Chris Mars, "Stuck in Rewind"


More information about the colug432 mailing list