[ingo] * $^To:.* in Vacation Procmail Script

Ben Chavet ben at horde.org
Thu Jan 12 10:15:52 PST 2006


Quoting Jan Schneider <jan at horde.org>:

> Zitat von Norbert Kottmann <norbert.kottmann at id.unibe.ch>:
>
>> I am wondering why the procmail script of the vacation filter uses
>> the rule:
>>
>> * $^To:.*address at domain.tld
>>
>> instead of:
>>
>> * $^To: address at domain.tld
>
> Because this is an email header test, and the To: header will most
> likely not only contain the email address, but also the recipient's
> name.
>
> I guess we should use the "* ^TO_" test instead?! But then again, I'm
> not a procmail expert.

This actually has to do with the context of the rule.

>> * $^To:.*address at domain.tld

says that the To: field *contains* address at domain.tld, which is what 
the UI says.  If you select "Begins With" for the rule, it will generate

>> * $^To: address at domain.tld
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: PGP Digital Signature
Url : http://lists.horde.org/archives/ingo/attachments/20060112/855ce7a5/attachment.bin


More information about the ingo mailing list