procmail
[Top] [All Lists]

AUTO REPLY

1998-01-27 10:29:08
HI
I am trying to set up an auto reply with this
in my .procmailrc:

LOGFILE=proclog
SHELL=/bin/sh    # for other shells, this might need adjustment
#Set on when debugging
#Sendmail command
SENDMAIL=/usr/lib/sendmail
# Log for main procmailrc
#LOGFILE=/var/log/procmail
VERBOSE=ON
:0
* ^From:.*chetan
{
    :0
        | (formail \
       -I"From: FTP Remailer <chetan>" \
              echo "AUTOREPLY:..."; \
              echo ""; \
              echo ""; \
              echo "";      ) | $SENDMAIL -oi -t
}

It does not work, and I get a coredump whenever a mail is received.
Also, the log file contains junk.

If I try to pipe the mail to some other program, I get:
"exec disabled" in my log.

Can someone please help me?

Regards
Chetan

ps: I am using this as a NON-Root user. I did not build the binaries myself.

<Prev in Thread] Current Thread [Next in Thread>
  • AUTO REPLY, Chetan Gadgil <=