I have been trying to use procmail unsuccessfully. As I am a novice to
these area, is there sb that could help me make my .procmailrc work?
I added to .forward file :"|IFS=' ' && exec
/usr/local/bin/procmail -f- ||
exit 75 #george" and I have checked the permissions, while the .procmailrc
file seems to be somewhat like this :
PATH=/bin:/usr/bin:/usr/local/bin:/usr/local/mh/bin:/usr/local/mh/lib
MAILDIR=$HOME/mail
LOGFILE=$mail/procmail.log
MYADDR="katsikog(_at_)ceid(_dot_)upatras(_dot_)gr"
1) Firstly, I am trying to have an automatic reply :
:0
*!^FROM Campino.Informatik.RWTH-Aachen.DE
*!^FROM phoenix.iss.net
*!^X-Loop: $MYADDR
{
FROM=`formail -rt -xTo:`
SUBJECT=`formail -xSubject:`
:0 hc
| (formail -rt \
-I"X-Loop: $MYADDR" ;\
-I"Subject: Automated Reply [Re:$SUBJECT]" \
-I"From: Giorgos Katsikogiannis <george(_at_)dallas(_dot_)ucd(_dot_)ie>" \
-I"Precedence: bulk" ;\
echo "...") \
| $SENDMAIL -oi -t
}
2) Secondly, I am using folders:
:0 w: procmail/$LOCKEXT
* ^TOprocmail
| rcvstore +procmail
# DEFAULT ACTION
:0 w: inbox/$LOCKEXT
| rcvstore +inbox
I have checked all the variables and the http// list, but I couldn't find
anything useful. This does not seem to work. Have I missed sth?
Thank you in advance.