On Fri, 2005-11-04 at 13:04 -0500, Erik Kristensen wrote: > There really isn't a problem persay except I haven't figured out a > good way of doing it. If someone is doing this (such as you Micah) > could I see the script you are using and could you give me information > on how to do it exactly. > > I have a way of doing it now, but it isn't the best, I just have > postfix deliver the message to a shell script which then calls my > filter script and delivers to dbmail-smtp. > > However, I am not sure all MTA's will support this way of doing it, > that is why I was trying to find a way to get dbmail to call the > script.
You can set the alias deliver_to to something like '| /path/to/your/script' .. but it's the same or more overhead than calling a shell script to do the same job. When you do that in dbmail, it incurs some database i/o in addition to everything else, and you can probably recover from (or rather, report) errors easier the shellscript route. -- Jesse Norell - [EMAIL PROTECTED] Kentec Communications, Inc.