Solved

Vacation (auto-reply) with procmail

Posted on 2013-10-29
1
754 Views
Last Modified: 2013-10-29
Hi
I am using a script for while to set auto-reply/vacation/out-of-office throught procmail.
http://www.clarkconnect.com/olddocs/Howtos_-_Procmail_Vacation_Auto-Reply_Recipe
it's very convenient and easy for the users as they just need to send an email to themselves...
it's working "fine" with one problem. if the user send the email to other people it will setup the vacation/auto-reply to them as well.
example: Send the email TO: himself and TO:myself - it will setup the auto-reply for both of us.
the script is the same as in the link.
does anyone knows how to avoid it?
tkx
0
Comment
Question by:jackdaniel_china
1 Comment
 

Accepted Solution

by:
jackdaniel_china earned 0 total points
ID: 39610653
I kind of fix it adding below line to script
# Add/remove vacation message
:0

#Jackdaniel_china
*$ ^From:.*$VACATION_SENDER
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
installing LSI MegaRAID Storage Manager on CentOS 7 22 348
Oracle 10g standard edition server with 4 processors 3 54
Coding C# in Linux 8 69
awk file 6 53
Utilizing an array to gracefully append to a list of EmailAddresses
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question