#!/usr/local/bin/perl
# save_rfile.cgi
# Save an autoreply file

require './qmail-lib.pl';
&ReadParseMime();

$in{'text'} =~ s/\r//g;
open(FILE, ">$in{'file'}");
print FILE $in{'text'};
close(FILE);
&redirect("edit_alias.cgi?name=$in{'name'}");

