On Wed, 5 Nov 2003, chan hweefarn saputra wrote:
> when i am on vacation, i want to auto reply to sender
> with a message of "Aku sedang berlibur". i try scripts
> that i found from internet but it seems not working. i
> try to send myself an email but i didnt get any reply.
> below is my .procmailrc file:
>
> _____________________________________________________
> SHELL=/bin/sh
> MAILDIR=/root
> LOGFILE=${MAILDIR}/procmail.log
> LOG="--- Logging ${LOGFILE} for ${LOGNAME}, "
>
> :0
> *^From:[EMAIL PROTECTED]
> * !^FROM_DAEMON
> * !^X-Loop: [EMAIL PROTECTED]
> |( formail -r -I "precendence: bulk" \
> -A "X-Loop: [EMAIL PROTECTED]"; \
> echo -e "\n\n\nAku sedang berlibur"; \
> ) | $SENDMAIL
^^^^^^^^^
you must define $SENDMAIL, ex:
SENDMAIL=/usr/bin/sendmail
according to your system's sendmail
> _______________________________________________________
>
> in my procmail.log, i get this :
>
> --- Logging /root/procmail.log for root, From
> [EMAIL PROTECTED] Wed Nov 5 19:09:24 2003
> Subject: qwqwqw
> Folder: ( formail -r -I "precendence: bulk" \ -A
> "X-Loop: [EMAIL PROTECTED] 1551
>
> ______________________________________________________
>
> anything goes wrong?
Read:
$ man procmailex
It's contain answer for your question
--
Donny Kurnia -- 13500021
Software Engineering Laboratory
Department of Informatics
Bandung Institute of Technology
--
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip dan info di http://linux.or.id/milis.php