Michelangelo Pisa wrote:
Hi list..
Hi. Please be aware that this is a procmail list, and your question
refers to sendmail, not procmail. You might get more knowledgeable
answers in comp.mail.sendmail ...
...
who is the problem with my Tab? the sintaxe is correct?
#pipe through procmail for processing
R$* < @ localhost > $* $#procmail $ @
/etc/procmail/filter.rc $: $1 < @ localhost . procmail . > $2
I don't recall exactly the syntax, but the mail you sent us contains
no TAB (\011, ctrl-I, \t) characters -- only spaces (\040, ctrl-`).
The lines were also wrapped, which sendmail will hate. Sendmail is
very picky when it wants to see a tab; you cannot give it a bunch of
spaces when it expects tab(s).
Here's what I mean. Below is part of a "vi" screen that's looking at
my sendmail.cf:
Scheck_local
R< > $* $@ $ $m not set - return
R<$*> $* $2 just strip
"/etc/sendmail.cf" [readonly] 1397 lines --72%-- 1009,0-1
It looks like a bunch of spaces, right? But if you say ":se list",
the screen looks like this:
Scheck_local$
R< > $*^I^I$@ $^I^I^I^I$m not set - return$
R<$*> $*^I$2^I^I^I^Ijust strip$
:se list
See those $ characters at the end of the line? That tells you if you
have any trailing blanks. And the "^I" is how this mode displays TAB
characters. The error message from sendmail suggests that you may
have substituted some of your tabs by spaces.
So my suggestion is to study the placement of tabs vs spaces in other
rules (particularly in rulesets called by S0) and take care that your
new rules do not violate those rules. Good luck.
hth
--
Neither I nor my employer will accept any liability for any problems
or consequential loss caused by relying on this information. Sorry.
Collin Park Not a statement of my employer.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail