Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

The vacation program does not work on my Linux machine. How can I set it up so that it replies automatically to incoming messages while I am absent?

0
Posted

The vacation program does not work on my Linux machine. How can I set it up so that it replies automatically to incoming messages while I am absent?

0

Do the following on your home directory: • Create a file called “vacation.msg” with your vacation message. • Create (or edit if it already exists) a file called “.procmailrc” with the following content (if the file already exists, just add the “vacation” segment). Replace the word “username” with your actual username. PATH=/bin:/usr/bin:/usr/local/bin MAILDIR=$HOME/Mail # you’d better make sure it exists SPOOLDIR=/var/spool/mail DEFAULT=$SPOOLDIR/$LOGNAME NSMAIL=$HOME/nsmail PINEMAIL=$HOME/mail SENDMAIL=/usr/sbin/sendmail LINEBUF=16384 #————- begin vacation segment ——————- SHELL=/bin/sh :0 hc * !^FROM_DAEMON * !^X-Loop: username@math.northwestern.edu | (formail -rA”Precedence: junk” \ -A”X-Loop: username@math.northwestern.edu” ; \ cat $HOME/vacation.msg \ )| $SENDMAIL -oi -t #————- end vacation segment ——————— • If you wish to disable the vacation feature after your return, rename the “.procmail” file, or remove (or comment out) the vacation se

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.