Fred Morris: > The "destination address" is extracted from which header? To: would be the > naive choice, but Delivered-To: is probably better. However, using this > header requires that the filtering take place very close to final > delivery, as that's when the header is inserted.
Why insist on addresses in headers. and not use envelope addresses? I gave an example based on the latter that takes only a few lines. This kind of use case is what rectriction_classes were built for. Wietse