At 12:45 2008-09-21 -0400, Shane wrote:
DATE=`date +%y%m%d%H%M`
Have you confirmed that this syntax works at a commandline on your
mailhost? There are significant differences between GNU and BSD
implementations of date.
:0H:
*^FROM:.*857
| echo "857 $DATE >> /home/857.txt
Are you actually trying to write a file within /home/, versus say, YOUR
home directory? This looks remarkably like someone "sanitized" the rcfile
before posting about their problem - and the problem with doing that is
that often typos which relate to problems are introduced or eliminated.
Logfile
procmail: Executing "date,+%y%m%d%H%M"
date: date: No such file or directory
This is consistend with a BSD system complaining about GNU syntax.
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
____________________________________________________________
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