[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Using vacation message for automated response
- Subject: RE: [cobalt-users] Using vacation message for automated response
- From: shimi <shimi@xxxxxxxxxxxxxxxx>
- Date: Sat Jul 7 03:59:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Fri, 6 Jul 2001, Dan Kriwitsky wrote:
> >
> > Is there a limit to the length of the message? I can type it all
> > in and it's a few
> > paragraphs, but not THAT long.
> >
> It's designed to only reply once to an email address, I think, per week. Try
> from another address. It's not an auto-responder.
> --
> Dan Kriwitsky
>
>
Yup. 604800 seconds, which are exactly 7 days. This can be changed though.
Editing the file /usr/local/sbin/vacation.pl:
if ($vacadb{$sendto} >= ($^T - 604800)) {
# They've been given a reply recently
untie %vacadb;
exit;
} else {
$vacadb{$sendto} = $^T;
untie %vacadb;
}
my $message_out = `cat $message_file`;
[ line 43 of 99 (43%), character 1356 of 2710 (50%) ]
- shimi.