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}"
: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}}
:0 wE
* <<mumble>>
DELIVERABLE=|/bin/echo /home/bomomi/{{a different filename}}
Should be:
:0E
* <<mumble>>
/home/bomomi/{{a different filename}}
*MOST* of the time, this particular recipie works just fine. And I have
_dozens_ of other recipies with the
"DELIVERABLE=|echo /home/bonomi/{{filename}}"
action that have never (yet, anyway <wry grin>) failed. The procmail logfile
usually shows:
procmail: Match on "^Received: from [^ ]* \( *[^[].*{{expanded $MAILHOST}
procmail: Assigning "DELIVERABLE="
procmail: Executing "/bin/echo,/home/bonomi/{{filename}}"
procmail: Match on "/home/bonomi"
Question: Why do you pipe the WHOLE message to the "echo" command
which does not support STDIN?
procmail: Match on "^Received: from [^ ]* \( *[^[].*{{expanded $MAILHOST}
procmail: Assigning "DELIVERABLE="
procmail: Executing "/bin/echo,/home/bonomi/{{filename}}"
procmail: Error while writing to "/bin/echo"
procmail: Rescue of unfiltered data succeeded
procmail: No match on "/home/bonomi"
There is a 8 kByte Buffer limit and if a Message is bigger, your recipes
are screwed
Thanks, Greetings and nice Day/Evening
Michelle Konzack
--
##################### Debian GNU/Linux Consultant ######################
Development of Intranet and Embedded Systems with Debian GNU/Linux
itsystems@tdnet France EURL itsystems@tdnet UG (limited liability)
Owner Michelle Konzack Owner Michelle Konzack
Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France 77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix
<http://www.itsystems.tamay-dogan.net/> <http://www.flexray4linux.org/>
<http://www.debian.tamay-dogan.net/> <http://www.can4linux.org/>
Jabber linux4michelle(_at_)jabber(_dot_)ccc(_dot_)de
ICQ #328449886
Linux-User #280138 with the Linux Counter, http://counter.li.org/
____________________________________________________________
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