Michal Bruncko put forth on 9/29/2010 4:03 AM: > I mean automatically accepted by postfix, but not automatically > forwarded to mailboxes. My idea lies on principle, that if sender have > valid SPF record, there is no need to greylist (and delaying mail > receiving), but... SPF and greylisting are only one part of mail > checking (checking directly in smtpd_recipient_restrictions in postfix). > I am using amavis with SA, viruschecking and next supplementary tests > (razor, ddc and so on) for scoring mails and then forwarding through > MDA to mailboxes.
milter-greylist will do exactly what you want. http://hcpnet.free.fr/milter-greylist/ "SPF records Starting with version 1.1.3, milter-greylist is able to use libspf_alt to check SPF records. SPF records are DNS objects that tell the whole Internet which server(s) can legally send e-mail from a domain. Using SPF records, milter-greylist will avoid greylisting any mail that comes from an SPF-compliant server. This feature is optionnal and requires libspf_alt Starting with 1.1.10, libspf (James Couzens's version) is also supported. libpsf2 is supported starting with version 1.7.2." -- Stan