i am having problem w/ variable assignments in the recipes shown
below...
Addr_ListFbsd_cvs="\<cvs-(commiters|all)@freebsd\.org\>"
Addr_ListFbsd_bug="\<(freebsd-)?(bug(buster)?s|gnats-(admin|submit))@freebsd\.org\>"
Addr_ListFbsd_all="\<[a-zA-Z]+(_at_)freebsd\(_dot_)org\>"
To_Fbsd_cvs = no
:0
* $ ^TO${Addr_ListFbsd_cvs}
{ To_Fbsd_cvs = yes }
To_Fbsd_bug = no
:0
* $ ^TO${Addr_ListFbsd_bug}
{ To_Fbsd_bug = yes }
From_Fbsd_bug = no
:0
* $ ^From.*${Addr_ListFbsd_bug}
{ From_Fbsd_bug = yes }
To_Fbsd_all = no
:0
* $ ^TO${Addr_ListFbsd_all}
{ To_Fbsd_all = yes }
...when $To_Fbsd_cvs = yes, then why would not $To_Fbsd_all be set
the same? from the logs...
procmail: Assigning "To_Fbsd_cvs=no"
procmail: Match on
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^a-zA-Z])?)\<cvs-(commiters|all)@freebsd\.org\>"
procmail: Assigning "To_Fbsd_cvs=yes"
procmail: Assigning "To_Fbsd_bug=no"
procmail: No match on
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^a-zA-Z])?)\<(freebsd-)?(bug(buster)?s|gnats-(admin|submit))@freebsd\.org\>"
procmail: Assigning "From_Fbsd_bug=no"
procmail: No match on
"^From.*\<(freebsd-)?(bug(buster)?s|gnats-(admin|submit))@freebsd\.org\>"
procmail: Assigning "To_Fbsd_all=no"
procmail: No match on
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^a-zA-Z])?)\<[a-zA-Z]+(_at_)freebsd\(_dot_)org\>"
...another question is that given following headers in a message,
$To_Fbsd_all was still set to no...
Delivered-To: freebsd-questions(_at_)freebsd(_dot_)org
To: freebsd-questions(_at_)freebsd(_dot_)org
...in log...
procmail: Assigning "To_Fbsd_all=no"
procmail: No match on
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^a-zA-Z])?)\<[a-zA-Z]+(_at_)freebsd\(_dot_)org\>"
...
From owner-freebsd-questions(_at_)FreeBSD(_dot_)ORG Fri Mar 22 16:22:31 2002
Subject: Re: OT: why suggest Mutt? (Was: Favorite Mail App?)
Folder: In/i.mutt
...mystery is that sometimes $To_Fbsd_all is set to yes...
procmail: Assigning "To_Fbsd_all=no"
procmail: Match on
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^a-zA-Z])?)\<[a-zA-Z]+(_at_)freebsd\(_dot_)org\>"
procmail: Assigning "To_Fbsd_all=yes"
...what is my problem: the regex, or the use of ^TO macro? thanks in advance.
- parv
--
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail