procmail
[Top] [All Lists]

questions abt procmail

1998-03-23 01:55:54

Hi ,

I am trying to write a procmail that performs a autoresponding.
This procmail will receive the mail and will also instantaneously returns
a mail to the sender.

The undermentioned are the excerpts of the procmail I have written.
-------------------------------------------------------------------------
#procmail for Ivan
SENDMAIL=/usr/lib/sendmail
HOME=/home/ivan
PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
MAILDIR=/usr/var/spool/mail
DEFAULT=$MAILDIR/ivan

:O
{
:O c
* ^From: .*
|(formail -brt ; \
  echo "Returning your mail " ;\
 ) | $SENDMAIL -t

:O
/home/ivan/mail/in-box
}
-------------------------------------------------------------------------

What could not work ?

I could return the mail but not able to saved the mail in
my mail box.   How do I work around.


Thanx much.
*********************** National Information Infrastructure ******************
  
   Au Ivan
   Information Technology Officer - Network and Infrastructure Services Team 
   Email : ivan(_at_)nii(_dot_)ncb(_dot_)gov(_dot_)sg
           ivan(_at_)ncb(_dot_)gov(_dot_)sg
   Phone : 770-3833 (O)  774-7159 (fax)
******************************************************************************


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