Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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, is there a way to auto reject the messages from unknown user which is not in the OpenDS

Thanks Folks,

share|improve this question

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.

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

Your Answer


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.