On Thu, 1 May 1997, Lars Kellogg-Stedman wrote:
You'll probably want to use the first form (^TO_), as you're trying to
match an address. This would make your recipe look like:
:0
* ^TO_user(_at_)virtual(_dot_)com
! user(_at_)real(_dot_)com
This will not work for UUCP connections (bang address). Admittedly
UUCP is not all that common these days, but if procmail is invoked
from the primary address of the virtual domain, it is safer to do
:0
* ^TO_user
! user(_at_)real(_dot_)com
This is rather simplistic -- you may want to ensure that there
is no match on a substring etc.
das
-------------------------------------------------------------------
Interested in Vegetarianism? Vegetarian Restaurant Trek
Web http://www.VegInfo.com 712 Bancroft Road #320
e-mail info(_at_)VegInfo(_dot_)com (subject Help) Walnut Creek, CA 94598
Interactive Voice/fax Response (510) 256-8420 USA