David Reid skrev, on 23-09-2007 19:06:

I've just confirmed that when I added dspam to my system I've somehow
managed to remove the header_checks from the checking loop. I guess it's
due to the way the messages are being delivered

main.cf
-------
smtpd_recipient_restrictions =
  ...
  check_client_access pcre:/usr/local/etc/postfix/dspam_filter_access

dspam_filter_access
-------------------
/./     FILTER  dspam:unix:/tmp/dspam.sock

Is there any way I can have the header_checks run before dspam as I'd
like to kill files that way rather than allow them to go all the way
through the system.

Header checks are run by cleanup and as such they're the last things done before queuing.

So the answer is "no".

If what you're finding is that no header_checks at all are running, let cleanup do them. And running dspam as a before-queue content filter daemon between two smtpd listeners is a lot cleaner than the way you're doing it. dspam with a MySQL backend is remarkably fast - but you don't really explain how or what.

--Tonni

--
Tony Earnshaw
Email: tonni at hetnet dot nl

Reply via email to