[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Using vacation message for automated response



> 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%) ]
>
>

Or, better yet, use Procmail unless you only have the one site. The vacation
message accessed by users through www.domain.com/personal/ was designed so
that a mailing list like this doesn't get bombarded by auto-replies which
may happen to your users if you change the time on that. There are some
procmail recipes and instructions in the archives for setting up a true
auto-responder on the RaQ.
http://list.cobalt.com/pipermail/cobalt-users/2000-July/017038.html
--
Dan Kriwitsky