Re: Rejecting mail if LDAP lookup returns empty

2019-06-21 Thread Cooper, Robert A
Thanks for your help! That was what I was missing! RobertC From: owner-postfix-us...@postfix.org on behalf of Wietse Venema Sent: Friday, June 21, 2019 10:35 To: Postfix users Subject: Re: Rejecting mail if LDAP lookup returns empty Cooper, Robert A

Re: Rejecting mail if LDAP lookup returns empty

2019-06-21 Thread Wietse Venema
Cooper, Robert A: > virtual_alias_maps = ldap:/etc/postfix/tamu.ldap As documented, 'not found' means 'do not replace the address by its alias expansion'. If you must REJECT a name that has no LDAP, then you MUST also specify virtual_alias_domains = tamu.edu For more on virtual_alias_maps

Re: Rejecting mail if LDAP lookup returns empty

2019-06-21 Thread Cooper, Robert A
mail if LDAP lookup returns empty Hi, what is the output when you test if testing is possible of say these commands ? postmap -q racoo...@tamu.edu ldap:/etc/postfix/tamu.ldap postmap -q bad_a...@tamu.edu ldap:/etc/postfix/tamu.ldap if I’m sending you down the wrong rabbit hole I am

Re: Rejecting mail if LDAP lookup returns empty

2019-06-21 Thread Dusan Obradovic
> On Jun 21, 2019, at 3:44 PM, Cooper, Robert A wrote: > > Howdy! > > We are setting up Postfix to be an on-premise mail lookup and forward service > for a cloud-based mail filter service (ProofPoint). Our campus uses LDAP to > route email from a public alias (@tamu.edu) to an internal mai

RE: Rejecting mail if LDAP lookup returns empty

2019-06-21 Thread Fazzina, Angelo
Hi, what is the output when you test if testing is possible of say these commands ? postmap -q racoo...@tamu.edu ldap:/etc/postfix/tamu.ldap postmap -q bad_a...@tamu.edu ldap:/etc/postfix/tamu.ldap if I'm sending you down the wrong rabbit hole I am sure someone more savvy will help out.