Delete autoreply file

This commit is contained in:
Jamie Cameron
2009-06-26 20:47:41 +00:00
parent 902cafd7c1
commit cd99255e28
2 changed files with 5 additions and 0 deletions

View File

@@ -22,3 +22,5 @@ Autoreply messages containing non-ASCII characters are now properly quoted-print
---- Changes since 1.400 ----
Filters that deliver to mbox-format folders now have locking enabled.
Creation of filters that match headers is now less error-prone, due to a new menu for selecting if it should match the start, end or any part of the header.
---- Changes since 1.410 ----
When an autoreply is deleted, the underlying message file is deleted too.

View File

@@ -282,6 +282,9 @@ sub delete_filter
local ($filter) = @_;
&procmail::delete_recipe($filter->{'recipe'});
&setup_forward_procmail();
if ($filter->{'actionreply'} && !-d $filter->{'actionreply'}) {
&unlink_file($filter->{'actionreply'});
}
}
# swap_filters(&filter1, &filter2)