On Fri, 5 Dec 2008, LuKreme wrote:
* ^To:(.*[^-a-zA-Z0-9_.])?\/.*
Well, firstly, I don't like this string. It can stop in so many arbitrary
places. A single or double quote before a name, or the "<" before an
address.... what's the intent?
Now for the problem. It's the quotes in the address getting you HERE:
ETO=`echo "$TTO $CC" | sed 's/[, ] \{1,\}/|/g'`
echo "...<*munged*(_at_)gmail(_dot_)com>|"First Last (work)" <*munged*..."
-bash: syntax error near unexpected token `('
Not sure how to get around this one. Can't just use single quotes,
because you want the variables expanded. You need to escape the embedded
quotes...
The other question is, where's the message? As near as I can tell it's
gone.
The recipe would have just failed, so where does your procmailrc 'fall
through' to?
- Charles
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail