Ryan Suarez a écrit : > [snip] > Cisco Unity allows users to receive their voicemail through email (as > .wav attachment). This email contains the header > 'X-CiscoUnity-MessageType'. They can also forward their voicemail to > another user through email by sending it to > 'someotheru...@unityserver.mydomain.org'. >
instead of using headers, use address extensions (user+extens...@domain.example). there is no point in changing the way email works: email routing is based on envelope addresses, not headers. > But this entails that a user remember the unityserver domain. We'd like > the process to be cleaner by allowing forwards to their public address. make this a configuration problem. provide an interface (web or other) to let users forward to where they need... > Then our smtp will be responsible for rerouting it to the unity > server. Hope this helps. if you still need using headers, then /^X-Foo-Bar:/ FILTER ... will pass the message to a content filter that you can write...