
Hi, My postfix-fu is failing me on this one. I am trying to set up postfix so that it only delivers to local users. The local users can exist in /etc/aliases or in the ldap-aliases postmap. However, the resolved email addresses in ldap can be from many different domains so I cannot filter by domain. All non-deliverable mail should either be discarded (via the postfix discard agent) or sent to a catch-all devnull address (e.g. devnull: /dev/null in /etc/aliases) I previously had this working with sendmail but I cannot seem to replicate this with postfix. I have tried transport maps /etc/postfix/transport domain.tld local: * discard: but this discards the ldap-resolved recipient address if it is outside the domain domain.tld (which most are). I have also tried with e.g. luser_relay = devnull@localhost without luck. Any other ideas? Thanks, Marcus. -- Marcus Furlong