katsumi liquer wrote, on 18-04-2007 16:21:
I have tried to find solutions to my problem in many places, but I can't find anything that applies directly to what I need to do. Basically, I am integrating DSPAM into an existing postfix SMTP relay server -- it does not store any mail locally, it only relays it to a single internal Exchange server. By following the instructions in doc/relay.txt and doc/postfix.txt I have been able to make it work, but I had to disable the existing content filter in postfix's master.cf
[...]
Basically, I would like to pipe all messages through the existing content filter 'filter' first, and then send them through DSPAM, and then back on their way. I am sure this is possible somehow, I just can't find a way yet. If anyone has any ideas, I would be very greatful.
To use multiple content filters for Postfix (at least with recent versions), consider using multiple smtpd listeners on different ports. Each one passes to a content filter, which passes to the next listener.
If this doesn't mean anything to you (which it probably doesn't, since you write that you are working out of a "HOWTO" - yuk), ask on the Postfix ML. Since the subject has to be classed as a FAQ, the people there will likely request you to read the Postfix documentation (which you should have done anyway - pre/post queue filters), or search the archives. That's just life for you :) Covering implementation of Postfix pre/post queue content filters is OT for this list.
Best, --Tonni -- Tony Earnshaw Email: tonni at hetnet dot nl
