Web Hosting Talk







View Full Version : Autoresponder


allan
03-29-2001, 12:34 AM
Do you all know if it is possible to set the sensitivity of the Autoresponder on the RaQ? I have a customer who wants all queries to a mailbox to be sent an autoresponse. But the Cobalt Autoresponder only sends one reply per address. Can this be changed?

Thanks!

allan

jtan15
03-29-2001, 12:55 AM
Yes, it is possible to change it, but it will require some work. As far as I know, there is no setting that can be changed in the control panel which updates this.

But there is a program on the Cobalt called vacation.pl. Search for it, and copy it to "vacation2.pl". Then you can take out the code which says to only send it once. I will show you what this is tomorrow ... I'm pressed for time. :(

allan
03-29-2001, 01:11 AM
Vincent,

Thanks for your help. I fixed it. For the benefit of everyone, it is not that the service will only respond once per domain, it will only respond once per week per domain.

I found this line in the vacation.pl script that Vincent mentioned:


tie(%vacadb,'DB_File',"$Vaca_dir/$user_from.db",O_RDWR|O_CREAT,0666)
|| die "Cannot open vacation database: $!\n";
if ($vacadb{$sendto} >= ($^T - 604800))


And I changed 604800 (that's seconds :D) to 900, or about 15 minutes.

Thanks for your help Vincent.