> OK rephrase, I assume you would use procmail to move mails to specific
> folders. Right? So i just gotta change a few things here and there. Just
> send me the procmailrc if you use it..I can take it from there.
>
Here is mine (actually, I do not use the last part, the vacation,
except when I'm away), in case it helps you. You can try more
complicated things, like forwarding mails with certain subject to
another address, and other stuff. In any case, I suggest you use
the backup rule while testing.
Pablo.
----------------------------------------------------------------------
Pablo Ares Gastesi. School of Mathematics, TIFR, Mumbai 400 005, INDIA
[EMAIL PROTECTED] http://www.math.tifr.res.in/~pablo/
Key fingerprint = 1A 7C 0A 22 5A 75 A4 78 62 6F 64 09 C1 A0 F7 E6
----------------------------------------------------------------------
MAILDIR=/$HOME/Mail
DEFAULT=/var/spool/mail/pablo
LOGFILE=$MAILDIR/log/from
LOCKFILE=$HOME/.lockmail
DOMAIN=math.tifr.res.in
FORMAIL=/usr/local/share/bin/formail
# safe remove comments of next two directives while you are testing.
#:0 c
#backup
#:0 i
#| cd backup && rm -f dummy `ls -t msg.* | sed -e 1,32d`
# store computer news.
# The "tail" part takes care of saving only the html inside the
# mail, so I can read the file directly with a browser (sorry, I do not
# user Netscape to read my mail) when I feel like.
:0
* Reply-To.*[EMAIL PROTECTED]
| tail +28 > /homes/usr5/pablo/tmp/cnet.html
# "El Pais" headlines
:0
* From.*[EMAIL PROTECTED]
| tail +20 > /homes/usr5/pablo/tmp/elpais.html
# I'm not reading the list now (Linux kernel list)
# but I do not want to unsubscribe
:0
* From.*[EMAIL PROTECTED]
/dev/null
# Linux admin list
:0
* From.*[EMAIL PROTECTED]
$MAILDIR/linux-admin
# mails from ams go to the folder $MAILDIR/preprint
# similar with other users
:0
* ^From.*ams
preprint
:0
* ^From.*root
root
:0
* ^From.*operator
operator
# discard all mail from me to all, since I sent it.
:2
^TO all
^From pablo
/dev/null
# the following automatically replies like the vacation
# program
############################################################
:0 Wh: vacation.lock
* $^To:.*\<$\LOGNAME\>
* !^FROM_DAEMON
* !^X-Loop: [EMAIL PROTECTED]
| $FORMAIL -rD 8192 /dev/null
:0 ehc
| ($FORMAIL -rA"Precedence: junk" \
-A "X-Loop: [EMAIL PROTECTED]"; \
echo "I will be away from my mail for a few days, although" ;\
echo "I am in TIFR. If you need something urgent, please" ;\
echo "contact me directly in 2353 or 2473" ;\
echo "This is an automatic reply. [EMAIL PROTECTED]"; \
) | $SENDMAIL -oi -t
############################################################
To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list
button and fill the appropriate information
and submit. For any other queries contact the ML maintener