Folks, I need a sender access per domain.
After reading postfix documentation i decided to use classes, in smtpd_recipient_restriction there is a new restriction. This restriction tells postfix what class to use depending on domain recipient. Every class has its own whitelist, blacklist. Problem is there are too many classes. We have more than 1200 domains, so we use more than 1200 classes, it seems that postfix can't open them When we start postfix all is fine, but when we recieve a new mail postfix log an error message: "fatal: open database /etc/postfix/recipient-access/domains/domainXYZ.db: Too many open files" Somebody can tell how to avoid that. This is our "main.cf" smtpd_restriction_classes = access-domain1 access-domain2 ... access-domain1 = check_sender_access hash:/etc/postfix/recipient-access/domains/domain1 access-domain2 = check_sender_access hash:/etc/postfix/recipient-access/domains/domain2 smtpd_recipient_restriction = ... check_recipient_access hash:/etc/postfix/recipient_access/alldomains ... "Contents of alldomains": domain1 access-domain1 domain2 access-domain2 ... Thank you very much ________________________________________________________________ Mensaje enviado desde el WebMail de OPENWIRED.NET