2 messages in net.sourceforge.lists.courier-maildrop[maildropl] Autoresponder to directly...
FromSent OnAttachments
Paul DlugJan 12, 2004 1:12 pm 
Sam VarshavchikJan 12, 2004 4:06 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Autoresponder to directly addressed mail only?Actions...
From:Paul Dlug (pa@aps.org)
Date:Jan 12, 2004 1:12:41 pm
List:net.sourceforge.lists.courier-maildrop

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: $US@mydomain.com" /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