logo       

Autoresponder to directly addressed mail only?: msg#00021

mail.maildrop

Subject: Autoresponder to directly addressed mail only?

I'm currently implementing vacation messages using mailbot, my global maildroprc file looks for a vacation.txt file in the users virtual home directory and executes the following command:

`test -f $CONTROLDIR/vacation.txt`
if ($RETURNCODE==0)
{
cc "| /usr/local/bin/mailbot -t $CONTROLDIR/vacation.txt -d $CONTROLDIR/vacation.db -A "From: $USER@xxxxxxxxxxxx" /usr/local/sbin/sendmail -t -f $USER"
}

My problem is that this is replying to mail that is not just addressed to the user but addressed to mailing lists as well. Does mailbot have a way to do this or I assume I can add a rule in maildroprc to ensure that this is only executed if the address of the user is in the recipient list. But how?

Any help is greatly appreciated.


Thanks,
Paul



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise