OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Unknown domain senders

From: varad gupta (postfix.vbggmail.com)
Date: Wed Oct 06 2010 - 06:50:32 CDT


Hi All

We have a requirement where we need to reject senders if they are not
present in our ldap virtual domains.

Scenario =>

postfix 2.5 with openLDAP (with various virtual domains)

Problem Description =>

Unknown senders (mail ids that are not present in LDAP) are able to send
mails to recipients in these domains. (Relaying is blocked of course for
external domains)

Requirements =>

A user (not present in LDAP) should be blocked from sending mails.

Challege =>

We cannot apply check_sender_access based on LDAP as that would lead genuine
mails from external domains also being rejected

CAn you suggest a parameter which can accomplish this, or we need to write
our own policy for this ?

Regards

Varad Gupta