A mié, 29 mar 2000, Silvia Nieto Santos va escriure:
Hello,
I'd like to know how can I reply a mail automaticaly.
For example, if I am out of the office, all of e-mail that I receive are replied with a e-mail that say that I'm out of the office. Can I do it with sendmail?
you can do it with procmail: ----------- file .procmailrc ------------------- # Please check if all the paths in PATH are reachable, remove the ones that # are not. PATH=/usr/bin:/bin:/usr/local/bin:. MAILDIR=/var/spool/mail/ DEFAULT=$MAILDIR/$LOGNAME LOCKFILE=$MAILDIR/$LOGNAME.lock SENDMAIL=/usr/sbin/sendmail :0 c * ^To.*simeo@* * !^from.*simeo@* * !^FROM_DAEMON * !^X-Loop: simeo@nil.fut.es | (formail -rbk -A "Precedence: junk" \ -A "X-Loop: simeo@nil.fut.es" ; cat /home/simeo/.vacance.txt) | $SENDMAIL -t # Anything that has not been delivered by now will go to $DEFAULT # using LOCKFILE=$DEFAULT$LOCKEXT --------end of .procmailrc ------------------------ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/