Postfix/Exchange Integration.

Discussion in 'Installation/Configuration' started by MattyB, Jan 16, 2006.

  1. MattyB

    MattyB New Member

    Hi Peoples,
    I am implementing RedHat Enterprise Linux in an existing Exchange environment. I will be using Postfix for front-end mail handling, here is what I would like to achieve; when am email comes into postfix it will verify with Active Directory via an LDAP query if the user/account exists (this part is functioning perfectly so far) and if it does then the mail is delivered to an existing Exchange mailbox, if the user/account does not exist in AD I want Postfix to check local recipient tables for local delivery so some users can POP the mail at a later date using Cyrus (or similar I've not decided as yet).

    As I said – I have the LDAP query functioning fine at this point, but if the user does not exist in AD I get a 550 error where I would prefer some local recipient lookups to occur.

    I’m sure that this must be possible – I have tried a few solutions but none have had the desired result..

    Thanks in advance…
    Matt.
     
  2. falko

    falko Super Moderator ISPConfig Developer

    I think it must have something to do with the smtpd_recipient_restrictions line in /etc/postfix/main.cf...
     
  3. MattyB

    MattyB New Member

    Hi Falko, thanks for your reply
    Correct me if I'm wrong (and i probably am) but doesn't smtpd_recipient_restrictions just affect client access for delivery? As in the event of RBL listings or Relay Perms?

    I thought I may have been able to do something like this in /etc/postfix/main.cf -

    *****
    ...
    local_recipient_maps = unix:passwd.byname $alias_maps
    ...
    fallback_transport = ldap:/etc/postfix/ldap_relay_recipient_maps.cf
    ...
    *****

    But this does not appear tp have the desired effect.. It appears as though it still ignores one or the other (depending on my config) and won't check both tables for delivery ...

    Cheers,
    Matt.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    I found this definition on http://www.linuxsecurity.com/docs/HOWTO/Postfix-EnGarde-HOWTO.html:

     

Share This Page