[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: "Dan Kriwitsky" <webhosting@xxxxxxxxx>
- Date: Sat Jul 7 04:38:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> 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