Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

My system use Postfix, dovecot, OpenDS (LDAP), PAM, amavisd-new, spamassasin, clamav, procmail

User was authenticated via the OpenDS, Recently I recieve too many Spam message that send to the unknow user form my domain for example unknow@mydomain.com, is there a way to auto reject the messages from unknown user which is not in the OpenDS

Thanks Folks,

share|improve this question
add comment

1 Answer 1

Depending on how you have configured postfix you can check if the address exists before accepting the message.

  • For local users you can just integrate your LDAP using PAM

  • For virtual users postfix provides LDAP lookups too.

http://www.postfix.org/LDAP_README.html

share|improve this answer
    
thank you for your link –  billyduc Jul 23 '10 at 6:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.