then due to a software change, the new mail became arriving
looking like this:
Delivered-To: domain(_dot_)com%postmaster(_at_)domain(_dot_)com
Received: (cpmta 15146 invoked from network); 29 Sep 1999 12:09:08 -0700
Delivered-To: domain(_dot_)com%anyuser(_at_)domain(_dot_)com
[...]
:0
* $ 1^1 ^Delivered-To: domain.com.\/[^(_at_)]+
! $MATCH(_at_)newdomain(_dot_)com
Working again....
Thanks to procmail....
thanks to this list and all of the people who've written
examples and put them online...
You should try to find a condition which does not rely on Delivered-To:
at all. It's a kludge introduced by postfix and qmail to detect mail
loops. Newer versions of postfix allow to switch Delivered-To: off
completely (dunno about qmail), so your recipe is most likely to break
again when/if your fowarder changes MTA or MTA configuration.