Hi Sime?! On Thu, 29 Jun 2000, Sime? wrote:
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
Except that it doesn't catch all mailing lists, also this method sends out an email everything someone mails you. Vacation only sends out an email to an email address once a week or only after the vacation database has been re-iniatlised. Sean -- Linux User: #124682 ICQ: 679813 My Current Uptime is 0d, 13h and 49m on Linux 2.2.16 ...Any system which depends on human reliability is unreliable. -- 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/faq