procmail
[Top] [All Lists]

Re: inconsistent recipie failure

2011-01-24 14:10:45
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


____________________________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>