procmail
[Top] [All Lists]

autoreply - file?

1996-11-12 09:00:05
This is my 1st day using procmail ...

I wanted to test the "automatically send back" feature from the procmailex
man pages, but it doesn't work.

My .forward file:
"|IFS=' '&&p=/users/ohrt/usr/bin/procmail&&test -f $p&&exec $p -Yf-||exit 75 
#ohrt"

My .procmailrc file:
PATH=[...]
MAILDIR=$HOME/Mail
LOGFILE=$MAILDIR/from   #recommended

[...]
:0
* !^From +ohrt
* !^Subject:.*Re:
* !^FROM_DAEMON
* ^Subject:.*retrieve
| (formail -r ; echo "AUTOANSWERED\n" ; cat info_file) | $SENDMAIL -oitrue -t

:0
* ^Subject:.*Flame
/dev/null
_____________________________________________________________

All it does is to send back the original mail (info_file is in $MAILDIR).
What's wrong in my definition? As I said above, it is taken from the man pages.

Cheers,
Diti
      _/_/    _/    _/  _/_/_/    _/_/_/_/                  _  __------ \
   _/    _/  _/    _/  _/    _/     _/                     | --          \
  _/    _/  _/_/_/_/  _/_/_/       _/                     |_              \
 _/    _/  _/    _/  _/   _/      _/                        | ___-\   o   |
  _/_/    _/    _/  _/    _/     _/                        /_/     |      |
                                                                    |__---|
                                  Steiermark - das gruene Herz Oesterreichs
                                        Styria - the green heart of Austria
                                          Styrie - le coeur vert d'Autriche
===========================================================================
Diethard Ohrt                                       SIEMENS AG / PSE TMN G1
ohrt(_at_)ws2318(_dot_)gud(_dot_)siemens(_dot_)co(_dot_)at                      
 A-8054 Graz     Austria
ohrt%ws6a21(_at_)graz(_dot_)pseg(_dot_)siemens(_dot_)co(_dot_)at                
 Phone  +43-316-1707-709
Diethard(_dot_)Ohrt(_at_)siemens(_dot_)at    
http://www.siemens.at/~psem/pse/de/psehomep.htm
===========================================================================

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