2 messages in net.sourceforge.lists.courier-maildrop[maildropl] Re: Autoresponder to dire...
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] Re: Autoresponder to directly addressed mail only?Actions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Jan 12, 2004 4:06:40 pm
List:net.sourceforge.lists.courier-maildrop

Paul Dlug writes:

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?

Let mailbot do all the work. See mailbot's -r option.