Gejo Paul a écrit : > Hi, > > My postfix version is postfix-2.3.3-2 > main.cf <http://main.cf> > smtpd_recipient_restrictions = check_sender_access ldap:ldapcond,
don't do this. don't use a check_sender_access before reject_unauth_destination. put this check under smtpd_sender_restrictions instead. > permit_mynetworks, > permit_sasl_authenticated,reject_unknown_sender_domain, reject > smtpd_restriction_classes=default > default = check_recipient_access hash:/etc/postfix/broadcast/default > > > Edit /etc/postfix/broadcast/default > gejop...@yahoo.com REJECT > redhat.com <http://redhat.com> REJECT > *gmail.com <http://gmail.com> DISCARD > > *2)#cd /etc/postfix/broadcast > 3 #postmap default > > Normally this will reject with a warning on the screen to while send a > mail to gejop...@yahoo.com .But it is not happening. > only if a check that really occurs returns "default" (which is a really bad name. use something like "policy_default" instead...) > > Is it a postfix version problem. Expecting your valuable help. > you'll need to prove that mail should have hit the check you're talking about...