Re: inconsistent recipie failure

LuKreme <[email protected]>
Newsgroups gmane.mail.procmail
Message-ID <[email protected]>
On 24-Jan-2011, at 08:27, Michelle Konzack wrote:
> 
> Hello Robert Bonomi,
> 
> Am 2011-01-24 04:38:46, hacktest Du folgendes herunter:
>> Relevant ~/.procmailrc fragments
>> 
>>  MAILDOMAIN="r-bonomi[.]com"
>>  MAILHOST="mail[.]${MAILDOMAIN}"
> 
> Should be:
>    MAILDOMAIN="r-bonomi\.com"
>    MAILHOST="mail\.${MAILDOMAIN}"

That is normal, but there is nothing wrong with using [.]

>>  :0
>>  * <<a pattern that matches>>
>>  {
>>    :0 w
>>    * $ ^Received: from [^ ]* \( *[^[].*${MAILHOST}
>>    DELIVERABLE=|/bin/echo /home/bonomi/{{filename}}
> 
> Should be:
>    :0
>    * $ ^Received: from [^ ]* \( *[^[].*${MAILHOST}
>    /home/bonomi/{{filename}}

For certain values of 'should'. We don't know why he's using echo. There MIGHT be some reason.

> Question:   Why do you pipe the WHOLE message to the "echo" command
>            which does not support STDIN?

That is the question.


-- 
"He is simply a shiver looking for a spine to run up." - Paul Keating
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.