procmail: Skipped "{" and procmail: Closing brace unexpected
by mike1950r from LinuxQuestions.org on (#5R23Q)
Hi,
I'm knew in the forum.
Hello to everybody.
I have two messages in procmail.log, which i don't find the reason for:
procmail: Skipped "{"
procmail: Closing brace unexpected
I just know it comes from a rule in procmailrc.
The rule is to forward email to two addresses with different, changed subjects. The rule is working fine, like it should.
:0 c
* (^TO_|for.*)myaddress@mydomain.com
{
:0 c
{
:0 hfw
* ^Subject:\/.+
| formail -I "Subject: FORWARDED:$MATCH"
:0 a
! first.address@firstdomain.com
}
{
:0 hfw
* ^Subject:\/.+
| formail -I "Subject: FORWARDED2:$MATCH"
:0 a
! second.address@seconddomain.com
}
}
If somebody could explain me the error I would be very thankful.
cheers mike
I'm knew in the forum.
Hello to everybody.
I have two messages in procmail.log, which i don't find the reason for:
procmail: Skipped "{"
procmail: Closing brace unexpected
I just know it comes from a rule in procmailrc.
The rule is to forward email to two addresses with different, changed subjects. The rule is working fine, like it should.
:0 c
* (^TO_|for.*)myaddress@mydomain.com
{
:0 c
{
:0 hfw
* ^Subject:\/.+
| formail -I "Subject: FORWARDED:$MATCH"
:0 a
! first.address@firstdomain.com
}
{
:0 hfw
* ^Subject:\/.+
| formail -I "Subject: FORWARDED2:$MATCH"
:0 a
! second.address@seconddomain.com
}
}
If somebody could explain me the error I would be very thankful.
cheers mike